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

Function Documentation

OpenSoT::SubTask::Ptr OpenSoT::operator%(const OpenSoT::tasks::Aggregated::TaskPtr task, const std::list<unsigned int> &rowIndices)

operator % takes a task and a list of indices, generates a subtask

Parameters
  • task – a task pointer

  • rowIndices – list of indices

Returns

a pointer to a SubTask 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