|
| TaskSet (std::shared_ptr< Model::GenericModel > model_library) |
|
std::shared_ptr< Task::GenericTask > | add (std::string task_name, int task_dimension, double task_weight=1.0) |
| Add a custom task to the task set. More...
|
|
template<template< Qontrol::ControlOutput output2 > class ControlInput> |
std::shared_ptr< ControlInput< output > > | add (std::string task_name, double task_weight=1.0) |
| Add an implemented task in the task set. More...
|
|
bool | exist (std::string task_name) |
| Check if a task exists in the task set. More...
|
|
void | getNames () |
| Get the names of all the tasks ordered in their declaration order. More...
|
|
void | update (double dt) |
| Call the update function of all the tasks in the task set. More...
|
|
std::vector< std::shared_ptr< Task::GenericTask > > | getTasks () |
| Get all the tasks. More...
|
|
std::vector< double > | getTasksWeight () |
| Get the relative weight of all the tasks in the task set ordered in their declaration order. More...
|
|
int | getTaskIndex (std::string task_name) |
| Get the index of a task in the task set. More...
|
|
void | remove (std::shared_ptr< Task::GenericTask > task_ptr) |
| Remove a task from the task set. More...
|
|
void | remove (std::string task_name) |
| Remove a task from the task set. More...
|
|
bool | setTaskWeight (std::shared_ptr< Task::GenericTask > task, double task_weight) |
| Set a task weight relatively to all the tasks in the task set. More...
|
|
bool | setTaskWeight (std::string task_name, double task_weight) |
| Set a task weight relatively to all the tasks in the task set. More...
|
|
template<Qontrol::ControlOutput output>
class Qontrol::Task::TaskSet< output >
Handle all the tasks added to the problem.
- Template Parameters
-
output | The tasks control output |