ConstantAngle Class Reference
One constraint equation.
More...
#include <Constraint.h>
List of all members.
Detailed Description
One constraint equation.
This constraint enforces that a vector fixed to one body (the "base body") must maintain a fixed angle with respect to a vector fixed on the other body (the "follower body"). That is, we have a single constraint equation that prohibits rotation about the mutual perpendicular to the two vectors.
This constraint is enforced by an internal scalar torque applied equal and opposite on each body, about the mutual perpendicular to the two vectors.
The assembly condition is the same as the run-time constraint: the bodies must be rotated until the vectors have the right angle between them.
Constructor & Destructor Documentation
Member Function Documentation
Real getAccelerationError |
( |
const State & |
|
) |
const |
Real getAngle |
( |
const State & |
|
) |
const |
Real getAxisDisplayLength |
( |
|
) |
const |
Real getAxisDisplayWidth |
( |
|
) |
const |
MobilizedBodyIndex getBaseMobilizedBodyIndex |
( |
|
) |
const |
Real getDefaultAngle |
( |
|
) |
const |
const UnitVec3& getDefaultBaseAxis |
( |
|
) |
const |
const UnitVec3& getDefaultFollowerAxis |
( |
|
) |
const |
MobilizedBodyIndex getFollowerMobilizedBodyIndex |
( |
|
) |
const |
Real getMultiplier |
( |
const State & |
|
) |
const |
Real getPositionError |
( |
const State & |
|
) |
const |
Real getTorqueOnFollowerBody |
( |
const State & |
|
) |
const |
Real getVelocityError |
( |
const State & |
|
) |
const |
The documentation for this class was generated from the following file: