17 #ifndef _SCREWJOINT_HH_
18 #define _SCREWJOINT_HH_
51 public:
virtual void Load(sdf::ElementPtr _sdf)
56 _sdf->GetElement(
"thread_pitch")->Get<
double>();
68 public:
virtual void SetThreadPitch(
double _threadPitch) = 0;
75 public:
virtual double GetThreadPitch() = 0;
81 protected:
virtual void Init()
boost::shared_ptr< Base > BasePtr
Definition: PhysicsTypes.hh:66
double threadPitch
Pitch of the thread.
Definition: ScrewJoint.hh:78
virtual ~ScrewJoint()
Destructor.
Definition: ScrewJoint.hh:42
ScrewJoint type.
Definition: Base.hh:107
A screw joint, which has both prismatic and rotational DOFs.
Definition: ScrewJoint.hh:34
virtual void Init()
Initialize joint.
Definition: ScrewJoint.hh:81
virtual void Load(sdf::ElementPtr _sdf)
Load a ScrewJoint.
Definition: ScrewJoint.hh:51
virtual unsigned int GetAngleCount() const
Definition: ScrewJoint.hh:46
GAZEBO_VISIBLE void Init(google::protobuf::Message &_message, const std::string &_id="")
Initialize a message.
ScrewJoint(BasePtr _parent)
Constructor.
Definition: ScrewJoint.hh:38
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48