A sparse MPC solver for walking motion generation.
rect_constraint.h
Go to the documentation of this file.
1 
8 #ifndef RECT_CONSTRAINT_H
9 #define RECT_CONSTRAINT_H
10 
11 /****************************************
12  * INCLUDES
13  ****************************************/
14 
15 #include <Eigen/Geometry>
16 
17 
18 
19 /****************************************
20  * TYPEDEFS
21  ****************************************/
22 
23 using namespace Eigen;
24 
25 
28 
31 {
32  public:
33  RectangularConstraint_ZMP(const double *);
34  void rotate_translate(const double, const double, const double, const double);
35  void Constraints2Vert();
36 
37 
38 
57  double D[4*2];
58 
62  double d[4];
63 
65  double d_orig[4];
66 
68  MatrixXd vert;
69 };
70 
72 #endif /*RECT_CONSTRAINT_H*/
73 
MatrixXd vert
Absolute coordinates of vertices.
Defines rectangular constraints (of the form D*z <= d) for the ZMP.