Go to the source code of this file.
Functions | |
MbsInvdyn * | mbs_new_invdyn (MbsData *mbs_data) |
Create a new inverse dynamic structure. More... | |
MbsInvdyn * | mbs_new_invdyn_aux (MbsData *mbs_data, MbsAux *mbs_aux) |
Fills a new inverse dynamic auxilliary structure. More... | |
int | mbs_run_invdyn (MbsInvdyn *invdyn, MbsData *mbs_data) |
Run the inverse kinematic analysis. More... | |
int | mbs_invdyn_init (MbsInvdyn *invdyn, MbsData *mbs_data) |
Run the startup operations of the run_invdyn function. More... | |
int | mbs_invdyn_loop (MbsInvdyn *invdyn, MbsData *mbs_data) |
Time loop of the run_invdyn function: More... | |
int | mbs_invdyn_finish (MbsInvdyn *invdyn, MbsData *mbs_data) |
Run the finalization operations of the run_invdyn function. More... | |
void | mbs_delete_invdyn (MbsInvdyn *invdyn, MbsData *mbs_data) |
Free memory of the inverse dynamic structure The options (MbsInvOptions) and MbsAux structures are also freed. More... | |
int | mbs_invdyn_write_buffers (MbsInvdyn *invdyn) |
Write the content of buffer associated to the given MbsInvdyn to disk. More... | |
int | mbs_fct_invdyn (MbsData *s, MbsInvdyn *invdyn) |
inverse dynamic computation of q, qd and qdd More... | |
This header defines functions of the invdyn module in C.
Creation date: 20/08/2019
(c) Universite catholique de Louvain
Free memory of the inverse dynamic structure The options (MbsInvOptions) and MbsAux structures are also freed.
inverse dynamic computation of q, qd and qdd
[in,out] | s | Robotran main structure |
[in,out] | invdyn | inverse dynamic main module structure |
Time loop of the run_invdyn function:
[in,out] | invdyn | the MbsInvdyn to be run |
[in,out] | mbs_data | the MbsData structure of the model for which the inverse dynamic is computed |
int mbs_invdyn_write_buffers | ( | MbsInvdyn * | invdyn | ) |
Write the content of buffer associated to the given MbsInvdyn to disk.
This is usefull for writing simulation results at the end of the simulation. This sepcific function is written to be able to ask for writing buffer from python.
invdyn | the MbsInvdyn struct for which the buffers must be written. |
Create a new inverse dynamic structure.
This function also initialize the options structures and the MbsAux for storing computational info during computation.
[in] | mbs_data | the data structure of the model for which the inverse dynamic will be computed. |
Fills a new inverse dynamic auxilliary structure.
A pointer to the given MbsAux structure is kept by the returned structure.
[in] | mbs_data | the data structure of the model for which the inverse dynamic will be computed. |
[in] | mbs_aux | the auxiliary structure to be filled. |