|
Robotran C Documentation
|
Go to the documentation of this file.
9 #ifndef MBS_INFOS_STRUCT_h
10 #define MBS_INFOS_STRUCT_h
int * qdriven
Definition: mbs_infos_struct.h:198
int n_d_related
Definition: mbs_infos_struct.h:420
int n_d_simplified
Definition: mbs_infos_struct.h:408
int n_rod
Definition: mbs_infos_struct.h:249
MbsInfoRefPoint * endpoint1
Definition: mbs_infos_struct.h:212
MbsInfoCuts * cuts
Definition: mbs_infos_struct.h:429
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
char * name
Definition: mbs_infos_struct.h:83
char * structure_name
Name of the structure, filled if the parameter is a structure.
Definition: mbs_infos_struct.h:332
int Vit
1 if the computation of the sensor linear velocity has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:89
MbsInfoRefPoint * endpoint2
Definition: mbs_infos_struct.h:213
int n_state
Number of different named user state variable in the model.
Definition: mbs_infos_struct.h:459
Definition: mbs_infos_struct.h:177
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
int verbose
Verbosity level (not yet implemented everywhere):
Definition: mbs_infos_struct.h:485
double d_opti
result value of optimization
Definition: mbs_infos_struct.h:35
char * name
Definition: mbs_infos_struct.h:221
int n_qv
Definition: mbs_infos_struct.h:188
double * value_list
Vector (index starting at 1) containing the values retrieved from the multibody file.
Definition: mbs_infos_struct.h:299
char * name
Name of the parameter in the user model.
Definition: mbs_infos_struct.h:282
MbsInfoParameter ** state_list
List of the user state variables, there are MbsInfos::n_state elements.
Definition: mbs_infos_struct.h:463
int n_out
Number of OUTPUT user IO in the system.
Definition: mbs_infos_struct.h:392
Structure defining the parent point of a body.
Definition: mbs_infos_struct.h:50
double qdd0
Initial acceleration of the joint.
Definition: mbs_infos_struct.h:138
MbsInfoDData ** d_forced_list
Definition: mbs_infos_struct.h:412
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
MbsInfoBase * base
Definition: mbs_infos_struct.h:427
int n_d_optimized
Definition: mbs_infos_struct.h:414
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
char * body_name
Name of the body holding the point.
Definition: mbs_infos_struct.h:104
@ UM_LUT2D
Definition: mbs_infos_struct.h:20
char * mbsfile
Provided filepath of the loaded multibody system.
Definition: mbs_infos_struct.h:436
MbsInfoUserIO ** user_IO_list
The detail of each user IO in the system.
Definition: mbs_infos_struct.h:394
This structure contains all informations about a joint.
Definition: mbs_infos_struct.h:130
double * MBSdata_d_ptr
link in the creation of mbs_data
Definition: mbs_infos_struct.h:43
int is_related
unrelated = 0, master = 1, equal salve = 2, opposite slave = 3
Definition: mbs_infos_struct.h:38
Definition: mbs_infos_struct.h:246
@ UM_STATE
Definition: mbs_infos_struct.h:21
@ UM_VECTOR
Definition: mbs_infos_struct.h:18
int Omp
1 if the computation of the sensor angular acceleration has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:93
int Om
1 if the computation of the sensor angular velocity has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:90
int n_qrot
Definition: mbs_infos_struct.h:203
double d_max
bounds values for optimization
Definition: mbs_infos_struct.h:34
int n_usercstr
Definition: mbs_infos_struct.h:400
MbsInfoRefPoint * parent_point
parent point of the sensor (NULL if it is a parent joint)
Definition: mbs_infos_struct.h:84
MbsInfoDData ** d_value
d_data for the value.
Definition: mbs_infos_struct.h:321
double * gravity
Array with the component (x, y, z) of the gravity vector expressed in the inertial frame.
Definition: mbs_infos_struct.h:121
int n_ball
Definition: mbs_infos_struct.h:248
double mass
Mass of the body.
Definition: mbs_infos_struct.h:168
int * qu
Definition: mbs_infos_struct.h:186
char * symmetric_rod_name
Definition: mbs_infos_struct.h:230
int n_joint
Definition: mbs_infos_struct.h:182
int size
Number of values in the user IO.
Definition: mbs_infos_struct.h:375
int Acc
1 if the computation of the sensor linear acceleration has been asked, 0 otherwise....
Definition: mbs_infos_struct.h:71
@ UM_INT
Definition: mbs_infos_struct.h:23
Definition: mbs_infos_struct.h:425
int type
Nature of the user IO:
Definition: mbs_infos_struct.h:373
char * name
Name of the point.
Definition: mbs_infos_struct.h:103
char * name
Definition: mbs_infos_struct.h:260
MbsInfoSensor * sensor
Pointer to a sensor structure if a sensor is defined on the point.
Definition: mbs_infos_struct.h:107
MbsInfoPoint ** base_point_list
Array of pointers to the MDS_point_strct describing each point of the MBS.
Definition: mbs_infos_struct.h:123
char * name
Name of the joint.
Definition: mbs_infos_struct.h:132
int * qv
Definition: mbs_infos_struct.h:189
Definition: mbs_infos_struct.h:235
MbsInfoRod ** rod_list
Definition: mbs_infos_struct.h:253
Definition: mbs_infos_struct.h:347
char * symmetric_point_name
Definition: mbs_infos_struct.h:112
int * qa
Definition: mbs_infos_struct.h:201
int * extforce_point_list
List of the point index (in MbsInfos::point_list) that has a external force.
Definition: mbs_infos_struct.h:455
MbsInfoParameter ** parameter_list
Definition: mbs_infos_struct.h:352
int * qc
Definition: mbs_infos_struct.h:192
MbsInfoPoint ** point_list
Array of pointers to the MDS_point_strct describing each point of current body.
Definition: mbs_infos_struct.h:173
MbsInfoRefPoint * endpoint1
Definition: mbs_infos_struct.h:262
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
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
int actuated
For inverse dynamic only: 1 if actuated, 0 otherwise.
Definition: mbs_infos_struct.h:140
int Pos
1 if the computation of the sensor position has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:87
MbsInfoDData * d_qf
d_data for the forced q
Definition: mbs_infos_struct.h:142
int n_qa
Definition: mbs_infos_struct.h:200
int * qlocked
Definition: mbs_infos_struct.h:195
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
char * name
Definition: mbs_infos_struct.h:210
MbsInfoSensor ** sensor_list
Pointer to a list of sensor.
Definition: mbs_infos_struct.h:474
int type
Type of the parameter between 1 and 7.
Definition: mbs_infos_struct.h:285
double qd0
Initial velocity of the joint.
Definition: mbs_infos_struct.h:137
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_infos_struct.h:64
char * description
Description of the user model.
Definition: mbs_infos_struct.h:350
MbsInfoUserIOs * user_IOs
Definition: mbs_infos_struct.h:432
Description of a user model parameter loaded from the mbs file.
Definition: mbs_infos_struct.h:280
int Om
1 if the computation of the sensor angular velocity has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:70
char * structure_header
Header name with path (relative or absolute) of header describing a structure parameter.
Definition: mbs_infos_struct.h:334
void * val_ptr
Pointer to the memory storing the value.
Definition: mbs_infos_struct.h:305
int n_parameter
Definition: mbs_infos_struct.h:351
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
char * symmetric_parameter_name
The name of the symmetric parameter.
Definition: mbs_infos_struct.h:327
int Acc
1 if the computation of the sensor linear acceleration has been asked, 0 otherwise....
Definition: mbs_infos_struct.h:91
MbsInfoRefPoint * endpoint2
Definition: mbs_infos_struct.h:240
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
Definition: mbs_infos_struct.h:16
int * ignore
Definition: mbs_infos_struct.h:242
Definition: mbs_infos_struct.h:385
char * name
Name of the user IO.
Definition: mbs_infos_struct.h:369
MbsInfoDData ** d_resulting_list
Definition: mbs_infos_struct.h:418
ParamType
Enumaration of the implement user model nature.
Definition: mbs_infos_struct.h:15
int n_user_IO
Number of user IO in the system.
Definition: mbs_infos_struct.h:388
int n_state_value
Number of user state values.
Definition: mbs_infos_struct.h:461
int ** user_cstr_mat
Definition: mbs_infos_struct.h:402
int is_symmmetric
asymmetric = 0, symmetric master = 1, symmetric salve = 2
Definition: mbs_infos_struct.h:143
Definition: mbs_infos_struct.h:398
MbsInfoLink ** link_list
Definition: mbs_infos_struct.h:270
char * name
Definition: mbs_infos_struct.h:237
Definition: mbs_infos_struct.h:267
int n_qc
Definition: mbs_infos_struct.h:191
int is_symmmetric
Definition: mbs_infos_struct.h:111
MbsInfoRefPoint * parent
Definition: mbs_infos_struct.h:150
Definition: mbs_infos_struct.h:406
MbsInfoDData ** d_optimized_list
Definition: mbs_infos_struct.h:415
int n_sensor
Number of sensor in the model.
Definition: mbs_infos_struct.h:448
MbsInfoDData ** d_simplified_list
Definition: mbs_infos_struct.h:409
MbsInfoBody ** body_list
Definition: mbs_infos_struct.h:180
int n_point
Number of point defined on the body.
Definition: mbs_infos_struct.h:172
MbsInfoUserCstr * user_cstr
Definition: mbs_infos_struct.h:433
int Pos
1 if the computation of the sensor position has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:67
This structure contains all informations about a body.
Definition: mbs_infos_struct.h:158
int is_symmmetric
Definition: mbs_infos_struct.h:229
@ UM_SCALAR
Definition: mbs_infos_struct.h:17
Definition: mbs_infos_struct.h:258
int n_d_forced
Definition: mbs_infos_struct.h:411
int n_qu
Definition: mbs_infos_struct.h:185
int n_qdriven
Definition: mbs_infos_struct.h:197
MbsInfoExtforce * extforce
Pointer to an external force sensor structure if it is defined on the point.
Definition: mbs_infos_struct.h:108
char * string_name
Pointer containing the string name (if type is 8). NULL otherwise.
Definition: mbs_infos_struct.h:303
MbsInfoLinks * links
Definition: mbs_infos_struct.h:430
MbsInfoDData ** d_pt
Definition: mbs_infos_struct.h:110
MbsInfoDData ** d_related_list
Definition: mbs_infos_struct.h:421
char * name
Name of the sensor.
Definition: mbs_infos_struct.h:62
int constr_process
Definition: mbs_infos_struct.h:401
int n_solid
Definition: mbs_infos_struct.h:250
Definition: mbs_infos_struct.h:366
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_infos_struct.h:163
int n_d_resulting
Definition: mbs_infos_struct.h:417
Definition: mbs_infos_struct.h:219
int n_value
Number of values in the parameter.
Definition: mbs_infos_struct.h:297
int n_user_model
Definition: mbs_infos_struct.h:358
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
This structure contains all information about a sensor defined on the MBS structure.
Definition: mbs_infos_struct.h:60
int symb_q
Flag to generate symbol for position.
Definition: mbs_infos_struct.h:146
Definition: mbs_infos_struct.h:29
char * structure_lutfile
File and path (relative or absolute) to the file containing the Look-up-Table dats.
Definition: mbs_infos_struct.h:341
int n_qlocked
Definition: mbs_infos_struct.h:194
MbsInfoOpti * opti
DEPRECATED Specific structure dedicated to a previous project using optimization.
Definition: mbs_infos_struct.h:467
int nature
Nature of the joint: independent=1, dependent=2, driven=3, locked=4.
Definition: mbs_infos_struct.h:134
MbsInfoPoint ** point_list
List of all anchors point in the model
Definition: mbs_infos_struct.h:445
int * ignore
Definition: mbs_infos_struct.h:215
Structure handling the informations defined on the base of the MBS.
Definition: mbs_infos_struct.h:119
int Rot
1 if the computation of the sensor rotation matrix has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:68
This structure handle everything that a point on a MBS structure can handle (sensor,...
Definition: mbs_infos_struct.h:101
int n_joint
Number of joints in the model
Definition: mbs_infos_struct.h:472
@ UM_STRING
Definition: mbs_infos_struct.h:24
double d_0
initial value for optimization
Definition: mbs_infos_struct.h:32
char * pointname
Name of the reference point on the previous body.
Definition: mbs_infos_struct.h:53
MbsInfoRefPoint * endpoint1
Definition: mbs_infos_struct.h:223
@ UM_LUT1D
Definition: mbs_infos_struct.h:19
MbsInfoBody * children_body
Body direct children of the joint.
Definition: mbs_infos_struct.h:152
MbsInfoSolid ** solid_list
Definition: mbs_infos_struct.h:254
int * qrot
Definition: mbs_infos_struct.h:204
MbsInfoRefPoint * endpoint1
Definition: mbs_infos_struct.h:239
int d_type
other = 0; simplified = 1, forced = 2, optimized = 3, resulting = 4, related = 5,
Definition: mbs_infos_struct.h:31
MbsInfoBodytree * bodytree
Definition: mbs_infos_struct.h:428
double length
Definition: mbs_infos_struct.h:226
MbsInfoUserModel ** user_model_list
Definition: mbs_infos_struct.h:359
MbsInfoBall ** ball_list
Definition: mbs_infos_struct.h:252
Definition: mbs_infos_struct.h:208
MbsInfoJoint ** joint_list
Array of pointers to the MDS_joint_strct describing each joint leaving the body.
Definition: mbs_infos_struct.h:166
MbsInfoRefPoint * parent_point
parent point of the sensor (NULL if it is a parent joint)
Definition: mbs_infos_struct.h:63
int Rot
1 if the computation of the sensor rotation matrix has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:88
double * d_ptr
Definition: mbs_infos_struct.h:41
double * value
Value set at loading.
Definition: mbs_infos_struct.h:379
char * description
Description of the parameter in the user model.
Definition: mbs_infos_struct.h:283
int n_body
Definition: mbs_infos_struct.h:179
@ UM_STRUCTURE
Definition: mbs_infos_struct.h:22
MbsInfoRefPoint * endpoint2
Definition: mbs_infos_struct.h:224
MbsInfoUserModels * user_models
Definition: mbs_infos_struct.h:431
double q0
Initial position of the joint.
Definition: mbs_infos_struct.h:136
double d_min
bounds values for optimization
Definition: mbs_infos_struct.h:33
int symb_qdd
Flag to generate symbol for acceleration.
Definition: mbs_infos_struct.h:148
MbsInfoExtforce ** extforce_list
Pointer to a list of external force sensor
Definition: mbs_infos_struct.h:476
char * base_body_name
baseBodyName as defined in the base body in mbs/json file
Definition: mbs_infos_struct.h:124
char * name
Definition: mbs_infos_struct.h:349
int Jac
1 if the computation of the sensor Jacobian ( ) has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:94
char * joint_parent
Definition: mbs_infos_struct.h:151
MbsInfoLink ** link3D_list
Definition: mbs_infos_struct.h:273
char * name
Name of the body.
Definition: mbs_infos_struct.h:160
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
MbsInfoJoint ** joint_list
Definition: mbs_infos_struct.h:183
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
MbsInfoDData * d_length
Definition: mbs_infos_struct.h:228
int n_link
Definition: mbs_infos_struct.h:269
char * mbsname
Name of the project in the multibody system file.
Definition: mbs_infos_struct.h:438
char * padversion
Version number of the MBsysPAD that last modified the file.
Definition: mbs_infos_struct.h:440
int n_extforce
Number of external force in the model.
Definition: mbs_infos_struct.h:453
int n_point
Number of anchor points.
Definition: mbs_infos_struct.h:443
int is_symmmetric
asymmetric = 0, symmetric master = 1, symmetric salve = 2.
Definition: mbs_infos_struct.h:325
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
int n_in
Number of INPUT user IO in the system.
Definition: mbs_infos_struct.h:390
int * sensor_point_list
List of the point index (in MbsInfos::point_list) that has a sensor.
Definition: mbs_infos_struct.h:450
struct MbsInfoDData * master_d_ptr
Definition: mbs_infos_struct.h:39
Definition: mbs_infos_struct.h:356
int Omp
1 if the computation of the sensor angular acceleration has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:73
int n_link3D
Definition: mbs_infos_struct.h:272
int symb_qd
Flag to generate symbol for velocity.
Definition: mbs_infos_struct.h:147
MbsInfoRefPoint * endpoint2
Definition: mbs_infos_struct.h:263
int Vit
1 if the computation of the sensor linear velocity has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:69
MbsInfoJoint ** all_joint_list
Ordered list of all joints in the model
Definition: mbs_infos_struct.h:470
This structure contains all information about an external force sensor defined on the MBS structure.
Definition: mbs_infos_struct.h:81
int Jac
1 if the computation of the sensor Jacobian ( ) has been asked, 0 otherwise.
Definition: mbs_infos_struct.h:74
int n_joint
Number of joints leaving the body.
Definition: mbs_infos_struct.h:165