Simbody
|
One non-holonomic constraint equation. More...
#include <Constraint.h>
Public Member Functions | |
ConstantSpeed (MobilizedBody &mobilizer, MobilizerUIndex, Real speed) | |
Construct a constant speed constraint on a particular mobility of the given mobilizer. | |
ConstantSpeed (MobilizedBody &mobilizer, Real speed) | |
Construct a constant speed constraint on the mobility of the given mobilizer, assuming there is only one mobility. | |
MobilizedBodyIndex | getMobilizedBodyIndex () const |
MobilizerUIndex | getWhichU () const |
Real | getDefaultSpeed () const |
Real | getVelocityError (const State &) const |
Real | getAccelerationError (const State &) const |
Real | getMultiplier (const State &) const |
Real | getGeneralizedForce (const State &) const |
One non-holonomic constraint equation.
Some mobility u is required to be at a particular value s.
The assembly condition is the same as the run-time constraint: u must be set to s.
SimTK::Constraint::ConstantSpeed::ConstantSpeed | ( | MobilizedBody & | mobilizer, |
MobilizerUIndex | , | ||
Real | speed | ||
) |
Construct a constant speed constraint on a particular mobility of the given mobilizer.
SimTK::Constraint::ConstantSpeed::ConstantSpeed | ( | MobilizedBody & | mobilizer, |
Real | speed | ||
) |
Construct a constant speed constraint on the mobility of the given mobilizer, assuming there is only one mobility.
MobilizedBodyIndex SimTK::Constraint::ConstantSpeed::getMobilizedBodyIndex | ( | ) | const |
MobilizerUIndex SimTK::Constraint::ConstantSpeed::getWhichU | ( | ) | const |
Real SimTK::Constraint::ConstantSpeed::getDefaultSpeed | ( | ) | const |
Real SimTK::Constraint::ConstantSpeed::getVelocityError | ( | const State & | ) | const |
Real SimTK::Constraint::ConstantSpeed::getAccelerationError | ( | const State & | ) | const |
Real SimTK::Constraint::ConstantSpeed::getMultiplier | ( | const State & | ) | const |
Real SimTK::Constraint::ConstantSpeed::getGeneralizedForce | ( | const State & | ) | const |