|
A sparse MPC solver for walking motion generation.
|
A set of problem parameters. More...
#include <ip_problem_param.h>
Public Member Functions | |
| problem_parameters (const int, const double, const double, const double, const double) | |
| ~problem_parameters () | |
| void | set_state_parameters (const double *, const double *, const double, const double *) |
| Initializes quadratic problem. More... | |
Public Attributes | |
| int | N |
| double | h_initial |
| Height of the CoM at initial state divided by the gravity, this initial state precede the first state in the preview window. More... | |
| state_parameters * | spar |
| double | i2Q [3] |
| double | i2P |
A set of problem parameters.
Definition at line 48 of file ip_problem_param.h.
| IP::problem_parameters::problem_parameters | ( | const int | N_, |
| const double | gain_position, | ||
| const double | gain_velocity, | ||
| const double | gain_acceleration, | ||
| const double | gain_jerk | ||
| ) |
Definition at line 23 of file ip_problem_param.cpp.
| IP::problem_parameters::~problem_parameters | ( | ) |
Definition at line 43 of file ip_problem_param.cpp.
| void IP::problem_parameters::set_state_parameters | ( | const double * | T_, |
| const double * | h_, | ||
| const double | h_initial_, | ||
| const double * | angle | ||
| ) |
Initializes quadratic problem.
| [in] | T_ | Sampling time (for the moment it is assumed to be constant) [sec.] |
| [in] | h_ | Height of the Center of Mass divided by gravity |
| [in] | h_initial_ | current h |
| [in] | angle | Rotation angle for each state in the preview window |
Definition at line 57 of file ip_problem_param.cpp.
| double IP::problem_parameters::h_initial |
Height of the CoM at initial state divided by the gravity, this initial state precede the first state in the preview window.
Definition at line 73 of file ip_problem_param.h.
| double IP::problem_parameters::i2P |
Control related penalty.
Definition at line 68 of file ip_problem_param.h.
| double IP::problem_parameters::i2Q[3] |
State related penalty.
Definition at line 63 of file ip_problem_param.h.
| int IP::problem_parameters::N |
Number of iterations in a preview window.
Definition at line 58 of file ip_problem_param.h.
| state_parameters* IP::problem_parameters::spar |
Definition at line 75 of file ip_problem_param.h.
1.8.15