Function OpenSoT::operator<<(OpenSoT::tasks::Aggregated::TaskPtr, const OpenSoT::constraints::Aggregated::ConstraintPtr)

Function Documentation

OpenSoT::tasks::Aggregated::TaskPtr OpenSoT::operator<<(OpenSoT::tasks::Aggregated::TaskPtr task, const OpenSoT::constraints::Aggregated::ConstraintPtr constraint)

operator << adds a new constraint to the task specified

Parameters
  • task – a pointer to the task

  • constraint – a pointer to the constraint

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)