#include <physics/physics.hh>

Public Member Functions | |
| SliderJoint (BasePtr _parent) | |
| Constructor. | |
| virtual | ~SliderJoint () |
| Destructor. | |
| virtual math::Vector3 | GetAnchor (int _index) const |
| Get the anchor. | |
| virtual unsigned int | GetAngleCount () const |
| | |
| virtual void | Load (sdf::ElementPtr _sdf) |
| Load a SliderJoint. | |
| virtual void | SetAnchor (int _index, const math::Vector3 &_anchor) |
| Set the anchor. | |
Protected Attributes | |
| math::Vector3 | fakeAnchor |
| The anchor value is not used internally. | |
A slider joint.
|
inlineexplicit |
Constructor.
| [in] | _parent | Parent of the joint. |
References gazebo::physics::Base::SLIDER_JOINT.
|
inlinevirtual |
Destructor.
|
virtual |
Get the anchor.
| [in] | _index | Index of the axis. Not used. |
|
inlinevirtual |
|
inlinevirtual |
Load a SliderJoint.
| [in] | _sdf | SDF values to load from |
|
virtual |
Set the anchor.
| [in] | _index | Index of the axis. Not used. |
| [in] | _anchor | Anchor for the axis. |
|
protected |
The anchor value is not used internally.