Robotran C Documentation
MBSfun.h
Go to the documentation of this file.
1 //---------------------------
2 // UCL-CEREM-MBS
3 //
4 // @version MBsysLab_s 1.7.a
5 //
6 // Creation : 2006
7 // Last update : 01/10/2008
8 //---------------------------
9 
10 #ifndef MBSfun_h
11 #define MBSfun_h
12 /*--------------------*/
13 
14 
15 #include "mbs_data.h"
16 #include "mbs_aux.h"
17 #include "mbs_sensor_struct.h"
18 
19 
20 
21 //void checkMBSdata(MbsData *MBSdata);
22 
23 //void storeMBSdata(MbsData *s, char *s_name);
24 
25 
26 int dirdynared(MbsAux *mbs_aux,MbsData *s);
27 
36 int invdynared(MbsAux *mbs_aux, MbsData *s);
37 
46 int mbs_Mred(MbsAux *mbs_aux, MbsData *s);
47 
59 int mbs_Rred(MbsAux *mbs_aux, MbsData *s);
60 
73 int mbs_Rred_core(MbsAux *mbs_aux, MbsData *s);
74 
86 int mbs_comp_LUdcmp_mJv(MbsData* s, MbsAux* mbs_aux);
87 
100 int mbs_close_geo(MbsData *s, MbsAux *mbs_aux);
101 
112 int mbs_step_close_geo(MbsData *s, MbsAux *mbs_aux);
113 
120 int mbs_anim_close_geo(MbsData *mbs_data, MbsAux *mbs_aux);
121 
130 void mbs_close_kin(MbsData *s, MbsAux *mbs_aux);
131 
137 void mbs_calc_hJ(MbsData *s, MbsAux *mbs_aux);
138 
144 void mbs_calc_jdqd(MbsData *s, MbsAux *mbs_aux);
145 
158 int mbs_calc_force(MbsData *s);
159 
160 /*--------------------*/
161 #endif
mbs_step_close_geo
int mbs_step_close_geo(MbsData *s, MbsAux *mbs_aux)
compute an iteration of the position of the multibody system to solve the constraints
Definition: mbs_close_loops.c:81
mbs_close_kin
void mbs_close_kin(MbsData *s, MbsAux *mbs_aux)
compute the dependent velocities that solves the constraints.
Definition: mbs_close_loops.c:140
mbs_data.h
mbs_anim_close_geo
int mbs_anim_close_geo(MbsData *mbs_data, MbsAux *mbs_aux)
Generate the animation for failed Newton-Raphson procedure.
Definition: mbs_close_loops.c:112
mbs_Mred
int mbs_Mred(MbsAux *mbs_aux, MbsData *s)
compute Mr, the reduced mass matrix [nqu x nqu] obtained after the 2 consecutive reductions (Robotran...
Definition: mbs_Mred.c:19
mbs_comp_LUdcmp_mJv
int mbs_comp_LUdcmp_mJv(MbsData *s, MbsAux *mbs_aux)
compute and update (!) the mJv matrix, decomposing it to the LU format mbs_aux->mJv[i][j] = -mbs_aux-...
Definition: mbs_close_loops.c:25
mbs_calc_hJ
void mbs_calc_hJ(MbsData *s, MbsAux *mbs_aux)
compute the current value of the constraints ( ) and the constraint Jacobian matrix ( ).
Definition: mbs_close_loops.c:188
mbs_Rred
int mbs_Rred(MbsAux *mbs_aux, MbsData *s)
compute Rred, the reduced equations of motions on a residual form [nqu x 1] obtained after the 2 cons...
Definition: mbs_Rred.c:20
mbs_calc_force
int mbs_calc_force(MbsData *s)
compute the force and torques applied on the multibody system.
Definition: mbs_calc_force.c:13
mbs_sensor_struct.h
MbsData
Definition: mbs_data.h:149
mbs_close_geo
int mbs_close_geo(MbsData *s, MbsAux *mbs_aux)
compute a position of the multibody system which solves the constraints
Definition: mbs_close_loops.c:43
mbs_Rred_core
int mbs_Rred_core(MbsAux *mbs_aux, MbsData *s)
Compute the residual force on independant joints and required force in driven joints.
Definition: mbs_Rred.c:35
mbs_calc_jdqd
void mbs_calc_jdqd(MbsData *s, MbsAux *mbs_aux)
compute the quadratic term of the constraints at acceleration level:
Definition: mbs_close_loops.c:216
invdynared
int invdynared(MbsAux *mbs_aux, MbsData *s)
Compute the required forces ont the actuated joints in a configuration.
Definition: mbs_invdynared.c:26
mbs_aux.h
dirdynared
int dirdynared(MbsAux *mbs_aux, MbsData *s)
Definition: mbs_dirdynared.c:25