13 const double gravity_)
24 for (
unsigned int i = 0; i < N; i++)
29 angle =
new double[N];
double * zref_y
N reference coordinates of ZMP.
#define SMPC_NUM_VAR
Total number of variables.
double * zref_x
N reference coordinates of ZMP.
double * fp_x
Coordinates of N points satisfying constraints,.
double * lb
2*N bounds for coordinates of ZMP position.
double h0
h = hCoM/gravity for each preview step
double * T
Norm of the acceleration due to gravity.
~smpc_parameters()
Default destructor.
smpc_parameters(const unsigned int, const double, const double gravity_=9.81)
Allocate memory and initialize some of the parameters.
double * ub
2*N bounds for coordinates of ZMP position.
double gravity
Height of the CoM.
double * h
Preview sampling time.
double * X
A chunk of memory allocated for solution.
double * fp_y
Coordinates of N points satisfying constraints,.