A sparse MPC solver for walking motion generation.
|
A set of problem parameters. More...
#include <as_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) |
Initializes quadratic problem. More... | |
Public Attributes | |
int | N |
state_parameters * | spar |
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... | |
double | i2Q [3] |
double | i2P |
A set of problem parameters.
Definition at line 45 of file as_problem_param.h.
AS::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 20 of file as_problem_param.cpp.
AS::problem_parameters::~problem_parameters | ( | ) |
Definition at line 40 of file as_problem_param.cpp.
void AS::problem_parameters::set_state_parameters | ( | const double * | T_, |
const double * | h_, | ||
const double | h_initial_ | ||
) |
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 |
Definition at line 53 of file as_problem_param.cpp.
double AS::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 72 of file as_problem_param.h.
double AS::problem_parameters::i2P |
Control related penalty.
Definition at line 65 of file as_problem_param.h.
double AS::problem_parameters::i2Q[3] |
State related penalty.
Definition at line 60 of file as_problem_param.h.
int AS::problem_parameters::N |
Number of iterations in a preview window.
Definition at line 55 of file as_problem_param.h.
state_parameters* AS::problem_parameters::spar |
Definition at line 68 of file as_problem_param.h.