Function OpenSoT::operator*(const double, OpenSoT::tasks::Aggregated::Ptr)
Defined in File AutoStack.h
Function Documentation
-
OpenSoT::tasks::Aggregated::Ptr OpenSoT::operator*(const double w, OpenSoT::tasks::Aggregated::Ptr task)
operator * a weight and a task, apply the weight to the task NOTE: the weight is set the same for all the tasks in the aggregate, taking into account the originals Wfinal = w*Woriginal
- Parameters
w – a weight
task – a task
- Returns
a task ptr