Robotran C Documentation
Functions
user_dirdyn.c File Reference
#include "math.h"
#include "mbs_data.h"
#include "mbs_dirdyn_struct.h"

Functions

void user_dirdyn_init (MbsData *mbs_data, MbsDirdyn *mbs_dd)
 user own initialization functions More...
 
void user_dirdyn_loop (MbsData *mbs_data, MbsDirdyn *mbs_dd)
 user own loop functions More...
 
void user_dirdyn_finish (MbsData *mbs_data, MbsDirdyn *mbs_dd)
 user own finishing functions More...
 

Function Documentation

◆ user_dirdyn_finish()

void user_dirdyn_finish ( MbsData mbs_data,
MbsDirdyn mbs_dd 
)

user own finishing functions

Parameters
[in,out]mbs_datadata structure of the model
[in,out]mbs_ddgeneral structure of the direct dynamic module (for advanced users)

For beginners, it is advised to only use the MbsData structure. The field MbsDirdyn is provided for more advanced users.

◆ user_dirdyn_init()

void user_dirdyn_init ( MbsData mbs_data,
MbsDirdyn mbs_dd 
)

user own initialization functions

Parameters
[in,out]mbs_datadata structure of the model
[in,out]mbs_ddgeneral structure of the direct dynamic module (for advanced users)

For beginners, it is advised to only use the MbsData structure. The field MbsDirdyn is provided for more advanced users.

◆ user_dirdyn_loop()

void user_dirdyn_loop ( MbsData mbs_data,
MbsDirdyn mbs_dd 
)

user own loop functions

This function is called a every time step. Warning: if the used integrator is multi-steps, user_dirdyn_loop is only called once: i.e. at the real time step (and not internal time steps)

Parameters
[in,out]mbs_datadata structure of the model
[in,out]mbs_ddgeneral structure of the direct dynamic module (for advanced users)

For beginners, it is advised to only use the MbsData structure. The field MbsDirdyn is provided for more advanced users.