humoto
|
Abstract base class (a task in a stack of tasks / hierarchy).
#include <task.h>
Public Member Functions | |
virtual void | addATAandATb (Eigen::MatrixXd &H, Eigen::VectorXd &g) const |
Compute 'A^T * A' for general equality constaints and save or add the result to H. Compute 'A^T * b' for general equality constaints and save or add the result to g. More... | |
virtual void | checkConsistency () const =0 |
Check consistency of the constraints. More... | |
virtual void | computeViolations (ViolationsConstraints &violations, const Location &location, const Solution &solution) const =0 |
Compute violations given a solution vector. More... | |
virtual void | copyBodyTo (Eigen::MatrixXd &A, const Location &location) const =0 |
Copy body to the given matrix. More... | |
virtual void | copyBoundsTo (Eigen::VectorXd &lb, Eigen::VectorXd &ub, const Location &location) const =0 |
Copy bounds to given vectors. More... | |
virtual void | copyNegativeBodyTo (Eigen::MatrixXd &A, const Location &location) const =0 |
Copy negated body to the given matrix. More... | |
virtual std::size_t | copyTo (ContainerILU &container, const std::size_t constraints_offset) const |
Set constraints. More... | |
virtual std::size_t | copyTo (ContainerAL &container, const std::size_t constraints_offset) const |
Copy constraints to a container. More... | |
virtual std::size_t | copyTo (ContainerAB &container, const std::size_t constraints_offset) const |
Copy constraints to a container. More... | |
virtual std::size_t | copyTo (ContainerALU &container, const std::size_t constraints_offset) const |
Copy constraints to a container. More... | |
virtual void | determineActiveSet (ActiveSetConstraints &active_set, const Location &location, const Solution &solution) const =0 |
Determine active set given a solution vector. More... | |
virtual void | getATAandATb (Eigen::MatrixXd &H, Eigen::VectorXd &g) const |
Compute 'A^T * A' for general equality constaints and save or add the result to H. Compute 'A^T * b' for general equality constaints and save or add the result to g. More... | |
Location | getCopyLocation (const std::size_t number_of_constraints, const std::size_t constraints_offset, const std::size_t number_of_variables) const |
Computes location of the copied constraints in a container and verifies their consistency. More... | |
const std::string | getDescription () const |
Get description of the task. More... | |
virtual std::size_t | getNumberOfConstraints () const =0 |
Returns number of constraints in the task. More... | |
std::size_t | getNumberOfVariables () const |
Returns number of variables in the task. More... | |
virtual ConstraintType::Type | getType () const =0 |
Returns type of the constraints. More... | |
bool | isEquality () const |
Check properties of the constriaints. More... | |
bool | isSimple () const |
Check properties of the constriaints. More... | |
bool | isTwoSidedInequality () const |
Check properties of the constriaints. More... | |
void | log (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="task") const |
Log task. More... | |
void | readConfig (t_Reader &reader, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
void | readConfig (t_Reader &reader, const std::string &node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
void | readConfig (t_Reader &reader, const char *node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
void | readConfig (const std::string &file_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
void | readConfig (const std::string &file_name, const std::string &node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
void | readConfig (const std::string &file_name, const char *node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read configuration (assuming the configuration node to be in the root). More... | |
void | readNestedConfig (t_Reader &reader, const std::string &node_name, const bool crash_on_missing_entry=default_crash_on_missing_entry_) |
Read nested configuration node. More... | |
void | setDescription (const std::string &description) |
Set description of the task. More... | |
void | writeConfig (t_Writer &writer) const |
Write configuration. More... | |
void | writeConfig (t_Writer &writer, const std::string &node_name) const |
Write configuration. More... | |
void | writeConfig (const std::string &file_name) const |
Write configuration. More... | |
void | writeConfig (const std::string &file_name, const std::string &node_name) const |
Write configuration. More... | |
void | writeNestedConfig (t_Writer &writer) const |
Write nested configuration node. More... | |
void | writeNestedConfig (t_Writer &writer, const std::string &node_name) const |
Write nested configuration node. More... | |
Protected Member Functions | |
TaskBase () | |
~TaskBase () | |
Protected destructor: prevent destruction of the child classes through a base pointer. More... | |
virtual void | finalize () |
This function is called automaticaly after reading a configuration file. Does nothing by default. More... | |
virtual void | form (const humoto::SolutionStructure &sol_structure, const humoto::Model &model_base, const humoto::ControlProblem &control_problem)=0 |
Form the task. More... | |
ActiveSetConstraints & | getActiveSetGuess () |
Get active set guess. More... | |
const ActiveSetConstraints & | getActualActiveSet () const |
Get actual active set. More... | |
const std::string & | getConfigSectionID () const |
Return the default name of a configuration node corresponding to this class. More... | |
virtual std::size_t | getNumberOfEntries () const=0 |
Get number of entries in the corresponding configuration node. More... | |
virtual void | guessActiveSet (const humoto::SolutionStructure &sol_structure, const humoto::Model &model_base, const humoto::ControlProblem &control_problem) |
Initialize active set guess with defaults. More... | |
virtual void | logBody (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="constraints") const =0 |
Log body. More... | |
virtual void | logBounds (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="constraints") const =0 |
Log bounds. More... | |
virtual void | logTask (humoto::Logger &logger, const LogEntryName &parent=LogEntryName(), const std::string &name="task") const =0 |
Log task. More... | |
void | markAsUnmodified () |
By default the task is assumed to be modified. Use this function to mark it as unmodified to avoid unnecessary recomputations. More... | |
void | reset (const std::size_t number_of_constraints=0, const std::size_t number_of_variables=0, const bool initialize_matrices=false) |
Initialize constraints. More... | |
virtual void | resetBody (const std::size_t number_of_constraints=0, const bool initialize_matrices=false)=0 |
Reset body of constraints (matrix A or I) More... | |
virtual void | resetBounds (const std::size_t number_of_constraints=0, const bool initialize_matrices=false)=0 |
Reset bounds of constraints (b, lb, ub) More... | |
virtual void | setDefaults () |
Set members to their default values. More... | |
void | setNumberOfVariables (const std::size_t number_of_variables) |
Set number of variables. More... | |
Protected Attributes | |
ActiveSetConstraints | active_set_actual_ |
bool | is_modified_ |
std::size_t | number_of_variables_ |
Static Protected Attributes | |
static const bool | default_crash_on_missing_entry_ |
Private Member Functions | |
void | copyActiveSetGuessTo (ActiveSetConstraints &active_set, const Location &location) const |
Copy the active set guess of the task to the given active set. More... | |
void | copyActualActiveSetFrom (const ActiveSetConstraints &active_set, const Location &location) |
Copy the actual active set of the task from the given active set. More... | |
void | postForm () const |
Finalize formulation of a task. More... | |
void | preForm (const std::size_t number_of_variables) |
Prepare formulation of a task. More... | |
Private Attributes | |
ActiveSetConstraints | active_set_guess_ |
std::string | string_description_ |
Friends | |
class | HierarchyLevel |
|
inlineprotected |
|
inlinevirtualinherited |
Compute 'A^T * A' for general equality constaints and save or add the result to H. Compute 'A^T * b' for general equality constaints and save or add the result to g.
[in,out] | H | left lower triangular part of the result. |
[in,out] | g | result |
Reimplemented in humoto::constraints::ConstraintsIB0< TaskBase >, humoto::constraints::ConstraintsIB< TaskBase >, humoto::constraints::ConstraintsGIB0< TaskBase >, humoto::constraints::ConstraintsGIB< TaskBase >, humoto::constraints::ConstraintsASB0< TaskBase >, humoto::constraints::ConstraintsASB< TaskBase >, humoto::constraints::ConstraintsAB0< TaskBase >, and humoto::constraints::ConstraintsAB< TaskBase >.
Definition at line 443 of file constraints_base.h.
|
pure virtualinherited |
Check consistency of the constraints.
Implemented in humoto::constraints::ConstraintsIB0< TaskBase >, humoto::constraints::ConstraintsIB< TaskBase >, humoto::constraints::ConstraintsIU< TaskBase >, humoto::constraints::ConstraintsIL< TaskBase >, humoto::constraints::ConstraintsILU< TaskBase >, humoto::constraints::ConstraintsGIB0< TaskBase >, humoto::constraints::ConstraintsGIB< TaskBase >, humoto::constraints::ConstraintsGIU< TaskBase >, humoto::constraints::ConstraintsGIL< TaskBase >, humoto::constraints::ConstraintsGILU< TaskBase >, humoto::constraints::ConstraintsASB0< TaskBase >, humoto::constraints::ConstraintsASB< TaskBase >, humoto::constraints::ConstraintsASU< TaskBase >, humoto::constraints::ConstraintsASL< TaskBase >, humoto::constraints::ConstraintsASLU< TaskBase >, humoto::constraints::ConstraintsAB0< TaskBase >, humoto::constraints::ConstraintsAB< TaskBase >, humoto::constraints::ConstraintsAU< TaskBase >, humoto::constraints::ConstraintsAL< TaskBase >, and humoto::constraints::ConstraintsALU< TaskBase >.
|
pure virtualinherited |
Compute violations given a solution vector.
[in,out] | violations | violations |
[in] | location | location of the constraints in the active set |
[in] | solution | solution vector |
Implemented in humoto::constraints::ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyIMixin< BoundsB0Mixin< TaskBase > > > >, humoto::constraints::ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyGIMixin< BoundsB0Mixin< TaskBase > > > >, humoto::constraints::ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyAMixin< BoundsB0Mixin< TaskBase > > > >, humoto::constraints::ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyASMixin< BoundsB0Mixin< TaskBase > > > >, humoto::constraints::ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyAMixin< BoundsBMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyASMixin< BoundsBMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyIMixin< BoundsBMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyGIMixin< BoundsBMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyIMixin< BoundsUMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyASMixin< BoundsUMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyGIMixin< BoundsUMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyAMixin< BoundsUMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyIMixin< BoundsLMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyASMixin< BoundsLMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyAMixin< BoundsLMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyGIMixin< BoundsLMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyIMixin< BoundsLUMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyASMixin< BoundsLUMixin< TaskBase > > > >, humoto::constraints::ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyAMixin< BoundsLUMixin< TaskBase > > > >, and humoto::constraints::ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyGIMixin< BoundsLUMixin< TaskBase > > > >.
|
inlineprivate |
|
inlineprivate |
|
pure virtualinherited |
Copy body to the given matrix.
[in] | A | |
[in] | location | offset and length |
Implemented in humoto::constraints::BodyGIMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLMixin< TaskBase > >, and humoto::constraints::BodyAMixin< BoundsUMixin< TaskBase > >.
|
pure virtualinherited |
Copy bounds to given vectors.
[in] | lb | |
[in] | ub | |
[in] | location | offset and length |
Implemented in humoto::constraints::BoundsLUMixin< TaskBase >, humoto::constraints::BoundsUMixin< TaskBase >, humoto::constraints::BoundsLMixin< TaskBase >, humoto::constraints::BoundsLMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BoundsBMixin< TaskBase >, and humoto::constraints::BoundsB0Mixin< TaskBase >.
|
pure virtualinherited |
Copy negated body to the given matrix.
[in] | A | |
[in] | location | offset and length |
Implemented in humoto::constraints::BodyGIMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLMixin< TaskBase > >, and humoto::constraints::BodyAMixin< BoundsUMixin< TaskBase > >.
|
inlinevirtualinherited |
Set constraints.
[in,out] | container | new constraints |
[in] | constraints_offset | first row offset |
Reimplemented in humoto::constraints::CopySimpleToILUMixin< CopyEqualityToABMixin< ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyIMixin< BoundsBMixin< TaskBase > > > > > >, humoto::constraints::CopySimpleToILUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyIMixin< BoundsLUMixin< TaskBase > > > > >, humoto::constraints::CopySimpleToILUMixin< ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyIMixin< BoundsLMixin< TaskBase > > > > >, humoto::constraints::CopySimpleToILUMixin< ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyIMixin< BoundsUMixin< TaskBase > > > > >, and humoto::constraints::CopySimpleToILUMixin< CopyEqualityToABMixin< ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyIMixin< BoundsB0Mixin< TaskBase > > > > > >.
Definition at line 457 of file constraints_base.h.
|
inlinevirtualinherited |
Copy constraints to a container.
[in,out] | container | |
[in] | constraints_offset | first row offset |
Reimplemented in humoto::constraints::CopyTwoSidedInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyASMixin< BoundsLUMixin< TaskBase > > > > > >, humoto::constraints::CopyTwoSidedInequalityToALMixin< CopyAnyToALUMixin< CopySimpleToILUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyIMixin< BoundsLUMixin< TaskBase > > > > > > >, humoto::constraints::CopyTwoSidedInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyGIMixin< BoundsLUMixin< TaskBase > > > > > >, humoto::constraints::CopyTwoSidedInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyAMixin< BoundsLUMixin< TaskBase > > > > > >, humoto::constraints::CopyUpperInequalityToALMixin< CopyLowerInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyGIMixin< BoundsLUMixin< TaskBase > > > > > > >, humoto::constraints::CopyUpperInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyAMixin< BoundsUMixin< TaskBase > > > > > >, humoto::constraints::CopyUpperInequalityToALMixin< CopyLowerInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyASMixin< BoundsLUMixin< TaskBase > > > > > > >, humoto::constraints::CopyUpperInequalityToALMixin< CopyLowerInequalityToALMixin< CopyAnyToALUMixin< CopySimpleToILUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyIMixin< BoundsLUMixin< TaskBase > > > > > > > >, humoto::constraints::CopyUpperInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyASMixin< BoundsUMixin< TaskBase > > > > > >, humoto::constraints::CopyUpperInequalityToALMixin< CopyLowerInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyAMixin< BoundsLUMixin< TaskBase > > > > > > >, humoto::constraints::CopyUpperInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyGIMixin< BoundsUMixin< TaskBase > > > > > >, humoto::constraints::CopyUpperInequalityToALMixin< CopyAnyToALUMixin< CopySimpleToILUMixin< ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyIMixin< BoundsUMixin< TaskBase > > > > > > >, humoto::constraints::CopyLowerInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyAMixin< BoundsLMixin< TaskBase > > > > > >, humoto::constraints::CopyLowerInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyASMixin< BoundsLUMixin< TaskBase > > > > > >, humoto::constraints::CopyLowerInequalityToALMixin< CopyAnyToALUMixin< CopySimpleToILUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyIMixin< BoundsLUMixin< TaskBase > > > > > > >, humoto::constraints::CopyLowerInequalityToALMixin< CopyAnyToALUMixin< CopySimpleToILUMixin< ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyIMixin< BoundsLMixin< TaskBase > > > > > > >, humoto::constraints::CopyLowerInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyASMixin< BoundsLMixin< TaskBase > > > > > >, humoto::constraints::CopyLowerInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyGIMixin< BoundsLUMixin< TaskBase > > > > > >, humoto::constraints::CopyLowerInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyGIMixin< BoundsLMixin< TaskBase > > > > > >, and humoto::constraints::CopyLowerInequalityToALMixin< CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyAMixin< BoundsLUMixin< TaskBase > > > > > >.
Definition at line 472 of file constraints_base.h.
|
inlinevirtualinherited |
Copy constraints to a container.
[in,out] | container | |
[in] | constraints_offset | first row offset |
Reimplemented in humoto::constraints::CopyEqualityToABMixin< ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyAMixin< BoundsBMixin< TaskBase > > > > >, humoto::constraints::CopyEqualityToABMixin< ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyGIMixin< BoundsBMixin< TaskBase > > > > >, humoto::constraints::CopyEqualityToABMixin< ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyIMixin< BoundsB0Mixin< TaskBase > > > > >, humoto::constraints::CopyEqualityToABMixin< ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyASMixin< BoundsBMixin< TaskBase > > > > >, humoto::constraints::CopyEqualityToABMixin< ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyIMixin< BoundsBMixin< TaskBase > > > > >, humoto::constraints::CopyEqualityToABMixin< ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyASMixin< BoundsB0Mixin< TaskBase > > > > >, humoto::constraints::CopyEqualityToABMixin< ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyAMixin< BoundsB0Mixin< TaskBase > > > > >, and humoto::constraints::CopyEqualityToABMixin< ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyGIMixin< BoundsB0Mixin< TaskBase > > > > >.
Definition at line 487 of file constraints_base.h.
|
inlinevirtualinherited |
Copy constraints to a container.
[in,out] | container | |
[in] | constraints_offset | first row offset |
Reimplemented in humoto::constraints::CopyAnyToALUMixin< ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyASMixin< BoundsUMixin< TaskBase > > > > >, humoto::constraints::CopyAnyToALUMixin< CopyEqualityToABMixin< ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyASMixin< BoundsBMixin< TaskBase > > > > > >, humoto::constraints::CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyAMixin< BoundsLUMixin< TaskBase > > > > >, humoto::constraints::CopyAnyToALUMixin< CopyEqualityToABMixin< ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyAMixin< BoundsBMixin< TaskBase > > > > > >, humoto::constraints::CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyGIMixin< BoundsLUMixin< TaskBase > > > > >, humoto::constraints::CopyAnyToALUMixin< ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyGIMixin< BoundsUMixin< TaskBase > > > > >, humoto::constraints::CopyAnyToALUMixin< ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyAMixin< BoundsLMixin< TaskBase > > > > >, humoto::constraints::CopyAnyToALUMixin< CopySimpleToILUMixin< ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyIMixin< BoundsUMixin< TaskBase > > > > > >, humoto::constraints::CopyAnyToALUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyASMixin< BoundsLUMixin< TaskBase > > > > >, humoto::constraints::CopyAnyToALUMixin< CopyEqualityToABMixin< ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyAMixin< BoundsB0Mixin< TaskBase > > > > > >, humoto::constraints::CopyAnyToALUMixin< ViolationsComputationUMixin< ActiveSetDeterminationUMixin< BodyAMixin< BoundsUMixin< TaskBase > > > > >, humoto::constraints::CopyAnyToALUMixin< CopySimpleToILUMixin< ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyIMixin< BoundsLMixin< TaskBase > > > > > >, humoto::constraints::CopyAnyToALUMixin< CopySimpleToILUMixin< CopyEqualityToABMixin< ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyIMixin< BoundsBMixin< TaskBase > > > > > > >, humoto::constraints::CopyAnyToALUMixin< CopyEqualityToABMixin< ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyGIMixin< BoundsB0Mixin< TaskBase > > > > > >, humoto::constraints::CopyAnyToALUMixin< ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyASMixin< BoundsLMixin< TaskBase > > > > >, humoto::constraints::CopyAnyToALUMixin< CopySimpleToILUMixin< ViolationsComputationLUMixin< ActiveSetDeterminationLUMixin< BodyIMixin< BoundsLUMixin< TaskBase > > > > > >, humoto::constraints::CopyAnyToALUMixin< CopySimpleToILUMixin< CopyEqualityToABMixin< ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyIMixin< BoundsB0Mixin< TaskBase > > > > > > >, humoto::constraints::CopyAnyToALUMixin< CopyEqualityToABMixin< ViolationsComputationBMixin< ActiveSetDeterminationBMixin< BodyGIMixin< BoundsBMixin< TaskBase > > > > > >, humoto::constraints::CopyAnyToALUMixin< CopyEqualityToABMixin< ViolationsComputationB0Mixin< ActiveSetDeterminationBMixin< BodyASMixin< BoundsB0Mixin< TaskBase > > > > > >, and humoto::constraints::CopyAnyToALUMixin< ViolationsComputationLMixin< ActiveSetDeterminationLMixin< BodyGIMixin< BoundsLMixin< TaskBase > > > > >.
Definition at line 502 of file constraints_base.h.
|
pure virtualinherited |
Determine active set given a solution vector.
[in,out] | active_set | active set |
[in] | location | location of the constraints in the active set |
[in] | solution | solution vector |
Implemented in humoto::constraints::ActiveSetDeterminationBMixin< BodyAMixin< BoundsBMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationBMixin< BodyAMixin< BoundsB0Mixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationBMixin< BodyGIMixin< BoundsB0Mixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationBMixin< BodyIMixin< BoundsBMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationBMixin< BodyASMixin< BoundsB0Mixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationBMixin< BodyIMixin< BoundsB0Mixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationBMixin< BodyASMixin< BoundsBMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationBMixin< BodyGIMixin< BoundsBMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationUMixin< BodyASMixin< BoundsUMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationUMixin< BodyGIMixin< BoundsUMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationUMixin< BodyIMixin< BoundsUMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationUMixin< BodyAMixin< BoundsUMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationLMixin< BodyIMixin< BoundsLMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationLMixin< BodyASMixin< BoundsLMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationLMixin< BodyGIMixin< BoundsLMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationLMixin< BodyAMixin< BoundsLMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationLUMixin< BodyIMixin< BoundsLUMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationLUMixin< BodyGIMixin< BoundsLUMixin< TaskBase > > >, humoto::constraints::ActiveSetDeterminationLUMixin< BodyAMixin< BoundsLUMixin< TaskBase > > >, and humoto::constraints::ActiveSetDeterminationLUMixin< BodyASMixin< BoundsLUMixin< TaskBase > > >.
|
inlineprotectedvirtualinherited |
This function is called automaticaly after reading a configuration file. Does nothing by default.
Reimplemented in humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGILU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIL< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASLU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsALU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB0< TaskBase > >, humoto::pepper_mpc::MPCParameters, humoto::pepper_mpc::MotionParameters, humoto::walking::RobotFootParameters, humoto::wpg04::MPCParameters, humoto::pepper_mpc::RobotParameters, humoto::pepper_ik::WBCParameters, humoto::pepper_ik::GeneralizedCoordinates< t_features >, humoto::wpg04::TaskCoPPosition, humoto::wpg04::TaskCoMVelocity, humoto::wpg04::TaskCoPVelocity, and humoto::wpg04::TaskTerminalConstraint.
|
protectedpure virtual |
Form the task.
[in] | sol_structure | structure of the solution |
[in] | model_base | model |
[in] | control_problem | control problem |
Implemented in humoto::TaskInfeasibleInequality, humoto::TaskZeroSelectedVariables, humoto::pepper_ik::TaskBaseOrientation< FIXED_WHEELS|ROOT_PLANAR >, humoto::pepper_ik::TaskBaseCoMTracking< FIXED_WHEELS|ROOT_PLANAR >, humoto::pepper_ik::TaskBaseCoMTracking< t_features >, humoto::pepper_ik::TaskBaseOrientation< t_features >, humoto::pepper_ik::TaskTagOrientation< t_features >, humoto::TaskZeroVariables, humoto::pepper_ik::TaskTagPose3Dof< t_features >, humoto::pepper_ik::TaskTagAngularVelocity< t_features >, humoto::pepper_ik::TaskTagCompleteVelocity< t_features >, humoto::pepper_ik::TaskTagPose< t_features >, humoto::pepper_ik::TaskBodyCoMTracking< t_features >, humoto::pepper_ik::TaskJointsReference< t_features >, humoto::wpg04::TaskFootstepBounds, humoto::wpg04::TaskCoPVelocity, humoto::wpg04::TaskCoMVelocity, humoto::wpg04::TaskTerminalConstraint, humoto::wpg04::TaskCoPBounds, humoto::pepper_ik::TaskFixArms< t_features >, humoto::pepper_ik::TaskFixHead< t_features >, humoto::pepper_mpc::TaskBaseJerkMinimization, humoto::pepper_mpc::TaskBasePositionReference, humoto::pepper_mpc::TaskBaseVelocityReference, humoto::pepper_mpc::TaskCoPCentering, humoto::pepper_ik::TaskJointsBounds< t_features >, humoto::pepper_mpc::TaskBaseAccelerationBounds, humoto::pepper_mpc::TaskBaseVelocityBounds, humoto::pepper_mpc::TaskBodyPositionBounds, humoto::pepper_mpc::TaskCoPPositionBounds, and humoto::pepper_mpc::TaskBodyPositionReference.
|
inlineprotected |
|
inlineprotected |
|
inlinevirtualinherited |
Compute 'A^T * A' for general equality constaints and save or add the result to H. Compute 'A^T * b' for general equality constaints and save or add the result to g.
[in,out] | H | left lower triangular part of the result. |
[in,out] | g | result |
Reimplemented in humoto::constraints::ConstraintsIB0< TaskBase >, humoto::constraints::ConstraintsIB< TaskBase >, humoto::constraints::ConstraintsGIB0< TaskBase >, humoto::constraints::ConstraintsGIB< TaskBase >, humoto::constraints::ConstraintsASB0< TaskBase >, humoto::constraints::ConstraintsASB< TaskBase >, humoto::constraints::ConstraintsAB0< TaskBase >, and humoto::constraints::ConstraintsAB< TaskBase >.
Definition at line 436 of file constraints_base.h.
|
inlineprotectedvirtual |
Return the default name of a configuration node corresponding to this class.
Implements humoto::config::CommonConfigurableBase< true >.
|
inlineinherited |
Computes location of the copied constraints in a container and verifies their consistency.
[in] | number_of_constraints | number of added constraints |
[in] | constraints_offset | offset in the container |
[in] | number_of_variables | number of variables in the container |
Definition at line 262 of file constraints_base.h.
|
inline |
|
pure virtualinherited |
Returns number of constraints in the task.
Implemented in humoto::constraints::BodyIMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLUMixin< ContainerBase > >, humoto::constraints::BodyIMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLMixin< ContainerBase > >, humoto::constraints::BodyAMixin< BoundsLUMixin< ContainerBase > >, humoto::constraints::BodyAMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsUMixin< TaskBase > >, and humoto::constraints::BodyAMixin< BoundsBMixin< ContainerBase > >.
|
protectedpure virtualinherited |
Get number of entries in the corresponding configuration node.
Implemented in humoto::ConfigurableOptimizationProblem.
|
inlineinherited |
Returns number of variables in the task.
Definition at line 215 of file constraints_base.h.
|
pure virtualinherited |
Returns type of the constraints.
Implemented in humoto::constraints::ConstraintsIB0< TaskBase >, humoto::constraints::ConstraintsIB< TaskBase >, humoto::constraints::ConstraintsIU< TaskBase >, humoto::constraints::ConstraintsIL< TaskBase >, humoto::constraints::ConstraintsILU< TaskBase >, humoto::constraints::ConstraintsGIB0< TaskBase >, humoto::constraints::ConstraintsGIB< TaskBase >, humoto::constraints::ConstraintsGIU< TaskBase >, humoto::constraints::ConstraintsGIL< TaskBase >, humoto::constraints::ConstraintsGILU< TaskBase >, humoto::constraints::ConstraintsASB0< TaskBase >, humoto::constraints::ConstraintsASB< TaskBase >, humoto::constraints::ConstraintsASU< TaskBase >, humoto::constraints::ConstraintsASL< TaskBase >, humoto::constraints::ConstraintsASLU< TaskBase >, humoto::constraints::ConstraintsAB0< TaskBase >, humoto::constraints::ConstraintsAB< TaskBase >, humoto::constraints::ConstraintsAU< TaskBase >, humoto::constraints::ConstraintsAL< TaskBase >, and humoto::constraints::ConstraintsALU< TaskBase >.
|
inlineprotectedvirtual |
Initialize active set guess with defaults.
[in] | sol_structure | structure of the solution |
[in] | model_base | model |
[in] | control_problem | control problem |
Reimplemented in humoto::wpg04::TaskFootstepBounds, humoto::wpg04::TaskCoPBounds, humoto::pepper_mpc::TaskBaseAccelerationBounds, humoto::pepper_mpc::TaskBaseVelocityBounds, humoto::pepper_mpc::TaskCoPPositionBounds, and humoto::pepper_mpc::TaskBodyPositionBounds.
|
inlineinherited |
Check properties of the constriaints.
Definition at line 523 of file constraints_base.h.
|
inlineinherited |
Check properties of the constriaints.
Definition at line 529 of file constraints_base.h.
|
inlineinherited |
Check properties of the constriaints.
Definition at line 535 of file constraints_base.h.
|
inline |
|
protectedpure virtualinherited |
Log body.
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Implemented in humoto::constraints::BodyGIMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLUMixin< ContainerBase > >, humoto::constraints::BodyIMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLMixin< ContainerBase > >, humoto::constraints::BodyAMixin< BoundsLUMixin< ContainerBase > >, humoto::constraints::BodyAMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsUMixin< TaskBase > >, and humoto::constraints::BodyAMixin< BoundsBMixin< ContainerBase > >.
|
protectedpure virtualinherited |
Log bounds.
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Implemented in humoto::constraints::BoundsLUMixin< TaskBase >, humoto::constraints::BoundsLUMixin< ContainerBase >, humoto::constraints::BoundsUMixin< TaskBase >, humoto::constraints::BoundsUMixin< ContainerBase >, humoto::constraints::BoundsLMixin< TaskBase >, humoto::constraints::BoundsLMixin< BoundsUMixin< ContainerBase > >, humoto::constraints::BoundsLMixin< ContainerBase >, humoto::constraints::BoundsLMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BoundsBMixin< TaskBase >, humoto::constraints::BoundsBMixin< ContainerBase >, and humoto::constraints::BoundsB0Mixin< TaskBase >.
|
protectedpure virtual |
Log task.
[in,out] | logger | logger |
[in] | parent | parent |
[in] | name | name |
Implemented in humoto::SimpleTaskBaseMixin< constraints::ConstraintsIU< TaskBase > >, humoto::SimpleTaskBaseMixin< constraints::ConstraintsIL< TaskBase > >, humoto::SimpleTaskBaseMixin< constraints::ConstraintsILU< TaskBase > >, humoto::SimpleTaskBaseMixin< constraints::ConstraintsIB< TaskBase > >, humoto::SimpleTaskBaseMixin< constraints::ConstraintsIB0< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGILU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIL< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASLU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsALU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB0< TaskBase > >, humoto::pepper_ik::TaskBaseCoMTrackingBase, humoto::pepper_ik::TaskBaseOrientationBase, humoto::pepper_ik::TaskTagOrientation< t_features >, humoto::pepper_ik::TaskTagPose3Dof< t_features >, humoto::pepper_ik::TaskTagAngularVelocity< t_features >, humoto::pepper_ik::TaskTagCompleteVelocity< t_features >, humoto::pepper_ik::TaskTagPose< t_features >, humoto::pepper_ik::TaskJointsReference< t_features >, and humoto::pepper_ik::TaskBodyCoMTracking< t_features >.
|
inlineprotected |
By default the task is assumed to be modified. Use this function to mark it as unmodified to avoid unnecessary recomputations.
|
inlineprivate |
|
inlineprivate |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineprotectedinherited |
Initialize constraints.
[in] | number_of_constraints | number of constraints |
[in] | number_of_variables | number of variables |
[in] | initialize_matrices | initialize matrices using defaults |
Definition at line 175 of file constraints_base.h.
|
protectedpure virtualinherited |
Reset body of constraints (matrix A or I)
[in] | number_of_constraints | number of constraints |
[in] | initialize_matrices | initialize matrices using defaults |
Implemented in humoto::constraints::BodyGIMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyGIMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsLUMixin< ContainerBase > >, humoto::constraints::BodyIMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyIMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyASMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsBMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsB0Mixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLUMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsLMixin< ContainerBase > >, humoto::constraints::BodyAMixin< BoundsLUMixin< ContainerBase > >, humoto::constraints::BodyAMixin< BoundsLMixin< TaskBase > >, humoto::constraints::BodyAMixin< BoundsUMixin< TaskBase > >, and humoto::constraints::BodyAMixin< BoundsBMixin< ContainerBase > >.
|
protectedpure virtualinherited |
Reset bounds of constraints (b, lb, ub)
[in] | number_of_constraints | number of constraints |
[in] | initialize_matrices | initialize matrices using defaults |
Implemented in humoto::constraints::BoundsLUMixin< TaskBase >, humoto::constraints::BoundsLUMixin< ContainerBase >, humoto::constraints::BoundsUMixin< TaskBase >, humoto::constraints::BoundsUMixin< ContainerBase >, humoto::constraints::BoundsLMixin< TaskBase >, humoto::constraints::BoundsLMixin< BoundsUMixin< ContainerBase > >, humoto::constraints::BoundsLMixin< ContainerBase >, humoto::constraints::BoundsLMixin< BoundsUMixin< TaskBase > >, humoto::constraints::BoundsBMixin< TaskBase >, humoto::constraints::BoundsBMixin< ContainerBase >, and humoto::constraints::BoundsB0Mixin< TaskBase >.
|
inlineprotectedvirtual |
Set members to their default values.
Implements humoto::config::CommonConfigurableBase< true >.
Reimplemented in humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGILU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIL< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIU< TaskBase > >, humoto::WeightedSimpleTaskBaseMixin< constraints::ConstraintsGIB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAB0< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASLU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsAL< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsALU< TaskBase > >, humoto::GeneralTaskBaseMixin< constraints::ConstraintsASB0< TaskBase > >, humoto::pepper_ik::TaskBaseCoMTrackingBase, humoto::pepper_ik::TaskBaseOrientationBase, humoto::pepper_ik::TaskTagOrientation< t_features >, humoto::pepper_ik::TaskTagPose3Dof< t_features >, humoto::pepper_ik::TaskTagAngularVelocity< t_features >, humoto::pepper_ik::TaskTagCompleteVelocity< t_features >, humoto::pepper_ik::TaskTagPose< t_features >, humoto::pepper_ik::TaskBodyCoMTracking< t_features >, humoto::pepper_ik::TaskJointsReference< t_features >, humoto::wpg04::TaskFootstepBounds, humoto::wpg04::TaskCoMVelocity, humoto::wpg04::TaskCoPBounds, humoto::wpg04::TaskCoPPosition, humoto::wpg04::TaskCoPVelocity, and humoto::wpg04::TaskTerminalConstraint.
|
inline |
|
inlineprotectedinherited |
Set number of variables.
[in] | number_of_variables | number of variables |
Definition at line 142 of file constraints_base.h.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
|
protected |
|
private |
|
staticprotectedinherited |
|
protectedinherited |
Definition at line 120 of file constraints_base.h.