#include "math.h"
#include "mbs_data.h"
#include "user_model.h"
#include "set_output.h"
#include "useful_functions.h"
Functions | |
double * | user_JointForces (MbsData *mbs_data, double tsim) |
Compute the user-specified joint force in all joint. More... | |
double* user_JointForces | ( | MbsData * | s, |
double | tsim | ||
) |
Compute the user-specified joint force in all joint.
[in,out] | s | the MbsData structure of the model on which the joint forces are computed. |
[in] | tsim | the current time of the simulation |
The only field that should be incremented is the MbsData::Qq at the indexes of MbsData::qc