|
Robotran C Documentation
|
Go to the documentation of this file.
7 #ifndef MBS_INFO_BINDER_PUBLIC_h
8 #define MBS_INFO_BINDER_PUBLIC_h
14 #define MBS_INFO_READER 0
15 #define MBS_INFO_UPDATER 1
17 #define MBS_INFO_COUNTER 11
18 #define MBS_INFO_INIT 12
20 #define MBS_INFO_SUCCESS 0
21 #define MBS_INFO_WARNING 1
22 #define MBS_INFO_FAILURE -9
int * qdriven
Definition: mbs_binder_public.h:190
int n_d_related
Definition: mbs_binder_public.h:379
int n_d_simplified
Definition: mbs_binder_public.h:367
int n_rod
Definition: mbs_binder_public.h:241
MbsInfoRefPoint * endpoint1
Definition: mbs_binder_public.h:204
MbsInfoCuts * cuts
Definition: mbs_binder_public.h:388
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
char * name
Definition: mbs_binder_public.h:78
char * structure_name
Name of the structure, filled if the parameter is a structure.
Definition: mbs_binder_public.h:319
int Vit
1 if the computation of the sensor linear velocity has been asked, 0 otherwise.
Definition: mbs_binder_public.h:84
MbsInfoRefPoint * endpoint2
Definition: mbs_binder_public.h:205
int n_state
Definition: mbs_binder_public.h:409
Definition: mbs_binder_public.h:169
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
double d_opti
result value of optimization
Definition: mbs_binder_public.h:32
char * name
Definition: mbs_binder_public.h:213
int n_qv
Definition: mbs_binder_public.h:180
double * value_list
Vector (index starting at 1) containing the values retrieved from the multibody file.
Definition: mbs_binder_public.h:289
char * name
Name of the parameter in the user model.
Definition: mbs_binder_public.h:274
MbsInfoParameter ** state_list
Definition: mbs_binder_public.h:411
int n_out
Definition: mbs_binder_public.h:360
Structure defining the parent point of a body.
Definition: mbs_binder_public.h:47
double qdd0
Initial acceleration of the joint.
Definition: mbs_binder_public.h:130
MbsInfoDData ** d_forced_list
Definition: mbs_binder_public.h:371
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_binder_public.h:80
MbsInfoBase * base
Definition: mbs_binder_public.h:386
int n_d_optimized
Definition: mbs_binder_public.h:373
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
char * body_name
Name of the body holding the point.
Definition: mbs_binder_public.h:97
char * mbsfile
Definition: mbs_binder_public.h:393
MbsInfoUserIO ** user_IO_list
Definition: mbs_binder_public.h:361
This structure contains all informations about a joint.
Definition: mbs_binder_public.h:122
double * MBSdata_d_ptr
link in the creation of mbs_data
Definition: mbs_binder_public.h:40
int is_related
unrelated = 0, master = 1, equal salve = 2, opposite slave = 3
Definition: mbs_binder_public.h:35
Definition: mbs_binder_public.h:238
int Omp
1 if the computation of the sensor angular acceleration has been asked, 0 otherwise.
Definition: mbs_binder_public.h:87
int Om
1 if the computation of the sensor angular velocity has been asked, 0 otherwise.
Definition: mbs_binder_public.h:85
int n_qrot
Definition: mbs_binder_public.h:195
double d_max
bounds values for optimization
Definition: mbs_binder_public.h:31
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
MbsInfoDData ** d_value
d_data for the value.
Definition: mbs_binder_public.h:308
double * gravity
Array with the component (x, y, z) of the gravity vector expressed in the inertial frame.
Definition: mbs_binder_public.h:114
int n_ball
Definition: mbs_binder_public.h:240
double mass
Mass of the body.
Definition: mbs_binder_public.h:160
int * qu
Definition: mbs_binder_public.h:178
char * symmetric_rod_name
Definition: mbs_binder_public.h:222
int n_joint
Definition: mbs_binder_public.h:174
int size
type=1: in ; type=2
Definition: mbs_binder_public.h:353
int Acc
1 if the computation of the sensor linear acceleration has been asked, 0 otherwise.
Definition: mbs_binder_public.h:67
Definition: mbs_binder_public.h:384
int type
Definition: mbs_binder_public.h:352
char * name
Name of the point.
Definition: mbs_binder_public.h:96
char * name
Definition: mbs_binder_public.h:252
MbsInfoSensor * sensor
Pointer to a sensor structure if a sensor is defined on the point.
Definition: mbs_binder_public.h:100
MbsInfoPoint ** base_point_list
Array of pointers to the MDS_point_strct describing each point of the MBS.
Definition: mbs_binder_public.h:116
char * name
Name of the joint.
Definition: mbs_binder_public.h:124
int * qv
Definition: mbs_binder_public.h:181
Definition: mbs_binder_public.h:227
MbsInfoRod ** rod_list
Definition: mbs_binder_public.h:245
Definition: mbs_binder_public.h:334
char * symmetric_point_name
Definition: mbs_binder_public.h:105
int * qa
Definition: mbs_binder_public.h:193
int * extforce_point_list
Definition: mbs_binder_public.h:407
MbsInfoParameter ** parameter_list
Definition: mbs_binder_public.h:338
int * qc
Definition: mbs_binder_public.h:184
MbsInfoPoint ** point_list
Array of pointers to the MDS_point_strct describing each point of current body.
Definition: mbs_binder_public.h:165
MbsInfoRefPoint * endpoint1
Definition: mbs_binder_public.h:254
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
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
int actuated
For inverse dynamic only: 1 if actuated, 0 otherwise.
Definition: mbs_binder_public.h:132
int Pos
1 if the computation of the sensor position has been asked, 0 otherwise.
Definition: mbs_binder_public.h:82
MbsInfoDData * d_qf
d_data for the forced q
Definition: mbs_binder_public.h:134
int n_qa
Definition: mbs_binder_public.h:192
int * qlocked
Definition: mbs_binder_public.h:187
char * name
Definition: mbs_binder_public.h:202
MbsInfoSensor ** sensor_list
Pointer to a list of sensor.
Definition: mbs_binder_public.h:418
int type
Type of the parameter between 1 and 7.
Definition: mbs_binder_public.h:276
double qd0
Initial velocity of the joint.
Definition: mbs_binder_public.h:129
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_binder_public.h:61
MbsInfoUserIOs * user_IOs
Definition: mbs_binder_public.h:391
Description of a user model parameter loaded from the mbs file.
Definition: mbs_binder_public.h:272
int Om
1 if the computation of the sensor angular velocity has been asked, 0 otherwise.
Definition: mbs_binder_public.h:66
char * structure_header
Header name with path (relative or absolute) of header describing a structure parameter.
Definition: mbs_binder_public.h:321
void * val_ptr
Pointer to the memory storing the value.
Definition: mbs_binder_public.h:293
int n_parameter
Definition: mbs_binder_public.h:337
char * symmetric_parameter_name
The name of the symmetric parameter.
Definition: mbs_binder_public.h:314
int Acc
1 if the computation of the sensor linear acceleration has been asked, 0 otherwise.
Definition: mbs_binder_public.h:86
MbsInfoRefPoint * endpoint2
Definition: mbs_binder_public.h:232
int type
Joint type: T1=1, T2=2, T3=3, R1=4, R2=5, R3=6.
Definition: mbs_binder_public.h:125
int * ignore
Definition: mbs_binder_public.h:234
Definition: mbs_binder_public.h:357
char * name
Definition: mbs_binder_public.h:351
MbsInfoDData ** d_resulting_list
Definition: mbs_binder_public.h:377
int n_user_IO
Definition: mbs_binder_public.h:359
int n_state_value
Definition: mbs_binder_public.h:410
int is_symmmetric
asymmetric = 0, symmetric master = 1, symmetric salve = 2
Definition: mbs_binder_public.h:135
MbsInfoLink ** link_list
Definition: mbs_binder_public.h:262
char * name
Definition: mbs_binder_public.h:229
Definition: mbs_binder_public.h:259
int n_qc
Definition: mbs_binder_public.h:183
int is_symmmetric
Definition: mbs_binder_public.h:104
MbsInfoRefPoint * parent
Definition: mbs_binder_public.h:142
Definition: mbs_binder_public.h:365
MbsInfoDData ** d_optimized_list
Definition: mbs_binder_public.h:374
int n_sensor
Definition: mbs_binder_public.h:403
MbsInfoDData ** d_simplified_list
Definition: mbs_binder_public.h:368
MbsInfoBody ** body_list
Definition: mbs_binder_public.h:172
int n_point
Number of point defined on the body.
Definition: mbs_binder_public.h:164
int Pos
1 if the computation of the sensor position has been asked, 0 otherwise.
Definition: mbs_binder_public.h:63
This structure contains all informations about a body.
Definition: mbs_binder_public.h:150
int is_symmmetric
Definition: mbs_binder_public.h:221
Definition: mbs_binder_public.h:250
int n_d_forced
Definition: mbs_binder_public.h:370
int n_qu
Definition: mbs_binder_public.h:177
int n_qdriven
Definition: mbs_binder_public.h:189
MbsInfoExtforce * extforce
Pointer to an external force sensor structure if it is defined on the point.
Definition: mbs_binder_public.h:101
MbsInfoLinks * links
Definition: mbs_binder_public.h:389
MbsInfoDData ** d_pt
Definition: mbs_binder_public.h:103
MbsInfoDData ** d_related_list
Definition: mbs_binder_public.h:380
char * name
Name of the sensor.
Definition: mbs_binder_public.h:59
int n_solid
Definition: mbs_binder_public.h:242
Definition: mbs_binder_public.h:349
char * joint_parent
parent joint of the current body (NULL if it is a parent point)
Definition: mbs_binder_public.h:155
int n_d_resulting
Definition: mbs_binder_public.h:376
Definition: mbs_binder_public.h:211
int n_value
Number of values in the parameter.
Definition: mbs_binder_public.h:287
int n_user_model
Definition: mbs_binder_public.h:344
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
This structure contains all information about a sensor defined on the MBS structure.
Definition: mbs_binder_public.h:57
int symb_q
Flag to generate symbol for position.
Definition: mbs_binder_public.h:138
Definition: mbs_binder_public.h:26
char * structure_lutfile
File and path (relative or absolute) to the file containing the Look-up-Table dats.
Definition: mbs_binder_public.h:328
int n_qlocked
Definition: mbs_binder_public.h:186
MbsInfoOpti * opti
Definition: mbs_binder_public.h:413
int nature
Nature of the joint: independent=1, dependent=2, driven=3, locked=4.
Definition: mbs_binder_public.h:126
MbsInfoPoint ** point_list
Definition: mbs_binder_public.h:398
int * ignore
Definition: mbs_binder_public.h:207
Structure handling the informations defined on the base of the MBS.
Definition: mbs_binder_public.h:112
int Rot
1 if the computation of the sensor rotation matrix has been asked, 0 otherwise.
Definition: mbs_binder_public.h:64
This structure handle everything that a point on a MBS structure can handle (sensor,...
Definition: mbs_binder_public.h:94
int n_joint
Definition: mbs_binder_public.h:417
double d_0
initial value for optimization
Definition: mbs_binder_public.h:29
char * pointname
Name of the reference point on the previous body.
Definition: mbs_binder_public.h:50
MbsInfoRefPoint * endpoint1
Definition: mbs_binder_public.h:215
MbsInfoBody * children_body
Body direct children of the joint.
Definition: mbs_binder_public.h:144
MbsInfoSolid ** solid_list
Definition: mbs_binder_public.h:246
int * qrot
Definition: mbs_binder_public.h:196
MbsInfoRefPoint * endpoint1
Definition: mbs_binder_public.h:231
int d_type
other = 0; simplified = 1, forced = 2, optimized = 3, resulting = 4, related = 5,
Definition: mbs_binder_public.h:28
MbsInfoBodytree * bodytree
Definition: mbs_binder_public.h:387
double length
Definition: mbs_binder_public.h:218
MbsInfoUserModel ** user_model_list
Definition: mbs_binder_public.h:345
MbsInfoBall ** ball_list
Definition: mbs_binder_public.h:244
Definition: mbs_binder_public.h:200
MbsInfoJoint ** joint_list
Array of pointers to the MDS_joint_strct describing each joint leaving the body.
Definition: mbs_binder_public.h:158
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
int Rot
1 if the computation of the sensor rotation matrix has been asked, 0 otherwise.
Definition: mbs_binder_public.h:83
double * d_ptr
Definition: mbs_binder_public.h:38
int n_body
Definition: mbs_binder_public.h:171
MbsInfoRefPoint * endpoint2
Definition: mbs_binder_public.h:216
MbsInfoUserModels * user_models
Definition: mbs_binder_public.h:390
double q0
Initial position of the joint.
Definition: mbs_binder_public.h:128
double d_min
bounds values for optimization
Definition: mbs_binder_public.h:30
int symb_qdd
Flag to generate symbol for acceleration.
Definition: mbs_binder_public.h:140
MbsInfoExtforce ** extforce_list
Pointer to a list of external force sensor.
Definition: mbs_binder_public.h:419
char * name
Definition: mbs_binder_public.h:336
char * joint_parent
Definition: mbs_binder_public.h:143
MbsInfoLink ** link3D_list
Definition: mbs_binder_public.h:265
char * name
Name of the body.
Definition: mbs_binder_public.h:152
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
MbsInfoJoint ** joint_list
Definition: mbs_binder_public.h:175
MbsInfoDData * d_length
Definition: mbs_binder_public.h:220
int n_link
Definition: mbs_binder_public.h:261
char * mbsname
Definition: mbs_binder_public.h:394
char * padversion
Definition: mbs_binder_public.h:395
int n_extforce
Definition: mbs_binder_public.h:406
int n_point
Definition: mbs_binder_public.h:397
int is_symmmetric
asymmetric = 0, symmetric master = 1, symmetric salve = 2.
Definition: mbs_binder_public.h:312
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
int n_in
Definition: mbs_binder_public.h:360
int * sensor_point_list
Definition: mbs_binder_public.h:404
struct MbsInfoDData * master_d_ptr
Definition: mbs_binder_public.h:36
Definition: mbs_binder_public.h:342
int Omp
1 if the computation of the sensor angular acceleration has been asked, 0 otherwise.
Definition: mbs_binder_public.h:68
int n_link3D
Definition: mbs_binder_public.h:264
int symb_qd
Flag to generate symbol for velocity.
Definition: mbs_binder_public.h:139
MbsInfoRefPoint * endpoint2
Definition: mbs_binder_public.h:255
int Vit
1 if the computation of the sensor linear velocity has been asked, 0 otherwise.
Definition: mbs_binder_public.h:65
MbsInfoJoint ** all_joint_list
Definition: mbs_binder_public.h:416
This structure contains all information about an external force sensor defined on the MBS structure.
Definition: mbs_binder_public.h:76
int Jac
1 if the computation of the sensor Jacobian ( ) has been asked, 0 otherwise.
Definition: mbs_binder_public.h:69
int n_joint
Number of joints leaving the body.
Definition: mbs_binder_public.h:157