Robotran C Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Attributes | List of all members
MbsSaveOptions Struct Reference

#include <mbs_load_struct.h>

Public Attributes

int save_joints
 

Specify if the current joint coordinates (q, qd, qdd) must be saved as the initial joint value in the updated file.

More...
 
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).

More...
 

Member Data Documentation

◆ save_joints

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.

◆ update_joint0

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.


The documentation for this struct was generated from the following file: