A screw joint, which has both prismatic and rotational DOFs. More...
#include <physics/physics.hh>

| Public Member Functions | |
| ScrewJoint (BasePtr _parent) | |
| Constructor.  More... | |
| virtual | ~ScrewJoint () | 
| Destructor.  More... | |
| virtual math::Vector3 | GetAnchor (int _index) const | 
| Get the anchor.  More... | |
| virtual unsigned int | GetAngleCount () const | 
| More... | |
| virtual double | GetThreadPitch (unsigned int _index)=0 | 
| Get screw joint thread pitch.  More... | |
| virtual void | Load (sdf::ElementPtr _sdf) | 
| Load a ScrewJoint.  More... | |
| virtual void | SetAnchor (int _index, const math::Vector3 &_anchor) | 
| Set the anchor.  More... | |
| virtual void | SetThreadPitch (int _index, double _threadPitch)=0 | 
| Set screw joint thread pitch.  More... | |
| Protected Attributes | |
| math::Vector3 | fakeAnchor | 
| The anchor value is not used internally.  More... | |
| double | threadPitch | 
| Pitch of the thread.  More... | |
A screw joint, which has both prismatic and rotational DOFs.
| 
 | inlineexplicit | 
Constructor.
| [in] | _parent | Parent of the joint. | 
| 
 | inlinevirtual | 
Destructor.
| 
 | virtual | 
Get the anchor.
| [in] | _index | Index of the axis. Not Used. | 
| 
 | inlinevirtual | 
| 
 | pure virtual | 
Get screw joint thread pitch.
This must be implemented in a child class
| [in] | _index | Index of the axis. | 
Implemented in gazebo::physics::SimbodyScrewJoint, and gazebo::physics::DARTScrewJoint.
| 
 | inlinevirtual | 
Load a ScrewJoint.
| [in] | _sdf | SDF value to load from | 
Reimplemented in gazebo::physics::SimbodyScrewJoint, and gazebo::physics::DARTScrewJoint.
| 
 | virtual | 
Set the anchor.
| [in] | _index | Index of the axis. Not Used. | 
| [in] | _anchor | Anchor value for the joint. | 
| 
 | pure virtual | 
Set screw joint thread pitch.
This must be implemented in a child class
| [in] | _index | Index of the axis. | 
| [in] | _threadPitch | Thread pitch value. | 
Implemented in gazebo::physics::SimbodyScrewJoint, and gazebo::physics::DARTScrewJoint.
| 
 | protected | 
The anchor value is not used internally.
| 
 | protected | 
Pitch of the thread.
Referenced by gazebo::physics::ScrewJoint< SimbodyJoint >::Load().