Singular preview control for one-dimensional CoM-ZMP model.
More...
#include <SingularPreviewControlZmp.h>
|
double | procOnce (const Eigen::VectorXd &ref_zmp_seq, const InitialParam &initial_param, double current_time, double control_dt) const |
| Process one step. More...
|
|
Singular preview control for one-dimensional CoM-ZMP model.
See the following for a detailed formulation.
- J Urata, et al. Online Decision of Foot Placement using Singular LQ Preview Regulation. Humanoids, 2011.
Definition at line 19 of file SingularPreviewControlZmp.h.
◆ SingularPreviewControlZmp1d()
CCC::SingularPreviewControlZmp1d::SingularPreviewControlZmp1d |
( |
double |
com_height, |
|
|
double |
horizon_duration, |
|
|
double |
horizon_dt |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
com_height | height of robot CoM [m] |
horizon_duration | horizon duration [sec] |
horizon_dt | discretization timestep in horizon [sec] |
Definition at line 43 of file SingularPreviewControlZmp.h.
◆ planOnce()
double CCC::SingularPreviewControlZmp1d::planOnce |
( |
const std::function< double(double)> & |
ref_zmp_func, |
|
|
const InitialParam & |
initial_param, |
|
|
double |
current_time, |
|
|
double |
control_dt = -1 |
|
) |
| const |
Plan one step.
- Parameters
-
ref_zmp_func | function of reference ZMP [m] |
initial_param | initial parameter |
current_time | current time (i.e., start time of horizon) [sec] |
control_dt | control timestep used to calculate ZMP (if omitted, horizon_dt is used) |
- Returns
- planned ZMP
◆ procOnce()
double CCC::SingularPreviewControlZmp1d::procOnce |
( |
const Eigen::VectorXd & |
ref_zmp_seq, |
|
|
const InitialParam & |
initial_param, |
|
|
double |
current_time, |
|
|
double |
control_dt |
|
) |
| const |
|
protected |
◆ SingularPreviewControlZmp
◆ horizon_dt_
double CCC::SingularPreviewControlZmp1d::horizon_dt_ = 0 |
|
protected |
◆ horizon_steps_
int CCC::SingularPreviewControlZmp1d::horizon_steps_ = -1 |
|
protected |
◆ omega_
double CCC::SingularPreviewControlZmp1d::omega_ = 0 |
|
protected |
The documentation for this class was generated from the following file:
- /home/runner/work/CentroidalControlCollection/CentroidalControlCollection/catkin_ws/src/CentroidalControlCollection/include/CCC/SingularPreviewControlZmp.h