Function OpenSoT::operator*(const double, OpenSoT::tasks::Aggregated::TaskPtr)

Function Documentation

OpenSoT::tasks::Aggregated::TaskPtr OpenSoT::operator*(const double w, OpenSoT::tasks::Aggregated::TaskPtr task)

operator * takes a weight and a task, apply the weight to the task NOTE: the weight is set taking into account the one already set: Wfinal = w*Woriginal

Parameters
  • w – a weight

  • task – a task

Returns

a task ptr