A slider joint. More...
#include <physics/physics.hh>
Public Member Functions | |
SliderJoint (BasePtr _parent) | |
Constructor. More... | |
virtual | ~SliderJoint () |
Destructor. More... | |
virtual math::Vector3 | GetAnchor (int _index) const |
Get the anchor. More... | |
virtual unsigned int | GetAngleCount () const |
More... | |
virtual void | Load (sdf::ElementPtr _sdf) |
Load a SliderJoint. More... | |
virtual void | SetAnchor (int _index, const math::Vector3 &_anchor) |
Set the anchor. More... | |
Protected Attributes | |
math::Vector3 | fakeAnchor |
The anchor value is not used internally. More... | |
A slider joint.
|
inlineexplicit |
Constructor.
[in] | _parent | Parent of the joint. |
|
inlinevirtual |
Destructor.
|
virtual |
Get the anchor.
[in] | _index | Index of the axis. Not used. |
Reimplemented in gazebo::physics::DARTSliderJoint.
|
inlinevirtual |
|
inlinevirtual |
Load a SliderJoint.
[in] | _sdf | SDF values to load from |
Reimplemented in gazebo::physics::SimbodySliderJoint, and gazebo::physics::DARTSliderJoint.
|
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.