22 #ifndef _SCREWJOINT_HH_
23 #define _SCREWJOINT_HH_
56 public:
virtual void Load(sdf::ElementPtr _sdf)
61 _sdf->GetElement(
"thread_pitch")->Get<
double>();
72 public:
virtual void SetThreadPitch(
unsigned int _index,
84 public:
virtual void SetThreadPitch(
double _threadPitch) = 0;
92 public:
virtual double GetThreadPitch(
unsigned int _index)
100 public:
virtual double GetThreadPitch() = 0;
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:65
double threadPitch
Pitch of the thread.
Definition: ScrewJoint.hh:103
virtual ~ScrewJoint()
Destructor.
Definition: ScrewJoint.hh:47
ScrewJoint type.
Definition: Base.hh:106
#define GAZEBO_DEPRECATED(version)
Definition: CommonTypes.hh:44
A screw joint, which has both prismatic and rotational DOFs.
Definition: ScrewJoint.hh:39
virtual void Init()
Initialize joint.
Definition: ScrewJoint.hh:106
virtual void Load(sdf::ElementPtr _sdf)
Load a ScrewJoint.
Definition: ScrewJoint.hh:56
virtual unsigned int GetAngleCount() const
Definition: ScrewJoint.hh:51
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
ScrewJoint(BasePtr _parent)
Constructor.
Definition: ScrewJoint.hh:43
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48