centroidal_control_collection
|
Linear MPC based on discrete dynamics on step switching. More...
#include <StepMpc.h>
Classes | |
struct | InitialParam |
Initial parameter. More... | |
struct | PlannedData |
Planned data. More... | |
struct | RefData |
Reference data. More... | |
Public Member Functions | |
StepMpc (double com_height, const StepMpc1d::WeightParam &weight_param=StepMpc1d::WeightParam()) | |
Constructor. More... | |
PlannedData | planOnce (const RefData &ref_data, const InitialParam &initial_param, double current_time) |
Plan one step. More... | |
Protected Attributes | |
std::shared_ptr< StepMpc1d > | mpc_1d_ |
One-dimensional linear MPC. More... | |
Linear MPC based on discrete dynamics on step switching.
See the following for a detailed formulation.
|
inline |
PlannedData CCC::StepMpc::planOnce | ( | const RefData & | ref_data, |
const InitialParam & | initial_param, | ||
double | current_time | ||
) |
Plan one step.
ref_data | reference data |
initial_param | initial parameter |
current_time | current time (i.e., start time of horizon) [sec] |
|
protected |