Functions | |
void | user_DrivenJoints (MbsData *mbs_data, double tsim) |
Compute the positions, velocities and acceleration of driven joint. More... | |
void user_DrivenJoints | ( | MbsData * | s, |
double | tsim | ||
) |
Compute the positions, velocities and acceleration of driven joint.
The arguments are the same for the module redirection function user_call_DrivenJoints() and the user filled function user_DrivenJoints(). However the return differs.
[in,out] | s | the MbsData structure of the model on which the driven joint are computed. The only fields that should be updated are MbsData::q, MbsData::qd and MbsData::qdd at the indexes MbsData::qc. |
[in] | tsim | the current time of the simulation |