A container for parameters of the SMPC solver.
More...
#include <WMG.h>
A container for parameters of the SMPC solver.
Definition at line 55 of file WMG.h.
◆ smpc_parameters()
smpc_parameters::smpc_parameters |
( |
const unsigned int |
N, |
|
|
const double |
hCoM_, |
|
|
const double |
gravity_ = 9.81 |
|
) |
| |
Allocate memory and initialize some of the parameters.
- Parameters
-
[in] | N | preview window length |
[in] | hCoM_ | Height of the Center of Mass [meter] |
[in] | gravity_ | gravity [m/s^2] |
Definition at line 10 of file smpc_parameters.cpp.
◆ ~smpc_parameters()
smpc_parameters::~smpc_parameters |
( |
| ) |
|
◆ angle
double* smpc_parameters::angle |
initial h
Array of N absolute angles corresponding to supports in the preview window.
Definition at line 88 of file WMG.h.
◆ fp_x
double* smpc_parameters::fp_x |
Coordinates of N points satisfying constraints,.
Definition at line 92 of file WMG.h.
◆ fp_y
double* smpc_parameters::fp_y |
Coordinates of N points satisfying constraints,.
Definition at line 93 of file WMG.h.
◆ gravity
double smpc_parameters::gravity |
Height of the CoM.
Definition at line 80 of file WMG.h.
double* smpc_parameters::h |
Preview sampling time.
Definition at line 84 of file WMG.h.
◆ h0
double smpc_parameters::h0 |
◆ hCoM
double smpc_parameters::hCoM |
Definition at line 78 of file WMG.h.
◆ init_state
Initial state.
Definition at line 110 of file WMG.h.
◆ lb
double* smpc_parameters::lb |
2*N bounds for coordinates of ZMP position.
Definition at line 98 of file WMG.h.
double* smpc_parameters::T |
Norm of the acceleration due to gravity.
Definition at line 82 of file WMG.h.
◆ ub
double* smpc_parameters::ub |
2*N bounds for coordinates of ZMP position.
Definition at line 99 of file WMG.h.
double* smpc_parameters::X |
A chunk of memory allocated for solution.
Definition at line 113 of file WMG.h.
◆ zref_x
double* smpc_parameters::zref_x |
N reference coordinates of ZMP.
Definition at line 104 of file WMG.h.
◆ zref_y
double* smpc_parameters::zref_y |
N reference coordinates of ZMP.
Definition at line 105 of file WMG.h.
The documentation for this class was generated from the following files: