19 template <
int t_features>
39 Eigen::VectorXd &lb = getLowerBounds();
40 Eigen::VectorXd &ub = getUpperBounds();
42 I.resize(loc_var.length_);
44 for (std::size_t i = 0; i < loc_var.length_; ++i)
46 I[i] = loc_var.offset_ + i;
Abstract base class (for control problems)
static const char * JOINTS_VARIABLES_ID
Joint angles.
Analog of 'sol_structure' struct in Octave code. [determine_solution_structure.m].
Eigen::Matrix< unsigned int, Eigen::Dynamic, 1 > IndexVector
void form(const humoto::SolutionStructure &sol_structure, const humoto::Model &model_base, const humoto::ControlProblem &control_problem)
Form the task.
Location getSolutionPartLocation(const std::string &id) const
Get location of a data in the solution vector.
The root namespace of HuMoTo.
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.
const GeneralizedCoordinates< t_features > & getState() const
Return current model state.
Location of a data chunk (offset + length).