|
Robotran C Documentation
|
Go to the documentation of this file.
2 #ifndef _MBS_PROJECT_FCT_PTR_H_
3 #define _MBS_PROJECT_FCT_PTR_H_
20 typedef double* (*user_JointForces_ptr)(
MbsData*, double);
39 typedef 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);
40 typedef double* (*user_ExtForces_ptr)(
double PxF[4],
double RxF[4][4],
double VxF[4],
double OMxF[4],
41 double AxF[4],
double OMPxF[4],
MbsData *s,
double tsim,
int ixF);
70 typedef uint8_t Uint8;
72 typedef void (*user_keyboard_ptr)(
MbsData* mbs_data,
Simu_realtime *realtime,
int cur_t_usec,
const Uint8 *keystates);
73 typedef void (*user_realtime_plot_ptr)(
MbsData* mbs_data);
74 typedef void (*user_joystick_axes_ptr)(
MbsData* mbs_data,
Simu_realtime *realtime,
int nb_joysticks);
75 typedef void (*user_joystick_buttons_ptr)(
MbsData* mbs_data,
int buttonID);
79 typedef void (*user_realtime_visu_ptr)(
MbsData* mbs_data,
int nb_models,
int *nb_q,
double **q_vec);
void(* mbs_link_ptr)(double **frc, double **trq, double *Flnk, double *Z, double *Zd, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:84
void(* mbs_print_user_IO_ptr)(UserIO *uio)
Definition: mbs_project_fct_ptr.h:59
void(* mbs_delete_user_IO_ptr)(UserIO *uvs)
Definition: mbs_project_fct_ptr.h:51
void(* user_realtime_options_ptr)(MbsData *mbs_data, Realtime_option *options)
Definition: mbs_project_fct_ptr.h:66
user real-time option
Definition: realtime.h:42
void(* mbs_link3D_ptr)(double **frc, double **trq, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:85
Definition: user_model.h:24
General structure of the inverse dynamics module.
Definition: mbs_invdyn_struct.h:27
void(* user_invdyn_finish_ptr)(MbsData *MBSdata, MbsInvdyn *mbs_invd)
Definition: mbs_project_fct_ptr.h:28
void(* mbs_save_um_ptr)(FILE *stream, UserModel *ums)
Definition: mbs_project_fct_ptr.h:58
Contains information about UserIO.
Definition: mbs_user_interface.h:44
void(* mbs_dirdyna_ptr)(double **M, double *c, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:88
void(* mbs_delete_user_model_ptr)(UserModel *ums)
Definition: mbs_project_fct_ptr.h:50
void(* mbs_save_user_IO_ptr)(FILE *stream, UserIO *uio)
Definition: mbs_project_fct_ptr.h:60
int(* mbs_accelred_ptr)(MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:87
Definition: mbs_binder_public.h:384
void(* mbs_print_user_model_ptr)(UserModel *ums)
Definition: mbs_project_fct_ptr.h:57
void(* mbs_extforces_ptr)(double **frc, double **trq, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:86
void(* user_cons_hJ_ptr)(double *h, double **Jac, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:35
Definition: mbs_equil_struct.h:68
void(* mbs_load_user_model_ptr)(MbsInfos *mbs_infos, UserModel *ums)
Definition: mbs_project_fct_ptr.h:55
void(* user_cons_J_accelred_ptr)(MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:37
double(* user_LinkForces_ptr)(double Z, double Zd, MbsData *mbs_data, double tsim, int ilnk)
Definition: mbs_project_fct_ptr.h:38
void(* user_Derivative_ptr)(MbsData *s)
Definition: mbs_project_fct_ptr.h:33
void(* user_DrivenJoints_ptr)(MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:34
void(* user_invdyn_init_ptr)(MbsData *MBSdata, MbsInvdyn *mbs_invd)
Definition: mbs_project_fct_ptr.h:26
void(* mbs_cons_hJ_ptr)(double *h, double **Jac, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:90
void(* mbs_cons_jdqd_ptr)(double *Jdqd, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:91
double tsim
current simulation time [s]
Definition: realtime.h:114
void(* mbs_bind_user_model_ptr)(MbsInfos *mbs_infos, UserModel *ums)
Definition: mbs_project_fct_ptr.h:56
void(* user_invdyn_loop_ptr)(MbsData *MBSdata, MbsInvdyn *mbs_invd)
Definition: mbs_project_fct_ptr.h:27
void(* mbs_get_user_model_size_ptr)(int *n_usr_model)
Definition: mbs_project_fct_ptr.h:53
void(* user_cons_jdqd_ptr)(double *jdqd, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:36
void(* user_equil_finish_ptr)(MbsData *, MbsEquil *)
Definition: mbs_project_fct_ptr.h:31
Definition: mbs_data.h:149
real-time structure
Definition: realtime.h:99
void(* user_equil_loop_ptr)(MbsData *MBSdata, MbsEquil *mbs_equil)
Definition: mbs_project_fct_ptr.h:30
Definition: mbs_sensor_struct.h:18
void(* user_dirdyn_loop_ptr)(MbsData *MBSdata, MbsDirdyn *mbs_dd)
Definition: mbs_project_fct_ptr.h:24
void(* user_load_post_ptr)(MbsData *MBSdata)
Definition: mbs_project_fct_ptr.h:21
void(* user_dirdyn_finish_ptr)(MbsData *, MbsDirdyn *)
Definition: mbs_project_fct_ptr.h:25
void(* mbs_invdyna_ptr)(double *Q, MbsData *s, double tsim)
Definition: mbs_project_fct_ptr.h:89
void(* user_equil_fxe_ptr)(MbsData *, double *f)
Definition: mbs_project_fct_ptr.h:32
void(* mbs_get_user_IO_size_ptr)(int *n_in, int *n_out, int *n_user_IO)
Definition: mbs_project_fct_ptr.h:52
void(* mbs_gensensor_ptr)(MbsSensor *sens, MbsData *s, int isens)
Definition: mbs_project_fct_ptr.h:93
void(* mbs_get_user_model_list_ptr)(int *user_model_list)
Definition: mbs_project_fct_ptr.h:54
void(* user_free_ptr)(MbsData *MBSdata)
Definition: mbs_project_fct_ptr.h:22
General structure of the direct dynamic module.
Definition: mbs_dirdyn_struct.h:144
void(* user_equil_init_ptr)(MbsData *MBSdata, MbsEquil *mbs_equil)
Definition: mbs_project_fct_ptr.h:29
void(* mbs_sensor_ptr)(MbsSensor *sens, MbsData *s, int isens)
Definition: mbs_project_fct_ptr.h:92
void(* user_dirdyn_init_ptr)(MbsData *MBSdata, MbsDirdyn *mbs_dd)
Definition: mbs_project_fct_ptr.h:23