#include <Constraint.h>
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.
Public Member Functions | |
ConstantSpeed (MobilizedBody &mobilizer, MobilizerUIndex, Real speed) | |
ConstantSpeed (MobilizedBody &mobilizer, Real speed) | |
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 |
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (ConstantSpeed, ConstantSpeedImpl, Constraint) |
ConstantSpeed | ( | MobilizedBody & | mobilizer, | |
MobilizerUIndex | , | |||
Real | speed | |||
) |
ConstantSpeed | ( | MobilizedBody & | mobilizer, | |
Real | speed | |||
) |
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 |
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS | ( | ConstantSpeed | , | |
ConstantSpeedImpl | , | |||
Constraint | ||||
) |