|
Robotran C Documentation
|
Go to the documentation of this file.
32 #define WIN32_LEAN_AND_MEAN
34 #elif defined(__unix__) || defined(__APPLE__)
37 #error Platform not supported.
49 #elif defined(__unix__) || defined(__APPLE__)
52 #error Platform not supported.
373 #if !defined SENSORKIN
int * qrot
Array with the indices of the rotational articulations (incremental values)
Definition: mbs_data.h:282
void(* mbs_link_ptr)(double **frc, double **trq, double *Flnk, double *Z, double *Zd, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:105
user_LinkForces_d_ptr user_LinkForces_dq
Definition: mbs_data.h:168
void(* mbs_print_user_IO_ptr)(UserIO *uio)
Definition: mbs_project_fct_ptr.h:91
int(* set_mbs_to_output_ptr)(MbsData *mbs_data)
Definition: mbs_project_fct_ptr.h:51
void(* mbs_delete_user_IO_ptr)(UserIO *uvs)
Definition: mbs_project_fct_ptr.h:83
double *** dSWr_dq
The derivative matrices of each external force MbsData::SWr vector according to the independent joint...
Definition: mbs_data.h:224
mbs_checksymb_ptr mbs_check_symbolic
Definition: mbs_data.h:80
void(* user_realtime_options_ptr)(MbsData *mbs_data, Realtime_option *options)
Definition: mbs_project_fct_ptr.h:96
int * xfidpt
Array of the points defined as force application points.
Definition: mbs_data.h:364
mbs_invdynared_d_ptr mbs_invdynared_dqdd
Definition: mbs_data.h:83
void(* mbs_link3D_ptr)(double **frc, double **trq, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:106
int Ncons
Number of algebraic constraints.
Definition: mbs_data.h:318
double ** M
Tangent matrix to acceleration of size [njoint+1, njoint+1].
Definition: mbs_data.h:203
mbs_invdynared_d_ptr mbs_invdynared_dqd
Definition: mbs_data.h:82
Definition: user_model.h:24
Definition: mbs_output_struct.h:44
user_realtime_visu_ptr user_realtime_visu
Definition: mbs_data.h:189
double * qd
Array with the current values of the generalized velocities.
Definition: mbs_data.h:286
double *** dSWr_link3d_dqd
The derivative matrices of each link3d MbsData::SWr vector according to the independent joint velocit...
Definition: mbs_data.h:236
double(* user_LinkForces_d_ptr)(double Z, double d_Z, double Zd, double d_Zd, MbsData *mbs_data, double tsim, int i_link, int index)
Definition: mbs_project_fct_ptr.h:55
void(* user_realtime_plot_ptr)(MbsData *mbs_data)
Definition: mbs_project_fct_ptr.h:100
double ** dQq_dqd
The derivative matrix of the joint force vector according to the independent joint velocities: .
Definition: mbs_data.h:216
int * qa
Array with the indices of actuated articulations (only for inverse dynamic).
Definition: mbs_data.h:278
double dt0
Initial value of the integration step size [s]. For dirdyn and invdyn only. This parameter is set fro...
Definition: mbs_data.h:310
void(* user_invdyn_finish_ptr)(MbsData *MBSdata, MbsInvdyn *mbs_invd)
Definition: mbs_project_fct_ptr.h:34
double * m
Array containing the mass of each body.
Definition: mbs_data.h:253
int DonePart
Flag that indicates if the coordinate partitioning module has been executed (default: 0=not done; 1=d...
Definition: mbs_data.h:403
UserIO * user_IO
Structure containing all the user IO.
Definition: mbs_data.h:386
void(* mbs_save_um_ptr)(FILE *stream, UserModel *ums)
Definition: mbs_project_fct_ptr.h:90
double * dq_dp
derivative of joint position q w.r.t. param p, vector size of [njoint+1].
Definition: mbs_data.h:206
mbs_cons_hJ_ptr mbs_cons_hJ
Definition: mbs_data.h:76
double *** dSWr_dqd
The derivative matrices of each external force MbsData::SWr vector according to the independent joint...
Definition: mbs_data.h:226
user_equil_finish_ptr user_equil_finish
Definition: mbs_data.h:104
double tsim
The time value.
Definition: mbs_data.h:306
int nqrot
Number of rotational joint (R1, R2 or R3)
Definition: mbs_data.h:270
int Nlink3D
Number of 3D links.
Definition: mbs_data.h:338
Contains information about UserIO.
Definition: mbs_user_interface.h:32
char * mbs_filename
Path to mbs file including the file with the extension (.mbs)
Definition: mbs_data.h:421
void(* mbs_dirdyna_ptr)(double **M, double *c, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:109
mbs_invdynared_d_ptr mbs_invdynared_dp
Definition: mbs_data.h:84
int nqv
Number of dependent articulations.
Definition: mbs_data.h:268
mbs_link_ptr mbs_link
Definition: mbs_data.h:70
mbs_new_user_model_ptr mbs_new_user_model
Definition: mbs_data.h:125
int DoneEquil
Flag that indicates if the equilibrium module has been executed (default: 0=not done; 1=done).
Definition: mbs_data.h:404
int(* mbs_checksymb_ptr)(MbsData *s)
Definition: mbs_project_fct_ptr.h:115
int * qc
Array with the indices of driven (locked and driven) articulations.
Definition: mbs_data.h:273
double * ux0
Array with the initial values of the user variables.
Definition: mbs_data.h:397
mbs_invdyna_ptr mbs_invdyna
Definition: mbs_data.h:75
void(* mbs_delete_user_model_ptr)(UserModel *ums)
Definition: mbs_project_fct_ptr.h:82
int nqu
Number of independent articulations.
Definition: mbs_data.h:263
void(* mbs_save_user_IO_ptr)(FILE *stream, UserIO *uio)
Definition: mbs_project_fct_ptr.h:92
int njoint
Number of joints in the system.
Definition: mbs_data.h:260
double tf
Final time of the simulation [s]. For dirdyn and invdyn only. This parameter is set from dirdyn/invyn...
Definition: mbs_data.h:309
double ** G
Damping matrix of size [njoint+1, njoint+1].
Definition: mbs_data.h:202
int npt
Number of anchor points.
Definition: mbs_data.h:250
double *** dSWr_link3d_dq
The derivative matrices of each link3d MbsData::SWr vector according to the independent joint coordin...
Definition: mbs_data.h:234
mbs_delete_user_model_ptr mbs_delete_user_model
Definition: mbs_data.h:126
user_equil_init_ptr user_equil_init
Definition: mbs_data.h:102
int(* mbs_accelred_ptr)(MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:108
user_dirdyn_init_ptr user_dirdyn_init
Definition: mbs_data.h:94
int n_ball
Number of ball constraint in the system.
Definition: mbs_data.h:314
user_equil_loop_ptr user_equil_loop
Definition: mbs_data.h:103
set_mbs_to_output_ptr user_synch_outputs
Definition: mbs_data.h:192
mbs_save_um_ptr mbs_save_um
Definition: mbs_data.h:147
user_dirdyn_loop_ptr user_dirdyn_loop
Definition: mbs_data.h:95
user_invdyn_finish_ptr user_invdyn_finish
Definition: mbs_data.h:100
int Nux
Number of user variable.
Definition: mbs_data.h:398
int flag_jac_position
Flag to compute the Jacobian of the constraint for position or velocity solution.
Definition: mbs_data.h:410
double ** jac_user
Jacobian of constraints [nqv x njoint] (starting at 1), only used in symbolic accelred,...
Definition: mbs_data.h:329
double zero_division_thrs
Value from which a warning is raised if a division by zero (or close to) occurs. Default=1....
Definition: mbs_data.h:419
user_JointForces_d_ptr user_JointForces_dqdd
Definition: mbs_data.h:165
user_ExtForces_ptr user_ExtForces
Definition: mbs_data.h:116
MbsDp * mbs_dp
Structure to store the matrix of tangent analysis (symbolic).
Definition: mbs_data.h:428
int DoneModal
Flag that indicates if the modal module has been executed (default: 0=not done; 1=done).
Definition: mbs_data.h:405
mbs_dirdyna_ptr mbs_dirdyna
Definition: mbs_data.h:74
user_joystick_axes_ptr user_joystick_axes
Definition: mbs_data.h:187
double *(* user_ExtForces_d_ptr)(double PxF[4], double d_PxF[4], double RxF[4][4], double d_RxF[4][4], double VxF[4], double d_VxF[4], double OMxF[4], double d_OMxF[4], double AxF[4], double d_AxF[4], double OMPxF[4], double d_OMPxF[4], MbsData *s, double tsim, int i_force, int index)
Definition: mbs_project_fct_ptr.h:68
int flag_optim_symb_sin_cos
allow the "optimisation" of the computation of the sine/cosine in the symbolic files....
Definition: mbs_data.h:296
UserIO *(* mbs_new_user_IO_ptr)(UserIoInfo *ioInfo)
Definition: mbs_project_fct_ptr.h:80
double ** SWr
Array of Swr vector for each external forces.
Definition: mbs_data.h:365
double *(* user_Link3DForces_d_ptr)(double PxF[4], double d_PxF[4], double RxF[4][4], double d_RxF[4][4], double VxF[4], double d_VxF[4], double OMxF[4], double d_OMxF[4], double AxF[4], double d_AxF[4], double OMPxF[4], double d_OMPxF[4], MbsData *s, double tsim, int i_link3d, int index)
Definition: mbs_project_fct_ptr.h:59
mbs_link3D_ptr mbs_link3D
Definition: mbs_data.h:71
char * mbsysc_path
Installation directory of MBsysC.
Definition: mbs_data.h:435
double * q_cos
Array with the cosine values of the generalized coordinates, if rotational (if translational,...
Definition: mbs_data.h:295
void(* mbs_extforces_ptr)(double **frc, double **trq, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:107
user_Link3DForces_ptr user_Link3DForces
Definition: mbs_data.h:115
void(* user_cons_hJ_ptr)(double *h, double **Jac, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:41
int * hu
Array with the indices of independent constraints.
Definition: mbs_data.h:281
double ** dSWr_link3d_dp
The derivative matrices of each link3d MbsData::SWr vector according to the specified parameter: .
Definition: mbs_data.h:240
double ** dSWr_dp
The derivative matrices of each external force MbsData::SWr vector according to the specified paramet...
Definition: mbs_data.h:230
int Nxfrc
Number of points where an external force is applied into a body.
Definition: mbs_data.h:363
double *(* user_Link3DForces_dp_ptr)(double PxF[4], double d_PxF[4], double RxF[4][4], double d_RxF[4][4], double VxF[4], double d_VxF[4], double OMxF[4], double d_OMxF[4], double AxF[4], double d_AxF[4], double OMPxF[4], double d_OMPxF[4], MbsData *s, double tsim, int i_link3d)
Definition: mbs_project_fct_ptr.h:63
void(* user_joystick_buttons_ptr)(MbsData *mbs_data, int buttonID)
Definition: mbs_project_fct_ptr.h:102
double *** dSWr_dqdd
The derivative matrices of each external force MbsData::SWr vector according to the independent joint...
Definition: mbs_data.h:228
void(* user_keyboard_ptr)(MbsData *mbs_data, Simu_realtime *realtime, int cur_t_usec, const Uint8 *keystates)
Definition: mbs_project_fct_ptr.h:99
user_joystick_buttons_ptr user_joystick_buttons
Definition: mbs_data.h:188
double *(* user_JointForces_dp_ptr)(MbsData *mbs_data, double tsim)
Definition: mbs_project_fct_ptr.h:54
Simu_realtime * realtime
Pointer to Simu_realtime structure.
Definition: mbs_data.h:430
double * qd0
Array with the initial values of the generalized velocities.
Definition: mbs_data.h:290
mbs_get_user_model_list_ptr mbs_get_user_model_list
Definition: mbs_data.h:146
mbs_print_user_IO_ptr mbs_print_user_IO
Print the current UserIO values.
Definition: mbs_data.h:153
int Nlink
Number of forces acting between two points of the system (force law implemented in user_LinkForces())...
Definition: mbs_data.h:337
Definition: mbs_data.h:59
double * dQq_dp
The derivative vector of the joint force vector according to the specified parameter: .
Definition: mbs_data.h:220
void(* mbs_load_user_model_ptr)(MbsInfos *mbs_infos, UserModel *ums)
Definition: mbs_project_fct_ptr.h:87
mbs_load_user_model_ptr mbs_load_user_model
Definition: mbs_data.h:142
void(* user_cons_J_accelred_ptr)(MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:43
user_Link3DForces_d_ptr user_Link3DForces_dqd
Definition: mbs_data.h:174
user_keyboard_ptr user_keyboard
Definition: mbs_data.h:185
double(* user_LinkForces_ptr)(double Z, double Zd, MbsData *mbs_data, double tsim, int ilnk)
Definition: mbs_project_fct_ptr.h:44
int flag_safety_checks
Flag to activate safety checks everywhere in mbsysc core. Faster computation if this flag is put to 0...
Definition: mbs_data.h:418
user_free_ptr user_free
Definition: mbs_data.h:92
UserIoInfo * __user_IO_info
Details of the user IO loaded from multibody file.
Definition: mbs_data.h:390
UserModel *(* mbs_new_user_model_ptr)()
Definition: mbs_project_fct_ptr.h:81
mbs_sensor_ptr mbs_sensor
Definition: mbs_data.h:78
int MAX_NR_ITER
Maximal number of iterations for NR procedure, default 100.
Definition: mbs_data.h:321
int Nuserc
Number of user constraints.
Definition: mbs_data.h:319
user_equil_fxe_ptr user_equil_fxe
Definition: mbs_data.h:105
double * Fl
Array with the current values of the forces on each link (see: user_LinkForces()).
Definition: mbs_data.h:341
int * qu
Array with the indices of the independent articulations (free)
Definition: mbs_data.h:272
void(* user_Derivative_ptr)(MbsData *s)
Definition: mbs_project_fct_ptr.h:39
double NRerr
Maximal error on constraint allowed in Newton-Raphson algorithm, default 1.0e-9.
Definition: mbs_data.h:320
double ** dQq_dq
The derivative matrix of the joint force vector according to the independent joint coordinates: .
Definition: mbs_data.h:214
double ** trq
Matrix with the components of the resultant external torques (pure torque and couple produced by forc...
Definition: mbs_data.h:301
int * qv
Array with the indices of the dependent articulations .
Definition: mbs_data.h:280
user_Link3DForces_d_ptr user_Link3DForces_dq
Definition: mbs_data.h:173
double * Qc
Array with the value of joint force introduced in driven joint to respect the user function.
Definition: mbs_data.h:333
int Nloopc
Number of loop constraints.
Definition: mbs_data.h:317
double *(* user_JointForces_ptr)(MbsData *, double)
Definition: mbs_project_fct_ptr.h:26
mbs_extforces_ptr mbs_extforces
Definition: mbs_data.h:72
user_cons_hJ_ptr user_cons_hJ
Definition: mbs_data.h:110
double * Zd
Array with the current values of the speed (spreading) between of the points of a link (see: user_Lin...
Definition: mbs_data.h:340
user_LinkForces_ptr user_LinkForces
Definition: mbs_data.h:114
double * Qq
Array with the values of the joint forces.
Definition: mbs_data.h:302
void(* mbs_invdynared_d_ptr)(MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:116
double * q
Array with the current values of the generalized coordinates.
Definition: mbs_data.h:285
double ** In
Array containing the inertia tensor component of each body (in the body fixed frame,...
Definition: mbs_data.h:254
int Nsensor
< Array of l3DWr vector for each 3D link forces.
Definition: mbs_data.h:360
void(* user_realtime_visu_ptr)(MbsData *mbs_data, int nb_models, int *nb_q, double **q_vec)
Definition: mbs_project_fct_ptr.h:103
user_ExtForces_dp_ptr user_ExtForces_dp
Definition: mbs_data.h:181
char * project_path
Path to the mbs project folder.
Definition: mbs_data.h:423
user_Link3DForces_dp_ptr user_Link3DForces_dp
Definition: mbs_data.h:176
MbsDataLibInfo * symbolicLibHandle
Definition: mbs_data.h:62
user_realtime_plot_ptr user_realtime_plot
Definition: mbs_data.h:186
int nqdriven
Number of driven articulations.
Definition: mbs_data.h:266
user_JointForces_d_ptr user_JointForces_dqd
Definition: mbs_data.h:164
user_realtime_options_ptr user_realtime_options
Definition: mbs_data.h:184
void(* user_DrivenJoints_ptr)(MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:40
Functions fct
Structure to store the pointer to the project-specific functions.
Definition: mbs_data.h:426
user_Derivative_ptr user_Derivative
Definition: mbs_data.h:107
void(* user_invdyn_init_ptr)(MbsData *MBSdata, MbsInvdyn *mbs_invd)
Definition: mbs_project_fct_ptr.h:32
void(* mbs_cons_hJ_ptr)(double *h, double **Jac, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:111
user_invdyn_loop_ptr user_invdyn_loop
Definition: mbs_data.h:99
mbs_get_user_model_size_ptr mbs_get_user_model_size
Definition: mbs_data.h:145
double ** frc
Matrix with the components of the resultant external forces (in the body fixed frame) applied to the ...
Definition: mbs_data.h:300
double ** dQq_dqdd
The derivative matrix of the joint force vector according to the independent joint accelerations: .
Definition: mbs_data.h:218
void(* mbs_cons_jdqd_ptr)(double *Jdqd, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:112
int nqc
Number of driven articulations, it includes qlocked and qdriven.
Definition: mbs_data.h:264
void(* mbs_bind_user_model_ptr)(MbsInfos *mbs_infos, UserModel *ums)
Definition: mbs_project_fct_ptr.h:88
void(* user_invdyn_loop_ptr)(MbsData *MBSdata, MbsInvdyn *mbs_invd)
Definition: mbs_project_fct_ptr.h:33
double * dQc_dp
Derivative of Q driven w.r.t. param p, vector size of [njoint+1].
Definition: mbs_data.h:211
double ** l3DWr
Definition: mbs_data.h:343
This structures contains a reference to a dynamic library handle.
Definition: mbs_data.h:46
UserModel * user_model
Structure containing all user models.
Definition: mbs_data.h:380
user_LinkForces_dp_ptr user_LinkForces_dp
Definition: mbs_data.h:171
mbs_print_user_model_ptr mbs_print_user_model
Definition: mbs_data.h:144
double(* user_LinkForces_dp_ptr)(double Z, double d_Z, double Zd, double d_Zd, MbsData *mbs_data, double tsim, int i_link)
Definition: mbs_project_fct_ptr.h:57
mbs_accelred_ptr mbs_accelred
Definition: mbs_data.h:73
double ** dpt
Array containing the coordinate of all anchor points (3+1 lines, npt+1 columns).
Definition: mbs_data.h:251
void(* mbs_get_user_model_size_ptr)(int *n_usr_model)
Definition: mbs_project_fct_ptr.h:85
double ** K
Stiffness matrix of size [njoint+1, njoint+1].
Definition: mbs_data.h:201
char * mbs_name
Name of the mbs project as it is stored in the xml file.
Definition: mbs_data.h:424
double *** dSWr_link3d_dqdd
The derivative matrices of each link3d MbsData::SWr vector according to the independent joint acceler...
Definition: mbs_data.h:238
void(* user_cons_jdqd_ptr)(double *jdqd, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:42
void(* user_equil_finish_ptr)(MbsData *, MbsEquil *)
Definition: mbs_project_fct_ptr.h:37
double * q0
Array with the initial values of the generalized coordinates.
Definition: mbs_data.h:289
Definition: mbs_data.h:247
int n_solid
Number of solid constraint in the system.
Definition: mbs_data.h:313
mbs_get_user_IO_size_ptr mbs_get_user_IO_size
Get the size of the UserIO structure inside the user_IO.c file.
Definition: mbs_data.h:141
mbs_gensensor_ptr mbs_gensensor
Definition: mbs_data.h:79
int n_rod
Number of rod constraint in the system.
Definition: mbs_data.h:315
real-time structure
Definition: mbs_realtime_struct.h:133
double * dqdd_dp
derivative of joint acceleration qdd w.r.t. param p, vector size of [njoint+1].
Definition: mbs_data.h:208
user_cons_J_accelred_ptr user_cons_J_accelred
Definition: mbs_data.h:112
user_ExtForces_d_ptr user_ExtForces_dqd
Definition: mbs_data.h:179
user_Link3DForces_d_ptr user_Link3DForces_dqdd
Definition: mbs_data.h:175
MbsDataLibInfo * userfctLibHandle
Definition: mbs_data.h:63
int * qlocked
Array with the indices of locked articulations.
Definition: mbs_data.h:274
double * Qa
Array of active joint forces (in case of simulink,invdyna,equil,linearization,...)
Definition: mbs_data.h:303
void(* user_equil_loop_ptr)(MbsData *MBSdata, MbsEquil *mbs_equil)
Definition: mbs_project_fct_ptr.h:36
user_load_post_ptr user_load_post
Definition: mbs_data.h:91
int Nuser_model
Number of declared user models in MBsysPad, retrieved from the multibody file.
Definition: mbs_data.h:376
char * build_path
Path to the build folder.
Definition: mbs_data.h:422
mbs_new_user_IO_ptr mbs_new_user_IO
Initialize the UserIO structure and bind the ioInfo pointer to the allocated memory (project specific...
Definition: mbs_data.h:123
int process
Flag that indicate which module is currently running (1=partitioning, 2=equilibrium,...
Definition: mbs_data.h:407
int nbody
Number of bodies in the system.
Definition: mbs_data.h:258
Structure related to tangent matrices computations.
Definition: mbs_data.h:200
double ** l
Array containing the center of mass coordinates (in the body fixed frame, one column per body includi...
Definition: mbs_data.h:252
user_JointForces_d_ptr user_JointForces_dq
Definition: mbs_data.h:163
void(* user_dirdyn_loop_ptr)(MbsData *MBSdata, MbsDirdyn *mbs_dd)
Definition: mbs_project_fct_ptr.h:30
double t0
Initial time of the simulation [s]. For dirdyn and invdyn only. This parameter is set from dirdyn/inv...
Definition: mbs_data.h:308
double * dqd_dp
derivative of joint velocity qd w.r.t. param p, vector size of [njoint+1].
Definition: mbs_data.h:207
void(* user_dirdyn_finish_ptr)(MbsData *, MbsDirdyn *)
Definition: mbs_project_fct_ptr.h:31
user_cons_jdqd_ptr user_cons_jdqd
Definition: mbs_data.h:111
double *(* user_JointForces_d_ptr)(MbsData *mbs_data, double tsim, int index)
Definition: mbs_project_fct_ptr.h:53
user_DrivenJoints_ptr user_DrivenJoints
Definition: mbs_data.h:108
user_invdyn_init_ptr user_invdyn_init
Definition: mbs_data.h:98
double * Z
Array with the current values of the distances between of the points of a link (see: user_LinkForces(...
Definition: mbs_data.h:339
void(* mbs_invdyna_ptr)(double *Q, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:110
double g[3+1]
The 3 gravity components.
Definition: mbs_data.h:256
int flag_stop
stop the simulation in case of non zero value. Negative for error, positive for user_wanted behavior.
Definition: mbs_data.h:409
double * dQa_dp
[Inverse Dynamics] derivative of Q actuated w.r.t. param p, vector size of [njoint+1].
Definition: mbs_data.h:210
void(* user_equil_fxe_ptr)(MbsData *, double *f)
Definition: mbs_project_fct_ptr.h:38
user_JointForces_dp_ptr user_JointForces_dp
Definition: mbs_data.h:166
void(* user_joystick_axes_ptr)(MbsData *mbs_data, Simu_realtime *realtime, int nb_joysticks)
Definition: mbs_project_fct_ptr.h:101
void(* mbs_get_user_IO_size_ptr)(int *n_in, int *n_out, int *n_user_IO)
Definition: mbs_project_fct_ptr.h:84
MbsOutputPtr user_outputs
Structure to share outputs between different process/libraries.
Definition: mbs_data.h:432
mbs_bind_user_model_ptr mbs_bind_user_model
Definition: mbs_data.h:143
void(* mbs_gensensor_ptr)(MbsSensor *sens, MbsData *s, int isens)
Definition: mbs_project_fct_ptr.h:114
void(* mbs_get_user_model_list_ptr)(int *user_model_list)
Definition: mbs_project_fct_ptr.h:86
int * qdriven
Array with the indices of driven articulations.
Definition: mbs_data.h:276
double * lambda
Array with the values of the Lagrange Multipliers related to the constraints.
Definition: mbs_data.h:322
double * uxd
Array with the values of the time derivatives of the user variables.
Definition: mbs_data.h:396
void(* user_free_ptr)(MbsData *MBSdata)
Definition: mbs_project_fct_ptr.h:28
double * q_sin
Array with the sine values of the generalized coordinates, if rotational (if translational,...
Definition: mbs_data.h:294
double * qdd0
Array with the initial values of the generalized acceleration.
Definition: mbs_data.h:291
void(* user_equil_init_ptr)(MbsData *MBSdata, MbsEquil *mbs_equil)
Definition: mbs_project_fct_ptr.h:35
int nqa
Number of actuated articulations.
Definition: mbs_data.h:267
mbs_delete_user_IO_ptr mbs_delete_user_IO
Free the memory associated to the given UserIO structure.
Definition: mbs_data.h:131
int nqlocked
Number of locked articulations.
Definition: mbs_data.h:265
double *(* user_ExtForces_dp_ptr)(double PxF[4], double d_PxF[4], double RxF[4][4], double d_RxF[4][4], double VxF[4], double d_VxF[4], double OMxF[4], double d_OMxF[4], double AxF[4], double d_AxF[4], double OMPxF[4], double d_OMPxF[4], MbsData *s, double tsim, int i_force)
Definition: mbs_project_fct_ptr.h:73
user_ExtForces_d_ptr user_ExtForces_dqdd
Definition: mbs_data.h:180
double *(* user_Link3DForces_ptr)(double PxF[4], double RxF[4][4], double VxF[4], double OMxF[4], double AxF[4], double OMPxF[4], MbsData *s, double tsim, int ixF)
Definition: mbs_project_fct_ptr.h:45
mbs_save_user_IO_ptr mbs_save_user_IO
Save the current UserIO values into a file stream.
Definition: mbs_data.h:160
user_LinkForces_d_ptr user_LinkForces_dqd
Definition: mbs_data.h:169
double * qdd
Array with the current values of the generalized acceleration.
Definition: mbs_data.h:287
mbs_cons_jdqd_ptr mbs_cons_jdqd
Definition: mbs_data.h:77
double * jdqd_user
Vector of jdqd for user constraints [nqv] (starting at 1), only used in symbolic accelred,...
Definition: mbs_data.h:330
user_LinkForces_d_ptr user_LinkForces_dqdd
Definition: mbs_data.h:170
void(* mbs_sensor_ptr)(MbsSensor *sens, MbsData *s, int isens)
Definition: mbs_project_fct_ptr.h:113
double * udd
For axelle red: array with the values of the acceleration of independent coordinate.
Definition: mbs_data.h:401
double * ux
Array with the values of the user variables.
Definition: mbs_data.h:395
mbs_invdynared_d_ptr mbs_invdynared_dq
Definition: mbs_data.h:81
void(* user_dirdyn_init_ptr)(MbsData *MBSdata, MbsDirdyn *mbs_dd)
Definition: mbs_project_fct_ptr.h:29
void(* mbs_print_user_model_ptr)(UserModel *ums, FILE *fs)
Definition: mbs_project_fct_ptr.h:89
double *(* user_ExtForces_ptr)(double PxF[4], double RxF[4][4], double VxF[4], double OMxF[4], double AxF[4], double OMPxF[4], MbsData *s, double tsim, int ixF)
Definition: mbs_project_fct_ptr.h:46
user_JointForces_ptr user_JointForces
Definition: mbs_data.h:89
int nhu
Number of independent constraints.
Definition: mbs_data.h:269
double * lrod
Array with the length of each rod.
Definition: mbs_data.h:316
int n_user_IO
Number of declared user IO in MBsysPad, retrieved from the file.
Definition: mbs_data.h:383
void(* user_load_post_ptr)(MbsData *MBSdata, MbsLoader *mbs_loader)
Definition: mbs_project_fct_ptr.h:27
user_dirdyn_finish_ptr user_dirdyn_finish
Definition: mbs_data.h:96
user_ExtForces_d_ptr user_ExtForces_dq
Definition: mbs_data.h:178