Function OpenSoT::operator<<(OpenSoT::AutoStack::Ptr, const OpenSoT::tasks::Aggregated::TaskPtr)

Function Documentation

OpenSoT::AutoStack::Ptr OpenSoT::operator<<(OpenSoT::AutoStack::Ptr stack, const OpenSoT::tasks::Aggregated::TaskPtr constraint)

operator << adds a new tasks as a constraint to the stack specified

Parameters
  • stack – a pointer to the stack

  • constraint – a pointer to the constraint defined as a task

Returns

a pointer to the same input task, with a constraint added (NOTICE the task is NOT a copy, it’s the input task to which we added a new constraint)