Robotran C Documentation
mbs_binder_public.h
Go to the documentation of this file.
1 /*
2  This header defines MbsInfos, as well as all the structures used by MbsInfos
3  @Date Nov 2022 (modification)
4  @Author Robotran Team
5 */
6 
7 #ifndef MBS_INFO_BINDER_PUBLIC_h
8 #define MBS_INFO_BINDER_PUBLIC_h
9 
10 /* A.L.
11  Either create new utilities file
12  Or, implement his functions in this .c file
13 */
14 #define MBS_INFO_READER 0
15 #define MBS_INFO_UPDATER 1
16 
17 #define MBS_INFO_COUNTER 11
18 #define MBS_INFO_INIT 12
19 
20 #define MBS_INFO_SUCCESS 0
21 #define MBS_INFO_WARNING 1
22 #define MBS_INFO_FAILURE -9
23 
24 typedef struct MbsInfoBody MbsInfoBody; // Forward declaration
25 
26 typedef struct MbsInfoDData
27 {
28  int d_type;
29  double d_0;
30  double d_min;
31  double d_max;
32  double d_opti;
33 
34  // the following variables are "comptute" in "MDS_opti_structurer"
35  int is_related;
37 
38  double *d_ptr;
39 
40  double *MBSdata_d_ptr;
41 
42 } MbsInfoDData;
43 
47 typedef struct MbsInfoRefPoint
48 {
49  char *bodyname;
50  char *pointname;
51 
53 
57 typedef struct MbsInfoSensor
58 {
59  char *name;
61  char* joint_parent;
62 
63  int Pos;
64  int Rot;
65  int Vit;
66  int Om;
67  int Acc;
68  int Omp;
69  int Jac;
70 
72 
76 typedef struct MbsInfoExtforce
77 {
78  char *name;
80  char* joint_parent;
81 
82  int Pos;
83  int Rot;
84  int Vit;
85  int Om;
86  int Acc;
87  int Omp;
88 
90 
94 typedef struct MbsInfoPoint
95 {
96  char *name;
97  char *body_name;
98  double *pt;
99 
102 
103  MbsInfoDData **d_pt; // x y z
104  int is_symmmetric; // asymmetric = 0, symmetric master = 1, symmetric salve = 2
105  char *symmetric_point_name; // the name of the symmetric point (filed if master, NULL if slave or non symetric)
106 
107 } MbsInfoPoint;
108 
112 typedef struct MbsInfoBase
113 {
114  double *gravity;
117 } MbsInfoBase;
118 
122 typedef struct MbsInfoJoint
123 {
124  char *name;
125  int type;
126  int nature;
127 
128  double q0;
129  double qd0;
130  double qdd0;
131 
132  int actuated;
133 
137 
138  int symb_q;
139  int symb_qd;
140  int symb_qdd;
141 
142  MbsInfoRefPoint* parent; // ST parent ref point of the joint
143  char* joint_parent; // ST parent joint of the joint
145 } MbsInfoJoint;
146 
150 typedef struct MbsInfoBody
151 {
152  char *name;
153 
155  char *joint_parent;
156 
157  int n_joint;
159 
160  double mass;
161  double *com;
162  double *inertia;
163 
164  int n_point;
166 
167 } MbsInfoBody;
168 
169 typedef struct MbsInfoBodytree
170 {
171  int n_body;
173 
174  int n_joint;
176 
177  int n_qu;
178  int *qu;
179 
180  int n_qv;
181  int *qv;
182 
183  int n_qc;
184  int *qc;
185 
187  int *qlocked;
188 
190  int *qdriven;
191 
192  int n_qa;
193  int *qa;
194 
195  int n_qrot;
196  int* qrot;
197 
199 
200 typedef struct MbsInfoBall
201 {
202  char *name;
203 
206 
207  int *ignore; // x y z
208 
209 } MbsInfoBall;
210 
211 typedef struct MbsInfoRod
212 {
213  char *name;
214 
217 
218  double length;
219 
220  MbsInfoDData *d_length; // d_data for the length
221  int is_symmmetric; // asymmetric = 0, symmetric master = 1, symmetric salve = 2
222  char *symmetric_rod_name; // the name of the symmetric rod (filed if master, NULL if slave or non symetric)
223 
224 
225 } MbsInfoRod;
226 
227 typedef struct MbsInfoSolid
228 {
229  char *name;
230 
233 
234  int *ignore; // x y z
235 
236 } MbsInfoSolid;
237 
238 typedef struct MbsInfoCuts
239 {
240  int n_ball;
241  int n_rod;
242  int n_solid;
243 
247 
248 } MbsInfoCuts;
249 
250 typedef struct MbsInfoLink
251 {
252  char *name;
253 
256 
257 } MbsInfoLink;
258 
259 typedef struct MbsInfoLinks
260 {
261  int n_link;
263 
264  int n_link3D;
266 
267 } MbsInfoLinks;
268 
269 
272 typedef struct MbsInfoParameter
273 {
274  char *name;
275 
276  int type;
277  int n_value;
288 
289  double *value_list;
290 
293  void* val_ptr;
294 
307  /* probably members only used in the past for optimization purpose */
309  // d_value seems to be unused in MBsysC (structure only initialized).
310  // According to the MbsInfoDData contents, it seems to be used for optimization purpose.
311 
313  // is_symmmetric seems to be unused in MBsysC (initialized at 0).
315  // symmetric_parameter_name seems to be unused in MBsysC (initialized at NULL).
317 
318  /* if user model param is a structure name */
320  char* structure_header;
322 
325  /* if user model param is a lut1D or lut2D name */
327  char* structure_lutfile;
329 
333 
334 typedef struct MbsInfoUserModel
335 {
336  char *name;
339 
341 
342 typedef struct MbsInfoUserModels
343 {
346 
348 
349 typedef struct MbsInfoUserIO
350 {
351  char *name;
352  int type;
353  int size;
354 
355 } MbsInfoUserIO;
356 
357 typedef struct MbsInfoUserIOs
358 {
360  int n_in,n_out;
362 
364 
365 typedef struct MbsInfoOpti
366 {
369 
372 
375 
378 
381 
382 } MbsInfoOpti;
383 
384 typedef struct MbsInfos
385 {
392 
393  char *mbsfile;
394  char *mbsname;
395  char *padversion;
396 
397  int n_point;
399 
400  /* A.L.
401  * Those are not really point listing but index listing for matrix point_list
402  */
403  int n_sensor;
405 
408 
409  int n_state;
412 
414 
415  // specific to JSON binder, because structure of the file is different from XML .mbs
416  MbsInfoJoint** all_joint_list; //temporary list of all joints
417  int n_joint; // ST number of joints
420 } MbsInfos;
421 
422 #endif
MbsInfoBodytree::qdriven
int * qdriven
Definition: mbs_binder_public.h:190
MbsInfoOpti::n_d_related
int n_d_related
Definition: mbs_binder_public.h:379
MbsInfoOpti::n_d_simplified
int n_d_simplified
Definition: mbs_binder_public.h:367
MbsInfoCuts::n_rod
int n_rod
Definition: mbs_binder_public.h:241
MbsInfoBall::endpoint1
MbsInfoRefPoint * endpoint1
Definition: mbs_binder_public.h:204
MbsInfos::cuts
MbsInfoCuts * cuts
Definition: mbs_binder_public.h:388
MbsInfoPoint::pt
double * pt
Array with the coordinates (x, y, z) of the point relative to the origin of the body expressed in the...
Definition: mbs_binder_public.h:98
MbsInfoExtforce::name
char * name
Definition: mbs_binder_public.h:78
MbsInfoParameter::structure_name
char * structure_name
Name of the structure, filled if the parameter is a structure.
Definition: mbs_binder_public.h:319
MbsInfoExtforce::Vit
int Vit
1 if the computation of the sensor linear velocity has been asked, 0 otherwise.
Definition: mbs_binder_public.h:84
MbsInfoBall::endpoint2
MbsInfoRefPoint * endpoint2
Definition: mbs_binder_public.h:205
MbsInfos::n_state
int n_state
Definition: mbs_binder_public.h:409
MbsInfoBodytree
Definition: mbs_binder_public.h:169
MbsInfoRefPoint::bodyname
char * bodyname
Name of the body that bear the reference point (origin of the joint chain until first body encounter)...
Definition: mbs_binder_public.h:49
MbsInfoDData::d_opti
double d_opti
result value of optimization
Definition: mbs_binder_public.h:32
MbsInfoRod::name
char * name
Definition: mbs_binder_public.h:213
MbsInfoBodytree::n_qv
int n_qv
Definition: mbs_binder_public.h:180
MbsInfoParameter::value_list
double * value_list
Vector (index starting at 1) containing the values retrieved from the multibody file.
Definition: mbs_binder_public.h:289
MbsInfoParameter::name
char * name
Name of the parameter in the user model.
Definition: mbs_binder_public.h:274
MbsInfos::state_list
MbsInfoParameter ** state_list
Definition: mbs_binder_public.h:411
MbsInfoUserIOs::n_out
int n_out
Definition: mbs_binder_public.h:360
MbsInfoRefPoint
Structure defining the parent point of a body.
Definition: mbs_binder_public.h:47
MbsInfoJoint::qdd0
double qdd0
Initial acceleration of the joint.
Definition: mbs_binder_public.h:130
MbsInfoOpti::d_forced_list
MbsInfoDData ** d_forced_list
Definition: mbs_binder_public.h:371
MbsInfoExtforce::joint_parent
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_binder_public.h:80
MbsInfos::base
MbsInfoBase * base
Definition: mbs_binder_public.h:386
MbsInfoOpti::n_d_optimized
int n_d_optimized
Definition: mbs_binder_public.h:373
MbsInfoBase::n_base_point
int n_base_point
Number of point of interest (extremities of joint bearing a sensor plus anchor point) defined on the ...
Definition: mbs_binder_public.h:115
MbsInfoPoint::body_name
char * body_name
Name of the body holding the point.
Definition: mbs_binder_public.h:97
MbsInfos::mbsfile
char * mbsfile
Definition: mbs_binder_public.h:393
MbsInfoUserIOs::user_IO_list
MbsInfoUserIO ** user_IO_list
Definition: mbs_binder_public.h:361
MbsInfoJoint
This structure contains all informations about a joint.
Definition: mbs_binder_public.h:122
MbsInfoDData::MBSdata_d_ptr
double * MBSdata_d_ptr
link in the creation of mbs_data
Definition: mbs_binder_public.h:40
MbsInfoDData::is_related
int is_related
unrelated = 0, master = 1, equal salve = 2, opposite slave = 3
Definition: mbs_binder_public.h:35
MbsInfoCuts
Definition: mbs_binder_public.h:238
MbsInfoExtforce::Omp
int Omp
1 if the computation of the sensor angular acceleration has been asked, 0 otherwise.
Definition: mbs_binder_public.h:87
MbsInfoExtforce::Om
int Om
1 if the computation of the sensor angular velocity has been asked, 0 otherwise.
Definition: mbs_binder_public.h:85
MbsInfoBodytree::n_qrot
int n_qrot
Definition: mbs_binder_public.h:195
MbsInfoDData::d_max
double d_max
bounds values for optimization
Definition: mbs_binder_public.h:31
MbsInfoExtforce::parent_point
MbsInfoRefPoint * parent_point
parent point of the sensor (only for JSON loading ST 12072022) (NULL if it is a parent joint)
Definition: mbs_binder_public.h:79
MbsInfoParameter::d_value
MbsInfoDData ** d_value
d_data for the value.
Definition: mbs_binder_public.h:308
MbsInfoBase::gravity
double * gravity
Array with the component (x, y, z) of the gravity vector expressed in the inertial frame.
Definition: mbs_binder_public.h:114
MbsInfoCuts::n_ball
int n_ball
Definition: mbs_binder_public.h:240
MbsInfoBody::mass
double mass
Mass of the body.
Definition: mbs_binder_public.h:160
MbsInfoBodytree::qu
int * qu
Definition: mbs_binder_public.h:178
MbsInfoRod::symmetric_rod_name
char * symmetric_rod_name
Definition: mbs_binder_public.h:222
MbsInfoBodytree::n_joint
int n_joint
Definition: mbs_binder_public.h:174
MbsInfoUserIO::size
int size
type=1: in ; type=2
Definition: mbs_binder_public.h:353
MbsInfoSensor::Acc
int Acc
1 if the computation of the sensor linear acceleration has been asked, 0 otherwise.
Definition: mbs_binder_public.h:67
MbsInfos
Definition: mbs_binder_public.h:384
MbsInfoUserIO::type
int type
Definition: mbs_binder_public.h:352
MbsInfoPoint::name
char * name
Name of the point.
Definition: mbs_binder_public.h:96
MbsInfoPoint::sensor
MbsInfoSensor * sensor
Pointer to a sensor structure if a sensor is defined on the point.
Definition: mbs_binder_public.h:100
MbsInfoBase::base_point_list
MbsInfoPoint ** base_point_list
Array of pointers to the MDS_point_strct describing each point of the MBS.
Definition: mbs_binder_public.h:116
MbsInfoJoint::name
char * name
Name of the joint.
Definition: mbs_binder_public.h:124
MbsInfoBodytree::qv
int * qv
Definition: mbs_binder_public.h:181
MbsInfoSolid
Definition: mbs_binder_public.h:227
MbsInfoCuts::rod_list
MbsInfoRod ** rod_list
Definition: mbs_binder_public.h:245
MbsInfoUserModel
Definition: mbs_binder_public.h:334
MbsInfoPoint::symmetric_point_name
char * symmetric_point_name
Definition: mbs_binder_public.h:105
MbsInfoBodytree::qa
int * qa
Definition: mbs_binder_public.h:193
MbsInfos::extforce_point_list
int * extforce_point_list
Definition: mbs_binder_public.h:407
MbsInfoUserModel::parameter_list
MbsInfoParameter ** parameter_list
Definition: mbs_binder_public.h:338
MbsInfoBodytree::qc
int * qc
Definition: mbs_binder_public.h:184
MbsInfoBody::point_list
MbsInfoPoint ** point_list
Array of pointers to the MDS_point_strct describing each point of current body.
Definition: mbs_binder_public.h:165
MbsInfoBody::inertia
double * inertia
Array with the inertia tensor (Ixx, Ixy, Ixz, Iyy, Iyz, Izz) of the body relative to the center of ma...
Definition: mbs_binder_public.h:162
MbsInfoJoint::symmetric_joint_name
char * symmetric_joint_name
the name of the symmetric joint (filed if master, NULL if slave or non symetric)
Definition: mbs_binder_public.h:136
MbsInfoJoint::actuated
int actuated
For inverse dynamic only: 1 if actuated, 0 otherwise.
Definition: mbs_binder_public.h:132
MbsInfoExtforce::Pos
int Pos
1 if the computation of the sensor position has been asked, 0 otherwise.
Definition: mbs_binder_public.h:82
MbsInfoJoint::d_qf
MbsInfoDData * d_qf
d_data for the forced q
Definition: mbs_binder_public.h:134
MbsInfoBodytree::n_qa
int n_qa
Definition: mbs_binder_public.h:192
MbsInfoBodytree::qlocked
int * qlocked
Definition: mbs_binder_public.h:187
MbsInfoBall::name
char * name
Definition: mbs_binder_public.h:202
MbsInfos::sensor_list
MbsInfoSensor ** sensor_list
Pointer to a list of sensor.
Definition: mbs_binder_public.h:418
MbsInfoParameter::type
int type
Type of the parameter between 1 and 7.
Definition: mbs_binder_public.h:276
MbsInfoJoint::qd0
double qd0
Initial velocity of the joint.
Definition: mbs_binder_public.h:129
MbsInfoSensor::joint_parent
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_binder_public.h:61
MbsInfos::user_IOs
MbsInfoUserIOs * user_IOs
Definition: mbs_binder_public.h:391
MbsInfoParameter
Description of a user model parameter loaded from the mbs file.
Definition: mbs_binder_public.h:272
MbsInfoSensor::Om
int Om
1 if the computation of the sensor angular velocity has been asked, 0 otherwise.
Definition: mbs_binder_public.h:66
MbsInfoParameter::structure_header
char * structure_header
Header name with path (relative or absolute) of header describing a structure parameter.
Definition: mbs_binder_public.h:321
MbsInfoParameter::val_ptr
void * val_ptr
Pointer to the memory storing the value.
Definition: mbs_binder_public.h:293
MbsInfoUserModel::n_parameter
int n_parameter
Definition: mbs_binder_public.h:337
MbsInfoParameter::symmetric_parameter_name
char * symmetric_parameter_name
The name of the symmetric parameter.
Definition: mbs_binder_public.h:314
MbsInfoExtforce::Acc
int Acc
1 if the computation of the sensor linear acceleration has been asked, 0 otherwise.
Definition: mbs_binder_public.h:86
MbsInfoSolid::endpoint2
MbsInfoRefPoint * endpoint2
Definition: mbs_binder_public.h:232
MbsInfoJoint::type
int type
Joint type: T1=1, T2=2, T3=3, R1=4, R2=5, R3=6.
Definition: mbs_binder_public.h:125
MbsInfoSolid::ignore
int * ignore
Definition: mbs_binder_public.h:234
MbsInfoUserIOs
Definition: mbs_binder_public.h:357
MbsInfoUserIO::name
char * name
Definition: mbs_binder_public.h:351
MbsInfoOpti::d_resulting_list
MbsInfoDData ** d_resulting_list
Definition: mbs_binder_public.h:377
MbsInfoUserIOs::n_user_IO
int n_user_IO
Definition: mbs_binder_public.h:359
MbsInfos::n_state_value
int n_state_value
Definition: mbs_binder_public.h:410
MbsInfoJoint::is_symmmetric
int is_symmmetric
asymmetric = 0, symmetric master = 1, symmetric salve = 2
Definition: mbs_binder_public.h:135
MbsInfoSolid::name
char * name
Definition: mbs_binder_public.h:229
MbsInfoBodytree::n_qc
int n_qc
Definition: mbs_binder_public.h:183
MbsInfoPoint::is_symmmetric
int is_symmmetric
Definition: mbs_binder_public.h:104
MbsInfoJoint::parent
MbsInfoRefPoint * parent
Definition: mbs_binder_public.h:142
MbsInfoOpti
Definition: mbs_binder_public.h:365
MbsInfoOpti::d_optimized_list
MbsInfoDData ** d_optimized_list
Definition: mbs_binder_public.h:374
MbsInfos::n_sensor
int n_sensor
Definition: mbs_binder_public.h:403
MbsInfoOpti::d_simplified_list
MbsInfoDData ** d_simplified_list
Definition: mbs_binder_public.h:368
MbsInfoBodytree::body_list
MbsInfoBody ** body_list
Definition: mbs_binder_public.h:172
MbsInfoBody::n_point
int n_point
Number of point defined on the body.
Definition: mbs_binder_public.h:164
MbsInfoSensor::Pos
int Pos
1 if the computation of the sensor position has been asked, 0 otherwise.
Definition: mbs_binder_public.h:63
MbsInfoBody
This structure contains all informations about a body.
Definition: mbs_binder_public.h:150
MbsInfoRod::is_symmmetric
int is_symmmetric
Definition: mbs_binder_public.h:221
MbsInfoOpti::n_d_forced
int n_d_forced
Definition: mbs_binder_public.h:370
MbsInfoBodytree::n_qu
int n_qu
Definition: mbs_binder_public.h:177
MbsInfoBodytree::n_qdriven
int n_qdriven
Definition: mbs_binder_public.h:189
MbsInfoPoint::extforce
MbsInfoExtforce * extforce
Pointer to an external force sensor structure if it is defined on the point.
Definition: mbs_binder_public.h:101
MbsInfos::links
MbsInfoLinks * links
Definition: mbs_binder_public.h:389
MbsInfoPoint::d_pt
MbsInfoDData ** d_pt
Definition: mbs_binder_public.h:103
MbsInfoOpti::d_related_list
MbsInfoDData ** d_related_list
Definition: mbs_binder_public.h:380
MbsInfoSensor::name
char * name
Name of the sensor.
Definition: mbs_binder_public.h:59
MbsInfoCuts::n_solid
int n_solid
Definition: mbs_binder_public.h:242
MbsInfoUserIO
Definition: mbs_binder_public.h:349
MbsInfoBody::joint_parent
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_binder_public.h:155
MbsInfoOpti::n_d_resulting
int n_d_resulting
Definition: mbs_binder_public.h:376
MbsInfoRod
Definition: mbs_binder_public.h:211
MbsInfoParameter::n_value
int n_value
Number of values in the parameter.
Definition: mbs_binder_public.h:287
MbsInfoUserModels::n_user_model
int n_user_model
Definition: mbs_binder_public.h:344
MbsInfoBody::com
double * com
Array with the coordinate (x, y, z) of the center of mass of the body relative to the origin of the b...
Definition: mbs_binder_public.h:161
MbsInfoSensor
This structure contains all information about a sensor defined on the MBS structure.
Definition: mbs_binder_public.h:57
MbsInfoJoint::symb_q
int symb_q
Flag to generate symbol for position.
Definition: mbs_binder_public.h:138
MbsInfoDData
Definition: mbs_binder_public.h:26
MbsInfoParameter::structure_lutfile
char * structure_lutfile
File and path (relative or absolute) to the file containing the Look-up-Table dats.
Definition: mbs_binder_public.h:328
MbsInfoBodytree::n_qlocked
int n_qlocked
Definition: mbs_binder_public.h:186
MbsInfos::opti
MbsInfoOpti * opti
Definition: mbs_binder_public.h:413
MbsInfoJoint::nature
int nature
Nature of the joint: independent=1, dependent=2, driven=3, locked=4.
Definition: mbs_binder_public.h:126
MbsInfos::point_list
MbsInfoPoint ** point_list
Definition: mbs_binder_public.h:398
MbsInfoBall::ignore
int * ignore
Definition: mbs_binder_public.h:207
MbsInfoBase
Structure handling the informations defined on the base of the MBS.
Definition: mbs_binder_public.h:112
MbsInfoSensor::Rot
int Rot
1 if the computation of the sensor rotation matrix has been asked, 0 otherwise.
Definition: mbs_binder_public.h:64
MbsInfoPoint
This structure handle everything that a point on a MBS structure can handle (sensor,...
Definition: mbs_binder_public.h:94
MbsInfos::n_joint
int n_joint
Definition: mbs_binder_public.h:417
MbsInfoDData::d_0
double d_0
initial value for optimization
Definition: mbs_binder_public.h:29
MbsInfoRefPoint::pointname
char * pointname
Name of the reference point on the previous body.
Definition: mbs_binder_public.h:50
MbsInfoRod::endpoint1
MbsInfoRefPoint * endpoint1
Definition: mbs_binder_public.h:215
MbsInfoJoint::children_body
MbsInfoBody * children_body
Body direct children of the joint.
Definition: mbs_binder_public.h:144
MbsInfoCuts::solid_list
MbsInfoSolid ** solid_list
Definition: mbs_binder_public.h:246
MbsInfoBodytree::qrot
int * qrot
Definition: mbs_binder_public.h:196
MbsInfoSolid::endpoint1
MbsInfoRefPoint * endpoint1
Definition: mbs_binder_public.h:231
MbsInfoDData::d_type
int d_type
other = 0; simplified = 1, forced = 2, optimized = 3, resulting = 4, related = 5,
Definition: mbs_binder_public.h:28
MbsInfos::bodytree
MbsInfoBodytree * bodytree
Definition: mbs_binder_public.h:387
MbsInfoRod::length
double length
Definition: mbs_binder_public.h:218
MbsInfoUserModels::user_model_list
MbsInfoUserModel ** user_model_list
Definition: mbs_binder_public.h:345
MbsInfoCuts::ball_list
MbsInfoBall ** ball_list
Definition: mbs_binder_public.h:244
MbsInfoBall
Definition: mbs_binder_public.h:200
MbsInfoBody::joint_list
MbsInfoJoint ** joint_list
Array of pointers to the MDS_joint_strct describing each joint leaving the body.
Definition: mbs_binder_public.h:158
MbsInfoSensor::parent_point
MbsInfoRefPoint * parent_point
parent point of the sensor (only for JSON loading ST 12072022) (NULL if it is a parent joint)
Definition: mbs_binder_public.h:60
MbsInfoExtforce::Rot
int Rot
1 if the computation of the sensor rotation matrix has been asked, 0 otherwise.
Definition: mbs_binder_public.h:83
MbsInfoDData::d_ptr
double * d_ptr
Definition: mbs_binder_public.h:38
MbsInfoBodytree::n_body
int n_body
Definition: mbs_binder_public.h:171
MbsInfoRod::endpoint2
MbsInfoRefPoint * endpoint2
Definition: mbs_binder_public.h:216
MbsInfos::user_models
MbsInfoUserModels * user_models
Definition: mbs_binder_public.h:390
MbsInfoJoint::q0
double q0
Initial position of the joint.
Definition: mbs_binder_public.h:128
MbsInfoDData::d_min
double d_min
bounds values for optimization
Definition: mbs_binder_public.h:30
MbsInfoJoint::symb_qdd
int symb_qdd
Flag to generate symbol for acceleration.
Definition: mbs_binder_public.h:140
MbsInfos::extforce_list
MbsInfoExtforce ** extforce_list
Pointer to a list of external force sensor.
Definition: mbs_binder_public.h:419
MbsInfoUserModel::name
char * name
Definition: mbs_binder_public.h:336
MbsInfoJoint::joint_parent
char * joint_parent
Definition: mbs_binder_public.h:143
MbsInfoBody::name
char * name
Name of the body.
Definition: mbs_binder_public.h:152
MbsInfoParameter::flag_PRJPATH
int flag_PRJPATH
Flag to indicate that the path to the data file start from the project path (stored as "PRJPATH" in m...
Definition: mbs_binder_public.h:326
MbsInfoBodytree::joint_list
MbsInfoJoint ** joint_list
Definition: mbs_binder_public.h:175
MbsInfoRod::d_length
MbsInfoDData * d_length
Definition: mbs_binder_public.h:220
MbsInfos::mbsname
char * mbsname
Definition: mbs_binder_public.h:394
MbsInfos::padversion
char * padversion
Definition: mbs_binder_public.h:395
MbsInfos::n_extforce
int n_extforce
Definition: mbs_binder_public.h:406
MbsInfos::n_point
int n_point
Definition: mbs_binder_public.h:397
MbsInfoParameter::is_symmmetric
int is_symmmetric
asymmetric = 0, symmetric master = 1, symmetric salve = 2.
Definition: mbs_binder_public.h:312
MbsInfoBody::point_parent
MbsInfoRefPoint * point_parent
Description of the parent point of the current body. (NULL if it is a parent joint)
Definition: mbs_binder_public.h:154
MbsInfoUserIOs::n_in
int n_in
Definition: mbs_binder_public.h:360
MbsInfos::sensor_point_list
int * sensor_point_list
Definition: mbs_binder_public.h:404
MbsInfoDData::master_d_ptr
struct MbsInfoDData * master_d_ptr
Definition: mbs_binder_public.h:36
MbsInfoUserModels
Definition: mbs_binder_public.h:342
MbsInfoSensor::Omp
int Omp
1 if the computation of the sensor angular acceleration has been asked, 0 otherwise.
Definition: mbs_binder_public.h:68
MbsInfoJoint::symb_qd
int symb_qd
Flag to generate symbol for velocity.
Definition: mbs_binder_public.h:139
MbsInfoSensor::Vit
int Vit
1 if the computation of the sensor linear velocity has been asked, 0 otherwise.
Definition: mbs_binder_public.h:65
MbsInfos::all_joint_list
MbsInfoJoint ** all_joint_list
Definition: mbs_binder_public.h:416
MbsInfoExtforce
This structure contains all information about an external force sensor defined on the MBS structure.
Definition: mbs_binder_public.h:76
MbsInfoSensor::Jac
int Jac
1 if the computation of the sensor Jacobian ( ) has been asked, 0 otherwise.
Definition: mbs_binder_public.h:69
MbsInfoBody::n_joint
int n_joint
Number of joints leaving the body.
Definition: mbs_binder_public.h:157