ConstantSpeed Class Reference

One non-holonomic constraint equation. More...

#include <Constraint.h>

Inheritance diagram for ConstantSpeed:
Constraint PIMPLHandle< Constraint, ConstraintImpl, true >

List of all members.

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

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

Real getAccelerationError ( const State  )  const
Real getDefaultSpeed (  )  const
Real getGeneralizedForce ( const State  )  const
MobilizedBodyIndex getMobilizedBodyIndex (  )  const
Real getMultiplier ( const State  )  const
Real getVelocityError ( const State  )  const
MobilizerUIndex getWhichU (  )  const

The documentation for this class was generated from the following file:

Generated on Thu Aug 12 16:37:58 2010 for SimTKcore by  doxygen 1.6.1