Class containing a 3dof mass simObjec without gravity.
More...
#include <CMass.h>
|
| CMass (std::string sSimObjectName, ISimObjectCreator *pCreator) |
| The constructor sets the pointer to the output object and the parser object.
|
|
virtual void | OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep) |
| Calculates the state derivatives. More...
|
|
| CMass (std::string sSimObjectName, ISimObjectCreator *pCreator) |
| The constructor sets the pointer to the output object and the parser object.
|
|
virtual void | OdeFcn (const double dT, const double *const adX, double *const adXDot, const bool bIsMajorTimeStep) |
| Calculates the state derivatives. More...
|
|
|
virtual const double * | Position (const double dT, const double *const adX) |
|
virtual const double * | Velocity (const double dT, const double *const adX) |
|
virtual const double * | Position (const double dT, const double *const adX) |
|
virtual const double * | Velocity (const double dT, const double *const adX) |
|
|
double | m_dMass |
| The mass of the object.
|
|
double | m_dg |
| The acceleration of gravity.
|
|
ISignalPort * | m_pInForce |
| A pointer to the input force.
|
|
int | m_IStatePos |
| The index of the position state.
|
|
int | m_IStateVel |
| The index of the velocity state.
|
|
- Author
- Karl-Johan Reite
- Examples
- CMass.h.
◆ OdeFcn() [1/2]
virtual void CMass::OdeFcn |
( |
const double |
dT, |
|
|
const double *const |
adX, |
|
|
double *const |
adXDot, |
|
|
const bool |
bIsMajorTimeStep |
|
) |
| |
|
virtual |
◆ OdeFcn() [2/2]
virtual void CMass::OdeFcn |
( |
const double |
dT, |
|
|
const double *const |
adX, |
|
|
double *const |
adXDot, |
|
|
const bool |
bIsMajorTimeStep |
|
) |
| |
|
virtual |
The documentation for this class was generated from the following files:
- reloadrepos/fhsim/doc/user/examples/CMass.h
- reloadrepos/fhsim_base/src/body/CMass.h