Robotran C Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mbs_load_struct.h
Go to the documentation of this file.
1 
12 #ifndef mbs_load_struct_h
13 #define mbs_load_struct_h
14 
15 #include "json.h"
16 
17 typedef struct MbsInfos MbsInfos;
18 // Forward declaration, avoid to expose all data to all users.
19 
20 typedef struct MbsLoadOptions
21 {
24 
27 
34 
35  char *config_file;
38 
39  int verbose;
48 
49  char *prj_path;
53 
54 typedef struct MbsSaveOptions
55 {
70 
71 
82 
83 
92 
93 typedef struct MbsLoader
94 {
110 
120 
123 } MbsLoader;
124 #endif
MbsLoader::opts
MbsLoadOptions * opts
Contains the options that must be used when loading the project.
Definition: mbs_load_struct.h:95
MbsLoader::loaded_structure
void * loaded_structure
Pointer to the loaded mbs file specific structure (related to file format).
Definition: mbs_load_struct.h:122
MbsLoader::opts_saver
MbsSaveOptions * opts_saver
Contains the options that must be used when loading the project.
Definition: mbs_load_struct.h:97
IGNORE_LOADED
@ IGNORE_LOADED
Definition: mbs_load_struct.h:91
LOAD_NONE
@ LOAD_NONE
Definition: mbs_load_struct.h:81
KEEP_LOADED
@ KEEP_LOADED
Definition: mbs_load_struct.h:91
MbsLoadOptions::prj_path
char * prj_path
Folder containing the project root folder (by default it contains the folders "animationR",...
Definition: mbs_load_struct.h:49
MbsLoadOptions::userfctLib_name
char * userfctLib_name
Definition: mbs_load_struct.h:25
MbsSaveOptions::update_joint0
int update_joint0
In the input MbsData struct, this flag allow to replace the joint initial values (MbsData::q0,...
Definition: mbs_load_struct.h:68
XML_LOADED
@ XML_LOADED
Definition: mbs_load_struct.h:91
MbsInfos
Definition: mbs_infos_struct.h:425
MbsLoadOptions::config_file
char * config_file
Configuration file at json format.
Definition: mbs_load_struct.h:35
MbsLoader::mbs_config
JsonNode * mbs_config
Pointer to the configuration file contents.
Definition: mbs_load_struct.h:107
LOAD_ALL
@ LOAD_ALL
Definition: mbs_load_struct.h:81
JsonNode
Definition: json.h:41
MbsLoader
Definition: mbs_load_struct.h:93
LOAD_SYMBOLIC
@ LOAD_SYMBOLIC
Definition: mbs_load_struct.h:81
MbsLoadOptions::userfctLib_path
char * userfctLib_path
Definition: mbs_load_struct.h:26
JSON_LOADED
@ JSON_LOADED
Definition: mbs_load_struct.h:91
MbsLoadOptions::load_symb_user
int load_symb_user
Specify the project libraries to be loaded, an enumeration gives possible values:
Definition: mbs_load_struct.h:33
MbsLoader::mbs_infos
MbsInfos * mbs_infos
Contains the multibody structure with more informations than used by computation.
Definition: mbs_load_struct.h:99
MbsLoadOptions::symbolicLib_name
char * symbolicLib_name
Definition: mbs_load_struct.h:22
MbsSaveOptions
Definition: mbs_load_struct.h:54
MbsLoadOptions::symbolicLib_path
char * symbolicLib_path
Definition: mbs_load_struct.h:23
MbsLoadOptions::verbose
int verbose
Verbosity level (not yet implemented everywhere): Verbosity level propagated to other compatible modu...
Definition: mbs_load_struct.h:39
json.h
MbsSaveOptions::save_joints
int save_joints
Specify if the current joint coordinates (q, qd, qdd) must be saved as the initial joint value in the...
Definition: mbs_load_struct.h:59
MbsLoader::loaded_nature
int loaded_nature
Flag to specifying either if the deep mbs file specific structure must be kept in memory (before load...
Definition: mbs_load_struct.h:119
MbsLoader::custom_mbs_info
int custom_mbs_info
Internal flag to specify if a custom MbsInfo was set in the structure ( and thus must not be freed) o...
Definition: mbs_load_struct.h:103
MbsLoadOptions
Definition: mbs_load_struct.h:20