Tao.Ode SDK Documentation

Ode.dJointParams Enumeration

Definition of Joint limit and motor parameter names If a particular parameter is not implemented by a given joint, setting it will have no effect. These parameter names can be optionally followed by a digit (2 or 3) to indicate the second or third set of parameters, e.g. for the second axis in a hinge-2 joint, or the third axis in an AMotor joint. A constant dParamGroup is also defined such that: dParamXi = dParamX + dParamGroup * (i-1)

[Visual Basic]
Public Enum Ode.dJointParams
[C#]
public enum Ode.dJointParams

Remarks

Implemented via a macro in Ode's common.h Translated into actual constants here following inspection of common.h A change in the Ode macro could require these values to be updated

Members

Member Name Description
dParamHiStop2
dParamSuspensionERP2
dParamFMax2
dParamFMax3
dParamFudgeFactor2
dParamFudgeFactor3
dParamFMax The maximum force or torque that the motor will use to achieve the desired velocity. This must always be greater than or equal to zero. Setting this to zero (the default value) turns off the motor.
dParamStopCFM2
dParamCFM2
dParamCFM3
dParamFudgeFactor The current joint stop/motor implementation has a small problem: when the joint is at one stop and the motor is set to move it away from the stop, too much force may be applied for one time step, causing a ``jumping'' motion. This fudge factor is used to scale this excess force. It should have a value between zero and one (the default value). If the jumping motion is too visible in a joint, the value can be reduced. Making this value too small can prevent the motor from being able to move the joint away from a stop.
dParamVel2
dParamVel3
dParamLoStop2
dParamLoStop3
dParamStopERP3
dParamSuspensionCFM Suspension constraint force mixing (CFM) value. Currently this is only implemented on the hinge-2 joint.
dParamStopCFM3
dParamStopERP2
dParamHiStop High stop angle or position. Setting this to dInfinity (the default value) turns off the high stop. For rotational joints, this stop must be less than pi to be effective. If the high stop is less than the low stop then both stops will be ineffective.
dParamSuspensionERP Suspension error reduction parameter (ERP). Currently this is only implemented on the hinge-2 joint.
dParamLoStop Low stop angle or position. Setting this to -dInfinity (the default value) turns off the low stop. For rotational joints, this stop must be greater than - pi to be effective.
dParamBounce2
dParamBounce3
dParamVel Desired motor velocity (this will be an angular or linear velocity).
dParamStopCFM The constraint force mixing (CFM) value used by the stops. Together with the ERP value this can be used to get spongy or soft stops. Note that this is intended for unpowered joints, it does not really work as expected when a powered joint reaches its limit.
dParamStopERP The error reduction parameter (ERP) used by the stops.
dParamSuspensionCFM2
dParamSuspensionCFM3
dParamSuspensionERP3
dParamBounce The bouncyness of the stops. This is a restitution parameter in the range 0..1. 0 means the stops are not bouncy at all, 1 means maximum bouncyness.
dParamCFM The constraint force mixing (CFM) value used when not at a stop.
dParamHiStop3

Requirements

Namespace: Tao.Ode

Assembly: Tao.Ode (in Tao.Ode.dll)

See Also

Tao.Ode Namespace