A simbody universal joint class.
Definition SimbodyUniversalJoint.hh:37
virtual void SetVelocity(unsigned int _index, double _rate)
Set the velocity of an axis(index).
virtual void SetAxis(const unsigned int _index, const ignition::math::Vector3d &_axis)
Set the axis of rotation where axis is specified in local joint frame.
virtual double PositionImpl(const unsigned int _index) const
Helper function to get the position of an axis.
virtual ignition::math::Vector3d Anchor(const unsigned int _index) const
Get the anchor point.
virtual void SetForceImpl(unsigned int _index, double _torque)
Set the force applied to this physics::Joint.
SimbodyUniversalJoint(SimTK::MultibodySystem *_world, BasePtr _parent)
Constructor.
virtual ~SimbodyUniversalJoint()
Destuctor.
virtual void Load(sdf::ElementPtr _sdf)
Load a UniversalJoint.
virtual double GetVelocity(unsigned int _index) const
Get the rotation rate of an axis(index)
virtual ignition::math::Vector3d GlobalAxis(const unsigned int _index) const
Get the axis of rotation in global cooridnate frame.