Simbody
|
A linear damper on a mobility coordinate. More...
#include <Force.h>
Public Member Functions | |
MobilityLinearDamper (GeneralForceSubsystem &forces, const MobilizedBody &body, int coordinate, Real damping) | |
Create a MobilityLinearDamper. | |
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (MobilityLinearDamper, MobilityLinearDamperImpl, Force) |
A linear damper on a mobility coordinate.
The damping constant c is provided, with the generated force being -c*u where u is the mobility's generalize speed. This is meaningful on any mobility, since all our generalized speeds have physical meaning. This is not a potential force and hence does not contribute to potential energy.
SimTK::Force::MobilityLinearDamper::MobilityLinearDamper | ( | GeneralForceSubsystem & | forces, |
const MobilizedBody & | body, | ||
int | coordinate, | ||
Real | damping | ||
) |
Create a MobilityLinearDamper.
forces | the subsystem to which this force should be added |
body | the body to which the force should be applied |
coordinate | the index of the coordinate in the body's u vector to which the force should be applied |
damping | the damping constant |
SimTK::Force::MobilityLinearDamper::SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS | ( | MobilityLinearDamper | , |
MobilityLinearDamperImpl | , | ||
Force | |||
) |