Macros | |
#define | _USE_MATH_DEFINES |
Functions | |
double * | user_JointForces_dq (MbsData *mbs_data, double tsim, int ixJ) |
Compute the derivative of the joint forces vector according to a generalized coordinate. More... | |
double * | user_JointForces_dqd (MbsData *mbs_data, double tsim, int ixJ) |
Compute the derivative of the joint forces vector according to a generalized velocity. More... | |
double * | user_JointForces_dqdd (MbsData *mbs_data, double tsim, int ixJ) |
Compute the derivative of the joint forces vector according to a generalized acceleartion. More... | |
double * | user_JointForces_dp (MbsData *mbs_data, double tsim) |
Compute the derivative of the joint forces vector according to a specific parameter. More... | |
#define _USE_MATH_DEFINES |
double* user_JointForces_dp | ( | MbsData * | mbs_data, |
double | tsim | ||
) |
Compute the derivative of the joint forces vector according to a specific parameter.
The only field that should be modified is the MbsData::derivative->dQq_dp at the row of ixP:
.
[in,out] | mbs_data | the MbsData structure of the model. |
[in] | tsim | the current time of the simulation |
double* user_JointForces_dq | ( | MbsData * | mbs_data, |
double | tsim, | ||
int | ixJ | ||
) |
Compute the derivative of the joint forces vector according to a generalized coordinate.
The only field that should be modified is the MbsData::derivative->dQq_dq at the row of ixJ:
.
[in,out] | mbs_data | the MbsData structure of the model. |
[in] | tsim | the current time of the simulation |
[in] | ixJ | The id of the generalized coordinate. |
double* user_JointForces_dqd | ( | MbsData * | mbs_data, |
double | tsim, | ||
int | ixJ | ||
) |
Compute the derivative of the joint forces vector according to a generalized velocity.
The only field that should be modified is the MbsData::derivative->dQq_dqd at the row of ixJ:
.
[in,out] | mbs_data | the MbsData structure of the model. |
[in] | tsim | the current time of the simulation |
[in] | ixJ | The id of the generalized coordinate. |
double* user_JointForces_dqdd | ( | MbsData * | mbs_data, |
double | tsim, | ||
int | ixJ | ||
) |
Compute the derivative of the joint forces vector according to a generalized acceleartion.
The only field that should be modified is the MbsData::derivative->dQq_dqdd at the row of ixJ:
.
[in,out] | mbs_data | the MbsData structure of the model. |
[in] | tsim | the current time of the simulation |
[in] | ixJ | The id of the generalized coordinate. |