centroidal_control_collection
|
Go to the documentation of this file.
47 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
56 double horizon_duration,
62 weight_param.toPreviewControlWeightParam())
73 double planOnce(
const std::function<
double(
double)> & ref_zmp_func,
76 double control_dt = -1)
const;
80 double procOnce(
const Eigen::VectorXd & ref_zmp_seq,
83 double control_dt)
const;
98 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
101 Eigen::Vector2d
pos = Eigen::Vector2d::Zero();
104 Eigen::Vector2d
vel = Eigen::Vector2d::Zero();
107 Eigen::Vector2d
acc = Eigen::Vector2d::Zero();
118 double horizon_duration,
132 Eigen::Vector2d
planOnce(
const std::function<Eigen::Vector2d(
double)> & ref_zmp_func,
133 const InitialParam & initial_param,
135 double control_dt = -1)
const;
std::shared_ptr< PreviewControlZmp1d > preview_control_1d_
One-dimensional preview control.
PreviewControl< 3, 1, 1 >::StateDimVector InitialParam
Initial parameter.
PreviewControl< 3, 1, 1 >::WeightParam toPreviewControlWeightParam() const
Convert to PreviewControl::WeightParam.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW PreviewControlZmp1d(double com_height, double horizon_duration, double horizon_dt, const WeightParam &weight_param=WeightParam())
Constructor.
Eigen::Vector2d planOnce(const std::function< Eigen::Vector2d(double)> &ref_zmp_func, const InitialParam &initial_param, double current_time, double control_dt=-1) const
Plan one step.
Preview control for one-dimensional CoM-ZMP model.
double com_jerk
CoM jerk weight.
double planOnce(const std::function< double(double)> &ref_zmp_func, const InitialParam &initial_param, double current_time, double control_dt=-1) const
Plan one step.
Eigen::Vector2d acc
CoM acceleration [m/s^2].
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector2d pos
CoM position [m].
double procOnce(const Eigen::VectorXd &ref_zmp_seq, const InitialParam &initial_param, double current_time, double control_dt) const
Process one step.
PreviewControlZmp(double com_height, double horizon_duration, double horizon_dt, const PreviewControlZmp1d::WeightParam &weight_param=PreviewControlZmp1d::WeightParam())
Constructor.
Preview control for CoM-ZMP model.
Eigen::Vector2d vel
CoM velocity [m/s].
WeightParam(double _zmp=1.0, double _com_jerk=1e-8)
Constructor.