6 #include "../../support/header/defines.h" 7 #include "../../support/header/prints.h" 8 #include "../../support/header/conversions.h" 9 #include "../../helper/header/infos.h" 11 #include "../../tasks/header/task.h" 34 std::string robotName;
35 int equalityIcat(
Task* task, CMAT::Matrix* rhop, CMAT::Matrix* Q);
36 int inequalityIcat(
Task* task, CMAT::Matrix* rhop, CMAT::Matrix* Q) ;
40 #endif // CONTROLLER_H The Controller class is responsabile of 1) taking matrices and giving them to Tasks classes...
Controller(std::string robotName)
Controller::Controller constructor.
int resetAllUpdatedFlags(std::vector< Task * > tasks)
Controller::resetAllUpdatedFlags to be called at the end of the control loop, so next loop all matric...
std::vector< double > execAlgorithm(std::vector< Task * > tasks)
Controller::execAlgorithm this function calls the step of the algorithm modifying (in the for) each t...
int updateSingleTaskMatrices(Task *task, struct Infos *const robInfo)
Controller::updateSingleTaskMatrices This function calls the updateMatrices for a single task...
ABSTRACT class task. Each task is a derived class of this class. It contains all the variable that th...
int updateMultipleTasksMatrices(std::vector< Task * > tasks, struct Infos *const robInfo)
Controller::updateAllTaskMatrices This function calls all the updateMatrices of each task...
int resetAllAlgosFlag(std::vector< Task * > tasks)
Controller::resetAllAlgosFlag Flag_W Mu_W Flag_G Mu_G must be resetted before each TPIK...