Robotran C Documentation
mbs_lqr_struct.h
Go to the documentation of this file.
1 
2 
3 #ifndef MBS_LQR_STRUCT_h
4 #define MBS_LQR_STRUCT_h
5 
6 
8 #include "riccati.h"
9 
10 typedef struct MbsLqr // computation structure necessary for MBS equation linearization through lpk method
11 {
12 
13  MbsSS *ss;
14 
15  double **Q;
16  double **R;
17  double **N;
18 
20 
21  double **K;
22 
23 
24 } MbsLqr;
25 
26 
27 typedef struct LqrAss // computation structure necessary for MBS equation linearization through lpk method
28 {
29  int nx;
30  int nu;
31  int ny;
32  double **A;
33  double **B;
34  double **C;
35 
36 }LqrAss;
37 
38 
39 
40 #endif
MbsLqr::ric
MbsRiccati * ric
computation structure used to solve the Algebraic Riccation Equation
Definition: mbs_lqr_struct.h:19
MbsRiccati
Definition: riccati.h:14
MbsLqr::R
double ** R
symmetric gain matrix for input
Definition: mbs_lqr_struct.h:16
MbsLqr
Definition: mbs_lqr_struct.h:10
LqrAss::A
double ** A
Definition: mbs_lqr_struct.h:32
MbsLqr::ss
MbsSS * ss
copy of the state-space representation given as an argument
Definition: mbs_lqr_struct.h:13
MbsLqr::Q
double ** Q
symmetric gain matrix for regulation (tracking)
Definition: mbs_lqr_struct.h:15
mbs_statespace_struct.h
MbsLqr::K
double ** K
the gain matrix for the Linear Quadratic Regulator
Definition: mbs_lqr_struct.h:21
LqrAss::B
double ** B
Definition: mbs_lqr_struct.h:33
MbsSS
The State-space representation starts at index 0.
Definition: mbs_statespace_struct.h:10
LqrAss
Definition: mbs_lqr_struct.h:27
LqrAss::nx
int nx
Definition: mbs_lqr_struct.h:29
riccati.h
LqrAss::C
double ** C
Definition: mbs_lqr_struct.h:34
MbsLqr::N
double ** N
gain matrix for cross terms
Definition: mbs_lqr_struct.h:17
LqrAss::ny
int ny
Definition: mbs_lqr_struct.h:31
LqrAss::nu
int nu
Definition: mbs_lqr_struct.h:30