Robotran C Documentation
mbs_statespace_struct.h
Go to the documentation of this file.
1 
2 
3 #ifndef MBS_STATESPACE_STRUCT_h
4 #define MBS_STATESPACE_STRUCT_h
5 
6 
7 
8 
10 typedef struct MbsSS // where SS stands for state-space representation on the form x=[qu qud (ux)]
11 {
12  int *iu;
13  int *iy;
14 
15  int nx;
16  int nu;
17  int ny;
18 
19  double **A;
20  double **B;
21  double **C;
22  double **D;
23 
24  // lienarization "working" variables
25  double **Mr;
26  double **Gr;
27  double **Kr;
28  double **Lr;
29 
30  double **Bvuc_0;
31 
32  double **Gx;
33  double **Kx;
34  double **Lx;
35 
36  double **Jr;
37  double **Jx;
38  double **Sr;
39 
40  int compute_JS;
41 
42  // working variables
43  int nqu;
44  int Nux;
45  double *columnKr;
46  double *columnGr;
47  double *columnLr;
48  double **Mr_copy;
49  int *iLU;
50  double *N;
51 
52 } MbsSS;
53 
54 
55 
56 #endif
MbsSS::Lr
double ** Lr
Linearized stiff state matrix : d Rr / d ux.
Definition: mbs_statespace_struct.h:28
MbsSS::Mr
double ** Mr
unused for the moment
Definition: mbs_statespace_struct.h:25
MbsSS::Mr_copy
double ** Mr_copy
Definition: mbs_statespace_struct.h:48
MbsSS::Nux
int Nux
Definition: mbs_statespace_struct.h:44
MbsSS::B
double ** B
input matrix [nx nu]
Definition: mbs_statespace_struct.h:20
MbsSS::iy
int * iy
index of the state space representation output in the space space vector x. The vector is re-ordered ...
Definition: mbs_statespace_struct.h:13
MbsSS
The State-space representation starts at index 0.
Definition: mbs_statespace_struct.h:10
MbsSS::compute_JS
int compute_JS
simple flag indicating whether the Jr,Jx and Sr matrices are computed to obtain the A matrix.
Definition: mbs_statespace_struct.h:40
MbsSS::iLU
int * iLU
Definition: mbs_statespace_struct.h:49
MbsSS::A
double ** A
state space matrix [nx nx]
Definition: mbs_statespace_struct.h:19
MbsSS::columnKr
double * columnKr
Definition: mbs_statespace_struct.h:45
MbsSS::Jr
double ** Jr
Linearized Inertia matrix : d Rr / d qddu (including inerter terms)
Definition: mbs_statespace_struct.h:36
MbsSS::Lx
double ** Lx
Linearized ODE stiff state matrix : d uxd / d ux.
Definition: mbs_statespace_struct.h:34
MbsSS::Kx
double ** Kx
Linearized ODE stiffness matrix : d uxd / d qu.
Definition: mbs_statespace_struct.h:33
MbsSS::ny
int ny
number of output (limited to 2*nqu)
Definition: mbs_statespace_struct.h:17
MbsSS::Kr
double ** Kr
Linearized stiffness matrix : d Rr / d qu.
Definition: mbs_statespace_struct.h:27
MbsSS::columnLr
double * columnLr
Definition: mbs_statespace_struct.h:47
MbsSS::Sr
double ** Sr
Linearized State derivativ matrix : d Rr / d uxd.
Definition: mbs_statespace_struct.h:38
MbsSS::Jx
double ** Jx
Linearized ODE Inertia matrix : d uxd / d qddu.
Definition: mbs_statespace_struct.h:37
MbsSS::C
double ** C
output matrix [ny nx]
Definition: mbs_statespace_struct.h:21
MbsSS::nqu
int nqu
Definition: mbs_statespace_struct.h:43
MbsSS::iu
int * iu
index of the state space representation input in the Qq vector. The vector is re-ordered in the proce...
Definition: mbs_statespace_struct.h:12
MbsSS::N
double * N
Definition: mbs_statespace_struct.h:50
MbsSS::Gx
double ** Gx
Linearized ODE damping matrix : d uxd / d qdu.
Definition: mbs_statespace_struct.h:32
MbsSS::D
double ** D
Definition: mbs_statespace_struct.h:22
MbsSS::columnGr
double * columnGr
Definition: mbs_statespace_struct.h:46
MbsSS::Gr
double ** Gr
Linearized damping matrix : d Rr / d qdu.
Definition: mbs_statespace_struct.h:26
MbsSS::Bvuc_0
double ** Bvuc_0
copy of the Bvuc matrix (with index 0 !)
Definition: mbs_statespace_struct.h:30
MbsSS::nu
int nu
number of input (limited to njoint for the moment as only joint forces are considered as input)
Definition: mbs_statespace_struct.h:16
MbsSS::nx
int nx
number of state, (normally nx=2*nqu)
Definition: mbs_statespace_struct.h:15