Robotran C Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
mbs_infos_struct.h
Go to the documentation of this file.
1 
9 #ifndef MBS_INFOS_STRUCT_h
10 #define MBS_INFOS_STRUCT_h
11 
15 typedef enum {
25 } ParamType;
26 
27 typedef struct MbsInfoBody MbsInfoBody; // Forward declaration
28 
29 typedef struct MbsInfoDData
30 {
31  int d_type;
32  double d_0;
33  double d_min;
34  double d_max;
35  double d_opti;
36 
37  // the following variables are "computed" in "MDS_opti_structurer"
38  int is_related;
40 
41  double *d_ptr;
42 
43  double *MBSdata_d_ptr;
44 
45 } MbsInfoDData;
46 
50 typedef struct MbsInfoRefPoint
51 {
52  char *bodyname;
53  char *pointname;
54 
56 
60 typedef struct MbsInfoSensor
61 {
62  char *name;
64  char* joint_parent;
66 
67  int Pos;
68  int Rot;
69  int Vit;
70  int Om;
71  int Acc;
72  int Jdqd;
73  int Omp;
74  int Jac;
75 
77 
81 typedef struct MbsInfoExtforce
82 {
83  char *name;
85  char* joint_parent;
86 
87  int Pos;
88  int Rot;
89  int Vit;
90  int Om;
91  int Acc;
92  int Jdqd;
93  int Omp;
94  int Jac;
95 
97 
101 typedef struct MbsInfoPoint
102 {
103  char *name;
104  char *body_name;
105  double *pt;
106 
109 
110  MbsInfoDData **d_pt; // x y z
111  int is_symmmetric; // asymmetric = 0, symmetric master = 1, symmetric salve = 2
112  char *symmetric_point_name; // the name of the symmetric point (filed if master, NULL if slave or non symetric)
113 
114 } MbsInfoPoint;
115 
119 typedef struct MbsInfoBase
120 {
121  double *gravity;
125 } MbsInfoBase;
126 
130 typedef struct MbsInfoJoint
131 {
132  char *name;
133  int type;
134  int nature;
135 
136  double q0;
137  double qd0;
138  double qdd0;
139 
140  int actuated;
141 
145 
146  int symb_q;
147  int symb_qd;
148  int symb_qdd;
149 
150  MbsInfoRefPoint* parent; // ST parent ref point of the joint
151  char* joint_parent; // ST parent joint of the joint
153 } MbsInfoJoint;
154 
158 typedef struct MbsInfoBody
159 {
160  char *name;
161 
163  char *joint_parent;
164 
165  int n_joint;
167 
168  double mass;
169  double *com;
170  double *inertia;
171 
172  int n_point;
174 
175 } MbsInfoBody;
176 
177 typedef struct MbsInfoBodytree
178 {
179  int n_body;
181 
182  int n_joint;
184 
185  int n_qu;
186  int *qu;
187 
188  int n_qv;
189  int *qv;
190 
191  int n_qc;
192  int *qc;
193 
195  int *qlocked;
196 
198  int *qdriven;
199 
200  int n_qa;
201  int *qa;
202 
203  int n_qrot;
204  int* qrot;
205 
207 
208 typedef struct MbsInfoBall
209 {
210  char *name;
211 
214 
215  int *ignore; // x y z
216 
217 } MbsInfoBall;
218 
219 typedef struct MbsInfoRod
220 {
221  char *name;
222 
225 
226  double length;
227 
228  MbsInfoDData *d_length; // d_data for the length
229  int is_symmmetric; // asymmetric = 0, symmetric master = 1, symmetric salve = 2
230  char *symmetric_rod_name; // the name of the symmetric rod (filed if master, NULL if slave or non symmetric)
231 
232 
233 } MbsInfoRod;
234 
235 typedef struct MbsInfoSolid
236 {
237  char *name;
238 
241 
242  int *ignore; // x y z
243 
244 } MbsInfoSolid;
245 
246 typedef struct MbsInfoCuts
247 {
248  int n_ball;
249  int n_rod;
250  int n_solid;
251 
255 
256 } MbsInfoCuts;
257 
258 typedef struct MbsInfoLink
259 {
260  char *name;
261 
264 
265 } MbsInfoLink;
266 
267 typedef struct MbsInfoLinks
268 {
269  int n_link;
271 
272  int n_link3D;
274 
275 } MbsInfoLinks;
276 
277 
280 typedef struct MbsInfoParameter
281 {
282  char *name;
283  char *description;
284 
285  int type;
286  int n_value;
298 
299  double *value_list;
300  char* string_name;
304 
305  void* val_ptr;
306 
320  /* probably members only used in the past for optimization purpose */
322  // d_value seems to be unused in MBsysC (structure only initialized).
323  // According to the MbsInfoDData contents, it seems to be used for optimization purpose.
324 
326  // is_symmmetric seems to be unused in MBsysC (initialized at 0).
328  // symmetric_parameter_name seems to be unused in MBsysC (initialized at NULL).
330 
331  /* if user model param is a structure name */
333  char* structure_header;
335 
338  /* if user model param is a lut1D or lut2D name */
340  char* structure_lutfile;
342 
346 
347 typedef struct MbsInfoUserModel
348 {
349  char *name;
350  char *description;
353 
355 
356 typedef struct MbsInfoUserModels
357 {
360 
362 
366 typedef struct MbsInfoUserIO
367 {
369  char *name;
373  int type;
375  int size;
379  double *value;
380 } MbsInfoUserIO;
381 
385 typedef struct MbsInfoUserIOs
386 {
390  int n_in;
392  int n_out;
395 
397 
398 typedef struct MbsInfoUserCstr
399 {
403 
405 
406 typedef struct MbsInfoOpti
407 {
410 
413 
416 
419 
422 
423 } MbsInfoOpti;
424 
425 typedef struct MbsInfos
426 {
434 
436  char *mbsfile;
438  char *mbsname;
440  char *padversion;
441 
443  int n_point;
446 
448  int n_sensor;
451 
456 
459  int n_state;
464 
468 
472  int n_joint;
477 
478  // Options
485  int verbose;
486 } MbsInfos;
487 
488 #endif
MbsInfoBodytree::qdriven
int * qdriven
Definition: mbs_infos_struct.h:198
MbsInfoOpti::n_d_related
int n_d_related
Definition: mbs_infos_struct.h:420
MbsInfoOpti::n_d_simplified
int n_d_simplified
Definition: mbs_infos_struct.h:408
MbsInfoCuts::n_rod
int n_rod
Definition: mbs_infos_struct.h:249
MbsInfoBall::endpoint1
MbsInfoRefPoint * endpoint1
Definition: mbs_infos_struct.h:212
MbsInfos::cuts
MbsInfoCuts * cuts
Definition: mbs_infos_struct.h:429
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_infos_struct.h:105
MbsInfoExtforce::name
char * name
Definition: mbs_infos_struct.h:83
MbsInfoParameter::structure_name
char * structure_name
Name of the structure, filled if the parameter is a structure.
Definition: mbs_infos_struct.h:332
MbsInfoExtforce::Vit
int Vit
1 if the computation of the sensor linear velocity has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:89
MbsInfoBall::endpoint2
MbsInfoRefPoint * endpoint2
Definition: mbs_infos_struct.h:213
MbsInfos::n_state
int n_state
Number of different named user state variable in the model.
Definition: mbs_infos_struct.h:459
MbsInfoBodytree
Definition: mbs_infos_struct.h:177
MbsInfoRefPoint::bodyname
char * bodyname
Name of the body that bear the reference point (origin of the joint chain until first body encounter)...
Definition: mbs_infos_struct.h:52
MbsInfos::verbose
int verbose
Verbosity level (not yet implemented everywhere):
Definition: mbs_infos_struct.h:485
MbsInfoDData::d_opti
double d_opti
result value of optimization
Definition: mbs_infos_struct.h:35
MbsInfoRod::name
char * name
Definition: mbs_infos_struct.h:221
MbsInfoBodytree::n_qv
int n_qv
Definition: mbs_infos_struct.h:188
MbsInfoParameter::value_list
double * value_list
Vector (index starting at 1) containing the values retrieved from the multibody file.
Definition: mbs_infos_struct.h:299
MbsInfoParameter::name
char * name
Name of the parameter in the user model.
Definition: mbs_infos_struct.h:282
MbsInfos::state_list
MbsInfoParameter ** state_list
List of the user state variables, there are MbsInfos::n_state elements.
Definition: mbs_infos_struct.h:463
MbsInfoUserIOs::n_out
int n_out
Number of OUTPUT user IO in the system.
Definition: mbs_infos_struct.h:392
MbsInfoRefPoint
Structure defining the parent point of a body.
Definition: mbs_infos_struct.h:50
MbsInfoJoint::qdd0
double qdd0
Initial acceleration of the joint.
Definition: mbs_infos_struct.h:138
MbsInfoOpti::d_forced_list
MbsInfoDData ** d_forced_list
Definition: mbs_infos_struct.h:412
MbsInfoExtforce::joint_parent
char * joint_parent
parent joint of the current body (should be always NULL, if it is a parent point) ExtForce on a joint...
Definition: mbs_infos_struct.h:85
MbsInfos::base
MbsInfoBase * base
Definition: mbs_infos_struct.h:427
MbsInfoOpti::n_d_optimized
int n_d_optimized
Definition: mbs_infos_struct.h:414
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_infos_struct.h:122
MbsInfoPoint::body_name
char * body_name
Name of the body holding the point.
Definition: mbs_infos_struct.h:104
UM_LUT2D
@ UM_LUT2D
Definition: mbs_infos_struct.h:20
MbsInfos::mbsfile
char * mbsfile
Provided filepath of the loaded multibody system.
Definition: mbs_infos_struct.h:436
MbsInfoUserIOs::user_IO_list
MbsInfoUserIO ** user_IO_list
The detail of each user IO in the system.
Definition: mbs_infos_struct.h:394
MbsInfoJoint
This structure contains all informations about a joint.
Definition: mbs_infos_struct.h:130
MbsInfoDData::MBSdata_d_ptr
double * MBSdata_d_ptr
link in the creation of mbs_data
Definition: mbs_infos_struct.h:43
MbsInfoDData::is_related
int is_related
unrelated = 0, master = 1, equal salve = 2, opposite slave = 3
Definition: mbs_infos_struct.h:38
MbsInfoCuts
Definition: mbs_infos_struct.h:246
UM_STATE
@ UM_STATE
Definition: mbs_infos_struct.h:21
UM_VECTOR
@ UM_VECTOR
Definition: mbs_infos_struct.h:18
MbsInfoExtforce::Omp
int Omp
1 if the computation of the sensor angular acceleration has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:93
MbsInfoExtforce::Om
int Om
1 if the computation of the sensor angular velocity has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:90
MbsInfoBodytree::n_qrot
int n_qrot
Definition: mbs_infos_struct.h:203
MbsInfoDData::d_max
double d_max
bounds values for optimization
Definition: mbs_infos_struct.h:34
MbsInfoUserCstr::n_usercstr
int n_usercstr
Definition: mbs_infos_struct.h:400
MbsInfoExtforce::parent_point
MbsInfoRefPoint * parent_point
parent point of the sensor (NULL if it is a parent joint)
Definition: mbs_infos_struct.h:84
MbsInfoParameter::d_value
MbsInfoDData ** d_value
d_data for the value.
Definition: mbs_infos_struct.h:321
MbsInfoBase::gravity
double * gravity
Array with the component (x, y, z) of the gravity vector expressed in the inertial frame.
Definition: mbs_infos_struct.h:121
MbsInfoCuts::n_ball
int n_ball
Definition: mbs_infos_struct.h:248
MbsInfoBody::mass
double mass
Mass of the body.
Definition: mbs_infos_struct.h:168
MbsInfoBodytree::qu
int * qu
Definition: mbs_infos_struct.h:186
MbsInfoRod::symmetric_rod_name
char * symmetric_rod_name
Definition: mbs_infos_struct.h:230
MbsInfoBodytree::n_joint
int n_joint
Definition: mbs_infos_struct.h:182
MbsInfoUserIO::size
int size
Number of values in the user IO.
Definition: mbs_infos_struct.h:375
MbsInfoSensor::Acc
int Acc
1 if the computation of the sensor linear acceleration has been asked, 0 otherwise....
Definition: mbs_infos_struct.h:71
UM_INT
@ UM_INT
Definition: mbs_infos_struct.h:23
MbsInfos
Definition: mbs_infos_struct.h:425
MbsInfoUserIO::type
int type
Nature of the user IO:
Definition: mbs_infos_struct.h:373
MbsInfoPoint::name
char * name
Name of the point.
Definition: mbs_infos_struct.h:103
MbsInfoPoint::sensor
MbsInfoSensor * sensor
Pointer to a sensor structure if a sensor is defined on the point.
Definition: mbs_infos_struct.h:107
MbsInfoBase::base_point_list
MbsInfoPoint ** base_point_list
Array of pointers to the MDS_point_strct describing each point of the MBS.
Definition: mbs_infos_struct.h:123
MbsInfoJoint::name
char * name
Name of the joint.
Definition: mbs_infos_struct.h:132
MbsInfoBodytree::qv
int * qv
Definition: mbs_infos_struct.h:189
MbsInfoSolid
Definition: mbs_infos_struct.h:235
MbsInfoCuts::rod_list
MbsInfoRod ** rod_list
Definition: mbs_infos_struct.h:253
MbsInfoUserModel
Definition: mbs_infos_struct.h:347
MbsInfoPoint::symmetric_point_name
char * symmetric_point_name
Definition: mbs_infos_struct.h:112
MbsInfoBodytree::qa
int * qa
Definition: mbs_infos_struct.h:201
MbsInfos::extforce_point_list
int * extforce_point_list
List of the point index (in MbsInfos::point_list) that has a external force.
Definition: mbs_infos_struct.h:455
MbsInfoUserModel::parameter_list
MbsInfoParameter ** parameter_list
Definition: mbs_infos_struct.h:352
MbsInfoBodytree::qc
int * qc
Definition: mbs_infos_struct.h:192
MbsInfoBody::point_list
MbsInfoPoint ** point_list
Array of pointers to the MDS_point_strct describing each point of current body.
Definition: mbs_infos_struct.h:173
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_infos_struct.h:170
MbsInfoJoint::symmetric_joint_name
char * symmetric_joint_name
the name of the symmetric joint (filed if master, NULL if slave or non symmetric)
Definition: mbs_infos_struct.h:144
MbsInfoJoint::actuated
int actuated
For inverse dynamic only: 1 if actuated, 0 otherwise.
Definition: mbs_infos_struct.h:140
MbsInfoExtforce::Pos
int Pos
1 if the computation of the sensor position has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:87
MbsInfoJoint::d_qf
MbsInfoDData * d_qf
d_data for the forced q
Definition: mbs_infos_struct.h:142
MbsInfoBodytree::n_qa
int n_qa
Definition: mbs_infos_struct.h:200
MbsInfoBodytree::qlocked
int * qlocked
Definition: mbs_infos_struct.h:195
MbsInfoExtforce::Jdqd
int Jdqd
1 if the computation of the sensor jdqd term has been asked, 0 otherwise. Mutually exclusive with Acc...
Definition: mbs_infos_struct.h:92
MbsInfoBall::name
char * name
Definition: mbs_infos_struct.h:210
MbsInfos::sensor_list
MbsInfoSensor ** sensor_list
Pointer to a list of sensor.
Definition: mbs_infos_struct.h:474
MbsInfoParameter::type
int type
Type of the parameter between 1 and 7.
Definition: mbs_infos_struct.h:285
MbsInfoJoint::qd0
double qd0
Initial velocity of the joint.
Definition: mbs_infos_struct.h:137
MbsInfoSensor::joint_parent
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_infos_struct.h:64
MbsInfoUserModel::description
char * description
Description of the user model.
Definition: mbs_infos_struct.h:350
MbsInfos::user_IOs
MbsInfoUserIOs * user_IOs
Definition: mbs_infos_struct.h:432
MbsInfoParameter
Description of a user model parameter loaded from the mbs file.
Definition: mbs_infos_struct.h:280
MbsInfoSensor::Om
int Om
1 if the computation of the sensor angular velocity has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:70
MbsInfoParameter::structure_header
char * structure_header
Header name with path (relative or absolute) of header describing a structure parameter.
Definition: mbs_infos_struct.h:334
MbsInfoParameter::val_ptr
void * val_ptr
Pointer to the memory storing the value.
Definition: mbs_infos_struct.h:305
MbsInfoUserModel::n_parameter
int n_parameter
Definition: mbs_infos_struct.h:351
MbsInfoSensor::reference_joint
char * reference_joint
joint of the reference frame - relative sensor (NULL if the sensor is relative to the base)....
Definition: mbs_infos_struct.h:65
MbsInfoParameter::symmetric_parameter_name
char * symmetric_parameter_name
The name of the symmetric parameter.
Definition: mbs_infos_struct.h:327
MbsInfoExtforce::Acc
int Acc
1 if the computation of the sensor linear acceleration has been asked, 0 otherwise....
Definition: mbs_infos_struct.h:91
MbsInfoSolid::endpoint2
MbsInfoRefPoint * endpoint2
Definition: mbs_infos_struct.h:240
MbsInfoJoint::type
int type
Joint type: T1=1, T2=2, T3=3, R1=4, R2=5, R3=6.
Definition: mbs_infos_struct.h:133
UM_NO_TYPE
@ UM_NO_TYPE
Definition: mbs_infos_struct.h:16
MbsInfoSolid::ignore
int * ignore
Definition: mbs_infos_struct.h:242
MbsInfoUserIOs
Definition: mbs_infos_struct.h:385
MbsInfoUserIO::name
char * name
Name of the user IO.
Definition: mbs_infos_struct.h:369
MbsInfoOpti::d_resulting_list
MbsInfoDData ** d_resulting_list
Definition: mbs_infos_struct.h:418
ParamType
ParamType
Enumaration of the implement user model nature.
Definition: mbs_infos_struct.h:15
MbsInfoUserIOs::n_user_IO
int n_user_IO
Number of user IO in the system.
Definition: mbs_infos_struct.h:388
MbsInfos::n_state_value
int n_state_value
Number of user state values.
Definition: mbs_infos_struct.h:461
MbsInfoUserCstr::user_cstr_mat
int ** user_cstr_mat
Definition: mbs_infos_struct.h:402
MbsInfoJoint::is_symmmetric
int is_symmmetric
asymmetric = 0, symmetric master = 1, symmetric salve = 2
Definition: mbs_infos_struct.h:143
MbsInfoUserCstr
Definition: mbs_infos_struct.h:398
MbsInfoSolid::name
char * name
Definition: mbs_infos_struct.h:237
MbsInfoBodytree::n_qc
int n_qc
Definition: mbs_infos_struct.h:191
MbsInfoPoint::is_symmmetric
int is_symmmetric
Definition: mbs_infos_struct.h:111
MbsInfoJoint::parent
MbsInfoRefPoint * parent
Definition: mbs_infos_struct.h:150
MbsInfoOpti
Definition: mbs_infos_struct.h:406
MbsInfoOpti::d_optimized_list
MbsInfoDData ** d_optimized_list
Definition: mbs_infos_struct.h:415
MbsInfos::n_sensor
int n_sensor
Number of sensor in the model.
Definition: mbs_infos_struct.h:448
MbsInfoOpti::d_simplified_list
MbsInfoDData ** d_simplified_list
Definition: mbs_infos_struct.h:409
MbsInfoBodytree::body_list
MbsInfoBody ** body_list
Definition: mbs_infos_struct.h:180
MbsInfoBody::n_point
int n_point
Number of point defined on the body.
Definition: mbs_infos_struct.h:172
MbsInfos::user_cstr
MbsInfoUserCstr * user_cstr
Definition: mbs_infos_struct.h:433
MbsInfoSensor::Pos
int Pos
1 if the computation of the sensor position has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:67
MbsInfoBody
This structure contains all informations about a body.
Definition: mbs_infos_struct.h:158
MbsInfoRod::is_symmmetric
int is_symmmetric
Definition: mbs_infos_struct.h:229
UM_SCALAR
@ UM_SCALAR
Definition: mbs_infos_struct.h:17
MbsInfoOpti::n_d_forced
int n_d_forced
Definition: mbs_infos_struct.h:411
MbsInfoBodytree::n_qu
int n_qu
Definition: mbs_infos_struct.h:185
MbsInfoBodytree::n_qdriven
int n_qdriven
Definition: mbs_infos_struct.h:197
MbsInfoPoint::extforce
MbsInfoExtforce * extforce
Pointer to an external force sensor structure if it is defined on the point.
Definition: mbs_infos_struct.h:108
MbsInfoParameter::string_name
char * string_name
Pointer containing the string name (if type is 8). NULL otherwise.
Definition: mbs_infos_struct.h:303
MbsInfos::links
MbsInfoLinks * links
Definition: mbs_infos_struct.h:430
MbsInfoPoint::d_pt
MbsInfoDData ** d_pt
Definition: mbs_infos_struct.h:110
MbsInfoOpti::d_related_list
MbsInfoDData ** d_related_list
Definition: mbs_infos_struct.h:421
MbsInfoSensor::name
char * name
Name of the sensor.
Definition: mbs_infos_struct.h:62
MbsInfoUserCstr::constr_process
int constr_process
Definition: mbs_infos_struct.h:401
MbsInfoCuts::n_solid
int n_solid
Definition: mbs_infos_struct.h:250
MbsInfoUserIO
Definition: mbs_infos_struct.h:366
MbsInfoBody::joint_parent
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_infos_struct.h:163
MbsInfoOpti::n_d_resulting
int n_d_resulting
Definition: mbs_infos_struct.h:417
MbsInfoRod
Definition: mbs_infos_struct.h:219
MbsInfoParameter::n_value
int n_value
Number of values in the parameter.
Definition: mbs_infos_struct.h:297
MbsInfoUserModels::n_user_model
int n_user_model
Definition: mbs_infos_struct.h:358
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_infos_struct.h:169
MbsInfoSensor
This structure contains all information about a sensor defined on the MBS structure.
Definition: mbs_infos_struct.h:60
MbsInfoJoint::symb_q
int symb_q
Flag to generate symbol for position.
Definition: mbs_infos_struct.h:146
MbsInfoDData
Definition: mbs_infos_struct.h:29
MbsInfoParameter::structure_lutfile
char * structure_lutfile
File and path (relative or absolute) to the file containing the Look-up-Table dats.
Definition: mbs_infos_struct.h:341
MbsInfoBodytree::n_qlocked
int n_qlocked
Definition: mbs_infos_struct.h:194
MbsInfos::opti
MbsInfoOpti * opti
DEPRECATED Specific structure dedicated to a previous project using optimization.
Definition: mbs_infos_struct.h:467
MbsInfoJoint::nature
int nature
Nature of the joint: independent=1, dependent=2, driven=3, locked=4.
Definition: mbs_infos_struct.h:134
MbsInfos::point_list
MbsInfoPoint ** point_list
List of all anchors point in the model
Definition: mbs_infos_struct.h:445
MbsInfoBall::ignore
int * ignore
Definition: mbs_infos_struct.h:215
MbsInfoBase
Structure handling the informations defined on the base of the MBS.
Definition: mbs_infos_struct.h:119
MbsInfoSensor::Rot
int Rot
1 if the computation of the sensor rotation matrix has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:68
MbsInfoPoint
This structure handle everything that a point on a MBS structure can handle (sensor,...
Definition: mbs_infos_struct.h:101
MbsInfos::n_joint
int n_joint
Number of joints in the model
Definition: mbs_infos_struct.h:472
UM_STRING
@ UM_STRING
Definition: mbs_infos_struct.h:24
MbsInfoDData::d_0
double d_0
initial value for optimization
Definition: mbs_infos_struct.h:32
MbsInfoRefPoint::pointname
char * pointname
Name of the reference point on the previous body.
Definition: mbs_infos_struct.h:53
MbsInfoRod::endpoint1
MbsInfoRefPoint * endpoint1
Definition: mbs_infos_struct.h:223
UM_LUT1D
@ UM_LUT1D
Definition: mbs_infos_struct.h:19
MbsInfoJoint::children_body
MbsInfoBody * children_body
Body direct children of the joint.
Definition: mbs_infos_struct.h:152
MbsInfoCuts::solid_list
MbsInfoSolid ** solid_list
Definition: mbs_infos_struct.h:254
MbsInfoBodytree::qrot
int * qrot
Definition: mbs_infos_struct.h:204
MbsInfoSolid::endpoint1
MbsInfoRefPoint * endpoint1
Definition: mbs_infos_struct.h:239
MbsInfoDData::d_type
int d_type
other = 0; simplified = 1, forced = 2, optimized = 3, resulting = 4, related = 5,
Definition: mbs_infos_struct.h:31
MbsInfos::bodytree
MbsInfoBodytree * bodytree
Definition: mbs_infos_struct.h:428
MbsInfoRod::length
double length
Definition: mbs_infos_struct.h:226
MbsInfoUserModels::user_model_list
MbsInfoUserModel ** user_model_list
Definition: mbs_infos_struct.h:359
MbsInfoCuts::ball_list
MbsInfoBall ** ball_list
Definition: mbs_infos_struct.h:252
MbsInfoBall
Definition: mbs_infos_struct.h:208
MbsInfoBody::joint_list
MbsInfoJoint ** joint_list
Array of pointers to the MDS_joint_strct describing each joint leaving the body.
Definition: mbs_infos_struct.h:166
MbsInfoSensor::parent_point
MbsInfoRefPoint * parent_point
parent point of the sensor (NULL if it is a parent joint)
Definition: mbs_infos_struct.h:63
MbsInfoExtforce::Rot
int Rot
1 if the computation of the sensor rotation matrix has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:88
MbsInfoDData::d_ptr
double * d_ptr
Definition: mbs_infos_struct.h:41
MbsInfoUserIO::value
double * value
Value set at loading.
Definition: mbs_infos_struct.h:379
MbsInfoParameter::description
char * description
Description of the parameter in the user model.
Definition: mbs_infos_struct.h:283
MbsInfoBodytree::n_body
int n_body
Definition: mbs_infos_struct.h:179
UM_STRUCTURE
@ UM_STRUCTURE
Definition: mbs_infos_struct.h:22
MbsInfoRod::endpoint2
MbsInfoRefPoint * endpoint2
Definition: mbs_infos_struct.h:224
MbsInfos::user_models
MbsInfoUserModels * user_models
Definition: mbs_infos_struct.h:431
MbsInfoJoint::q0
double q0
Initial position of the joint.
Definition: mbs_infos_struct.h:136
MbsInfoDData::d_min
double d_min
bounds values for optimization
Definition: mbs_infos_struct.h:33
MbsInfoJoint::symb_qdd
int symb_qdd
Flag to generate symbol for acceleration.
Definition: mbs_infos_struct.h:148
MbsInfos::extforce_list
MbsInfoExtforce ** extforce_list
Pointer to a list of external force sensor
Definition: mbs_infos_struct.h:476
MbsInfoBase::base_body_name
char * base_body_name
baseBodyName as defined in the base body in mbs/json file
Definition: mbs_infos_struct.h:124
MbsInfoUserModel::name
char * name
Definition: mbs_infos_struct.h:349
MbsInfoExtforce::Jac
int Jac
1 if the computation of the sensor Jacobian ( ) has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:94
MbsInfoJoint::joint_parent
char * joint_parent
Definition: mbs_infos_struct.h:151
MbsInfoBody::name
char * name
Name of the body.
Definition: mbs_infos_struct.h:160
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_infos_struct.h:339
MbsInfoBodytree::joint_list
MbsInfoJoint ** joint_list
Definition: mbs_infos_struct.h:183
MbsInfoSensor::Jdqd
int Jdqd
1 if the computation of the sensor jdqd term has been asked, 0 otherwise. Mutually exclusive with Acc...
Definition: mbs_infos_struct.h:72
MbsInfoRod::d_length
MbsInfoDData * d_length
Definition: mbs_infos_struct.h:228
MbsInfos::mbsname
char * mbsname
Name of the project in the multibody system file.
Definition: mbs_infos_struct.h:438
MbsInfos::padversion
char * padversion
Version number of the MBsysPAD that last modified the file.
Definition: mbs_infos_struct.h:440
MbsInfos::n_extforce
int n_extforce
Number of external force in the model.
Definition: mbs_infos_struct.h:453
MbsInfos::n_point
int n_point
Number of anchor points.
Definition: mbs_infos_struct.h:443
MbsInfoParameter::is_symmmetric
int is_symmmetric
asymmetric = 0, symmetric master = 1, symmetric salve = 2.
Definition: mbs_infos_struct.h:325
MbsInfoBody::point_parent
MbsInfoRefPoint * point_parent
Description of the parent point of the current body. (NULL if it is a parent joint)
Definition: mbs_infos_struct.h:162
MbsInfoUserIOs::n_in
int n_in
Number of INPUT user IO in the system.
Definition: mbs_infos_struct.h:390
MbsInfos::sensor_point_list
int * sensor_point_list
List of the point index (in MbsInfos::point_list) that has a sensor.
Definition: mbs_infos_struct.h:450
MbsInfoDData::master_d_ptr
struct MbsInfoDData * master_d_ptr
Definition: mbs_infos_struct.h:39
MbsInfoUserModels
Definition: mbs_infos_struct.h:356
MbsInfoSensor::Omp
int Omp
1 if the computation of the sensor angular acceleration has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:73
MbsInfoJoint::symb_qd
int symb_qd
Flag to generate symbol for velocity.
Definition: mbs_infos_struct.h:147
MbsInfoSensor::Vit
int Vit
1 if the computation of the sensor linear velocity has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:69
MbsInfos::all_joint_list
MbsInfoJoint ** all_joint_list
Ordered list of all joints in the model
Definition: mbs_infos_struct.h:470
MbsInfoExtforce
This structure contains all information about an external force sensor defined on the MBS structure.
Definition: mbs_infos_struct.h:81
MbsInfoSensor::Jac
int Jac
1 if the computation of the sensor Jacobian ( ) has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:74
MbsInfoBody::n_joint
int n_joint
Number of joints leaving the body.
Definition: mbs_infos_struct.h:165