centroidal_control_collection
|
Go to the documentation of this file.
33 StepModel(
double com_height,
double step_duration);
113 double _fixed_zmp = 1e0,
114 double _double_support = 1e0,
117 double _capture_point_abs = 1e1,
118 double _capture_point_rel = 1e1)
141 PlannedData
planOnce(
const RefData & ref_data,
const InitialParam & initial_param,
double current_time);
151 std::shared_ptr<VariantSequentialExtension<2>>
seq_ext_;
172 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
178 Eigen::Vector2d
zmp = Eigen::Vector2d::Zero();
195 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
210 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
213 Eigen::Vector2d
pos = Eigen::Vector2d::Zero();
216 Eigen::Vector2d
vel = Eigen::Vector2d::Zero();
235 PlannedData
planOnce(
const RefData & ref_data,
const InitialParam & initial_param,
double current_time);
std::vector< Element > element_list
List of reference element.
double end_time
End time [sec].
Element of reference data.
double fixed_zmp
Weight of fixed ZMP (for existing contacts)
std::optional< double > next_foot_zmp
ZMP of next foot [m].
double capture_point_rel
Weight of relative position of capture point and ZMP.
Eigen::Vector2d zmp
ZMP [m].
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector2d pos
CoM position [m].
StepModel(double com_height, double step_duration)
Constructor.
Element of reference data.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW bool is_single_support
Whether it is in single support phase.
double pos
Weight of CoM position.
PlannedData planOnce(const RefData &ref_data, const InitialParam &initial_param, double current_time)
Plan one step.
double free_zmp
Weight of free ZMP (for future contacts)
double vel
Weight of CoM velocity.
std::optional< Eigen::Vector2d > next_foot_zmp
ZMP of next foot [m].
Discrete dynamics on step switching.
Linear MPC based on discrete dynamics on step switching.
Eigen::Vector2d InitialParam
Initial parameter.
double com_height_
Height of robot CoM [m].
double end_time
End time [sec].
double current_zmp
Current ZMP [m].
double double_support
Weight of ZMP in double support phase.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector2d current_zmp
Current ZMP [m].
Linear MPC based on one-dimensional discrete dynamics on step switching.
bool is_single_support
Whether it is in single support phase.
std::vector< Element > element_list
List of reference element.
WeightParam(double _free_zmp=1e-2, double _fixed_zmp=1e0, double _double_support=1e0, double _pos=0.0, double _vel=0.0, double _capture_point_abs=1e1, double _capture_point_rel=1e1)
Constructor.
PlannedData planOnce(const RefData &ref_data, const InitialParam &initial_param, double current_time)
Plan one step.
std::shared_ptr< StepMpc1d > mpc_1d_
One-dimensional linear MPC.
std::shared_ptr< VariantSequentialExtension< 2 > > seq_ext_
Sequential extension of state-space model.
Eigen::Vector2d vel
CoM velocity [m/s].
StepMpc(double com_height, const StepMpc1d::WeightParam &weight_param=StepMpc1d::WeightParam())
Constructor.
StepMpc1d(double com_height, const WeightParam &weight_param=WeightParam())
Constructor.
double capture_point_abs
Weight of absolute position of capture point.
WeightParam weight_param_
Weight parameter.