centroidal_control_collection
|
Go to the documentation of this file.
45 omega_(std::sqrt(constants::
g / com_height))
56 double planOnce(
const std::function<
double(
double)> & ref_zmp_func,
57 const InitialParam & initial_param,
59 double control_dt = -1)
const;
63 double procOnce(
const Eigen::VectorXd & ref_zmp_seq,
64 const InitialParam & initial_param,
66 double control_dt)
const;
92 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
95 Eigen::Vector2d
pos = Eigen::Vector2d::Zero();
98 Eigen::Vector2d
vel = Eigen::Vector2d::Zero();
122 Eigen::Vector2d
planOnce(
const std::function<Eigen::Vector2d(
double)> & ref_zmp_func,
123 const InitialParam & initial_param,
125 double control_dt = -1)
const;
129 std::shared_ptr<SingularPreviewControlZmp1d>
spc_1d_;
double procOnce(const Eigen::VectorXd &ref_zmp_seq, const InitialParam &initial_param, double current_time, double control_dt) const
Process one step.
constexpr double g
Gravitational acceleration [m/s^2].
Eigen::Vector2d planned_zmp
Current ZMP planned in previous step [m].
Singular preview control for CoM-ZMP model.
Singular preview control for one-dimensional CoM-ZMP model.
double planned_zmp
Current ZMP planned in previous step [m].
double pos
CoM position [m].
SingularPreviewControlZmp1d(double com_height, double horizon_duration, double horizon_dt)
Constructor.
EIGEN_MAKE_ALIGNED_OPERATOR_NEW Eigen::Vector2d pos
CoM position [m].
double omega_
Time constant for inverted pendulum dynamics.
double vel
CoM velocity [m/s].
std::shared_ptr< SingularPreviewControlZmp1d > spc_1d_
One-dimensional preview control.
double horizon_dt_
Discretization timestep in horizon [sec].
int horizon_steps_
Number of steps in horizon.
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.
Eigen::Vector2d vel
CoM velocity [m/s].
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.
SingularPreviewControlZmp(double com_height, double horizon_duration, double horizon_dt)
Constructor.