Function OpenSoT::operator%(const OpenSoT::constraints::Aggregated::ConstraintPtr, const std::list<unsigned int>&)

Function Documentation

OpenSoT::SubConstraint::Ptr OpenSoT::operator%(const OpenSoT::constraints::Aggregated::ConstraintPtr constraint, const std::list<unsigned int> &rowIndices)

operator % takes a constraint and a list of indices, generates a subconstraint

Parameters
  • constraint – a constraint pointer

  • rowIndices – list of indices

Returns

a pointer to a SubConstraint generated from task with the given indices TODO: this will not work with tasks under the folder torque, in that case another solution should be found