18 #ifndef _GAZEBO_DARTSCREWJOINT_HH_
19 #define _GAZEBO_DARTSCREWJOINT_HH_
45 public:
virtual void Load(sdf::ElementPtr _sdf);
48 public:
virtual void Init();
51 public:
virtual double GetVelocity(
unsigned int _index)
const override;
54 public:
virtual ignition::math::Vector3d GlobalAxis(
55 const unsigned int _index)
const;
58 public:
virtual void SetAxis(
const unsigned int _index,
59 const ignition::math::Vector3d &_axis);
62 public:
virtual void SetThreadPitch(
unsigned int _index,
66 public:
virtual void SetThreadPitch(
double _threadPitch);
69 public:
virtual double GetThreadPitch(
unsigned int _index);
72 public:
virtual double GetThreadPitch();
75 public:
virtual double GetParam(
const std::string &_key,
79 public:
virtual bool SetParam(
const std::string &_key,
81 const boost::any &_value);
83 public:
virtual double PositionImpl(
84 const unsigned int _index = 0)
const override;
A screw joint.
Definition: DARTScrewJoint.hh:35
A screw joint, which has both prismatic and rotational DOFs.
Definition: ScrewJoint.hh:35
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:77