#include <mbs_load_struct.h>
Public Attributes | |
int | save_joints |
More... | |
int | update_joint0 |
More... | |
int save_joints |
Specify if the current joint coordinates (q, qd, qdd) must be saved as the initial joint value in the updated file.
The default (1) is to save the joint current values as the initial.
int update_joint0 |
In the input MbsData struct, this flag allow to replace the joint initial values (MbsData::q0, MbsData::qd0, MbsData::qdd0) by the joint current values (MbsData::q, MbsData::qd, MbsData::qdd).
This flag has no effect if MbsSaveOptions::save_joints is set to 0. If MbsSaveOptions::save_joints is 1 and MbsSaveOptions::update_joint0 is 0, the updated files contains updated initial values, but the current instance conserve the initial values. The default (0) is to not change the value.