Public Member Functions | Protected Member Functions
ODEHinge2Joint Class Reference

A two axis hinge joint. More...

#include <ODEHinge2Joint.hh>

Inheritance diagram for ODEHinge2Joint:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ODEHinge2Joint (dWorldID worldId)
 Constructor.
virtual ~ODEHinge2Joint ()
 Destructor.
virtual void SetAnchor (int index, const math::Vector3 &anchor)
 Set the anchor point.
virtual void SetAxis (int index, const math::Vector3 &axis)
 Set the first axis of rotation.
virtual void SetDamping (int index, const double damping)
 Set joint damping, not yet implemented.
virtual math::Vector3 GetAnchor (int index) const
 Get anchor point.
virtual math::Vector3 GetGlobalAxis (int index) const
 Get first axis of rotation.
virtual math::Angle GetAngleImpl (int index) const
 Get angle of rotation about first axis.
virtual double GetVelocity (int index) const
 Get rate of rotation about first axis.
virtual void SetVelocity (int index, double angle)
 Set the velocity of an axis(index).
virtual void SetMaxForce (int index, double t)
 Set the max allowed force of an axis(index).
virtual double GetMaxForce (int index)
 Get the max allowed force of an axis(index).
virtual void SetForce (int index, double torque)
 Set the torque.
virtual double GetParam (int parameter) const
 Get the specified parameter.
virtual void SetParam (int parameter, double value)
 Set _parameter with _value.

Protected Member Functions

virtual void Load (sdf::ElementPtr &_sdf)
 Load the joint.

Detailed Description

A two axis hinge joint.


The documentation for this class was generated from the following file: