22 #define HUMOTO_CONFIG_ENTRIES \ 23 HUMOTO_CONFIG_PARENT_CLASS(TaskAB) 24 #include HUMOTO_CONFIG_DEFINE_ACCESSORS 31 setGain(0.707106781186548);
55 Eigen::MatrixXd &A = getA();
56 Eigen::VectorXd &b = getB();
58 Eigen::VectorXd cvel_ref;
Abstract base class (for control problems)
void setDefaults()
Set members to their default values.
Analog of 'sol_structure' struct in Octave code. [determine_solution_structure.m].
virtual void setDefaults()
Set members to their default values.
std::vector< PreviewHorizonInterval > intervals_
Model Predictive Control problem for walking pattern generation [determine_solution_structure.m, form_rotation_matrices.m, form_foot_pos_matrices.m, form_condensing_matrices.m].
The root namespace of HuMoTo.
etools::SelectionMatrix velocity_selector_
Instances of this class are passed to a virtual method 'humoto::TaskBase::form()', so even though this class is basically useless in its present form we cannot avoid its definition using a template.
void finalize()
This function is called automaticaly after reading a configuration file. Does nothing by default...
std::size_t getPreviewHorizonLength() const
Returns length of the preview horizon.
TaskCoMVelocity(const double gain=0.707106781186548)
void finalize()
This function is called automaticaly after reading a configuration file. Does nothing by default...
void form(const humoto::SolutionStructure &sol_structure, const humoto::Model &model_base, const humoto::ControlProblem &control_problem)
Form the task.
humoto::wpg04::PreviewHorizon preview_horizon_