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 
39 int dirdynared(MbsAux *mbs_aux,MbsData *s);
40 
49 int invdynared(MbsAux *mbs_aux, MbsData *s);
50 
61 int mbs_Mred(MbsAux *mbs_aux, MbsData *s);
62 
74 int mbs_Rred(MbsAux *mbs_aux, MbsData *s);
75 
88 int mbs_Rred_core(MbsAux *mbs_aux, MbsData *s);
89 
101 int mbs_comp_LUdcmp_mJv(MbsData* s, MbsAux* mbs_aux);
102 
115 int mbs_close_geo(MbsData *s, MbsAux *mbs_aux);
116 
127 int mbs_step_close_geo(MbsData *s, MbsAux *mbs_aux);
128 
135 int mbs_anim_close_geo(MbsData *mbs_data, MbsAux *mbs_aux);
136 
145 void mbs_close_kin(MbsData *s, MbsAux *mbs_aux);
146 
154 int mbs_calc_hJ(MbsData *s, MbsAux *mbs_aux);
155 
163 int mbs_calc_jdqd(MbsData *s, MbsAux *mbs_aux);
164 
177 int mbs_calc_force(MbsData *s);
178 
179 /*--------------------*/
180 #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:146
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:118
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:22
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_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:23
mbs_calc_force
int mbs_calc_force(MbsData *s)
compute the force and torques applied on the multibody system.
Definition: mbs_calc_force.c:16
mbs_sensor_struct.h
mbs_calc_hJ
int 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:194
MbsData
Definition: mbs_data.h:246
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_calc_jdqd
int mbs_calc_jdqd(MbsData *s, MbsAux *mbs_aux)
compute the quadratic term of the constraints at acceleration level:
Definition: mbs_close_loops.c:236
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:41
invdynared
int invdynared(MbsAux *mbs_aux, MbsData *s)
Compute the required forces ont the actuated joints in a configuration.
Definition: mbs_invdynared.c:28
mbs_aux.h
dirdynared
int dirdynared(MbsAux *mbs_aux, MbsData *s)
Compute the joint accelerations of the system in the current configuration.
Definition: mbs_dirdynared.c:26