A universal joint. More...
#include <physics/physics.hh>
Inherits T.
Public Types | |
enum | AxisIndex { AXIS_PARENT = 0, AXIS_CHILD = 1 } |
Map joint axes to corresponding link. More... | |
Public Member Functions | |
UniversalJoint (BasePtr _parent) | |
Constructor. More... | |
virtual | ~UniversalJoint () |
Destuctor. More... | |
virtual unsigned int | GetAngleCount () const |
virtual void | Load (sdf::ElementPtr _sdf) |
Load a UniversalJoint. More... | |
Protected Member Functions | |
virtual void | Init () |
Initialize joint. More... | |
A universal joint.
Axis1 and axis2 are body-fixed, with axis1 attached to parent body and axis2 attached to child body.
enum AxisIndex |
|
inlineexplicit |
Constructor.
[in] | _parent | Parent link of the univeral joint. |
|
inlinevirtual |
Destuctor.
|
inlinevirtual |
|
inlineprotectedvirtual |
Initialize joint.
Reimplemented in BulletUniversalJoint, and DARTUniversalJoint.
|
inlinevirtual |
Load a UniversalJoint.
[in] | _sdf | SDF values to load from. |
Reimplemented in BulletUniversalJoint, SimbodyUniversalJoint, and DARTUniversalJoint.