#include <Force.h>
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.
Public Member Functions | |
MobilityLinearDamper (GeneralForceSubsystem &forces, const MobilizedBody &body, int coordinate, Real damping) | |
Create a MobilityLinearDamper. | |
SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (MobilityLinearDamper, MobilityLinearDamperImpl, Force) |
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_INSERT_DERIVED_HANDLE_DECLARATIONS | ( | MobilityLinearDamper | , | |
MobilityLinearDamperImpl | , | |||
Force | ||||
) |