#include <osaODEJoint.h>
| osaODEJoint::osaODEJoint |
( |
dWorldID |
world, |
|
|
dBodyID |
body1, |
|
|
dBodyID |
body2, |
|
|
int |
type, |
|
|
const vctFixedSizeVector< double, 3 > & |
anchor, |
|
|
const vctFixedSizeVector< double, 3 > & |
axis, |
|
|
double |
qmin, |
|
|
double |
qmax |
|
) |
| |
Default constructor.
- Parameters
-
| world | The world the joint lives in |
| body1 | The 1st ODE body attached to the joint |
| body2 | The 2nd ODE body attached to the joint |
| type | The ODE joint type |
| anchor | The position of the joint |
| axis | The axis of motion of the joint |
| qmin | The minimum joint position |
| qmin | The maximum joint position |
| void osaODEJoint::ApplyForceTorque |
( |
| ) |
|
Apply the force/torque.
Apply the set force/torque to the joint. This method is called by the ODE world to apply a force/torque previously set.
| dJointID osaODEJoint::FrictionID |
( |
| ) |
const |
Return the ODE ID of the joint friction.
| dBodyID osaODEJoint::GetDistalBody |
( |
| ) |
const |
| double osaODEJoint::GetForceTorque |
( |
| ) |
const |
| double osaODEJoint::GetPosition |
( |
| ) |
const |
Return the position.
Returns the joint position given by ODE
- Returns
- The joint position (no unit)
| dBodyID osaODEJoint::GetProximalBody |
( |
| ) |
const |
| int osaODEJoint::GetType |
( |
void |
| ) |
const |
|
inline |
Return the ODE joint type.
| double osaODEJoint::GetVelocity |
( |
| ) |
const |
Return the velocity.
Returns the joint velocity given by ODE
- Returns
- The joint velocity (no unit)
| dJointID osaODEJoint::JointID |
( |
| ) |
const |
Return the ODE ID of the joint.
| void osaODEJoint::SetForceTorque |
( |
double |
ft | ) |
|
Set the force/torque.
Set the force/torque. The new value is NOT cliped at the limit.
- Parameters
-
| ft | The new force/torque (no unit) |
The documentation for this class was generated from the following file:
- /home/adeguet1/catkin_ws/src/cisst-saw/sawOpenDynamicsEngine/include/sawOpenDynamicsEngine/osaODEJoint.h