32 #ifndef CCONTROLLERTASK_HPP_
33 #define CCONTROLLERTASK_HPP_
35 #include <scl/control/CControllerBase.hpp>
36 #include <scl/control/task/data_structs/SControllerMultiTask.hpp>
38 #include <scl/control/task/CTaskBase.hpp>
39 #include <scl/control/task/CNonControlTaskBase.hpp>
40 #include <scl/control/task/CServo.hpp>
42 #include <sutil/CMappedMultiLevelList.hpp>
137 bool addTask(
const std::string &arg_task_name,
138 CTaskBase* arg_task,
const sUInt arg_level);
143 bool removeTask(
const std::string &arg_task_name);
154 sUInt
getNumTasks(
const std::string& arg_type)
const;
sutil::CMappedMultiLevelList< std::string, CTaskBase * > tasks_
Definition: CControllerMultiTask.hpp:205
virtual sBool computeNonControlOperations()
Definition: CControllerMultiTask.cpp:570
CServo servo_
Definition: CControllerMultiTask.hpp:200
Definition: CControllerMultiTask.hpp:89
Definition: SControllerMultiTask.hpp:54
bool addNonControlTask(const std::string &arg_task_name, CNonControlTaskBase *arg_task)
Definition: CControllerMultiTask.cpp:379
CNonControlTaskBase * getNonControlTask(const std::string &arg_name)
Definition: CControllerMultiTask.cpp:435
virtual ~CControllerMultiTask()
Definition: CControllerMultiTask.hpp:99
sBool activateTask(const std::string &arg_task_name)
Definition: CControllerMultiTask.cpp:336
sUInt task_non_ctrl_count_
Definition: CControllerMultiTask.hpp:214
virtual sBool computeDynamics()
Definition: CControllerMultiTask.cpp:536
CControllerMultiTask()
Definition: CControllerMultiTask.cpp:45
CTaskBase * active_task_
Definition: CControllerMultiTask.hpp:220
sBool deactivateNonControlTask(const std::string &arg_type)
Definition: CControllerMultiTask.cpp:477
sutil::CMappedMultiLevelList< std::string, STaskBase * > tasks_
Definition: SControllerMultiTask.hpp:65
Definition: CMappedList.hpp:85
virtual sBool init(SControllerBase *arg_data, scl::CDynamicsBase *arg_dynamics)
Definition: CControllerMultiTask.cpp:54
SServo servo_
Definition: SControllerMultiTask.hpp:58
sUInt getNumNonControlTasks() const
Definition: CControllerMultiTask.hpp:180
bool removeNonControlTask(const std::string &arg_task_name)
Definition: CControllerMultiTask.cpp:410
sUInt task_count_
Definition: CControllerMultiTask.hpp:208
sUInt getNumTasks() const
Definition: CControllerMultiTask.hpp:150
sutil::CMappedList< std::string, CNonControlTaskBase * > tasks_non_ctrl_
Definition: CControllerMultiTask.hpp:211
Definition: CDynamicsBase.hpp:55
Definition: CNonControlTaskBase.hpp:49
Eigen::VectorXd force_gc_
Definition: SServo.hpp:66
bool sBool
Definition: DataTypes.hpp:54
Definition: SControllerBase.hpp:48
bool addTask(const std::string &arg_task_name, CTaskBase *arg_task, const sUInt arg_level)
Definition: CControllerMultiTask.cpp:227
virtual sBool reset()
Definition: CControllerMultiTask.cpp:194
Definition: CControllerBase.hpp:59
Definition: CServo.hpp:54
Definition: CMappedMultiLevelList.hpp:48
sBool activateNonControlTask(const std::string &arg_type)
Definition: CControllerMultiTask.cpp:455
sBool deactivateTask(const std::string &arg_task_name)
Definition: CControllerMultiTask.cpp:356
bool removeTask(const std::string &arg_task_name)
Definition: CControllerMultiTask.cpp:259
bool computeRangeSpaces()
Definition: CControllerMultiTask.cpp:595
virtual const Eigen::VectorXd * getControlForces()
Definition: CControllerMultiTask.hpp:117
virtual sBool computeControlForces()
Definition: CControllerMultiTask.cpp:500
CTaskBase * getTask(const std::string &arg_name)
Definition: CControllerMultiTask.cpp:295
SControllerMultiTask * data_
Definition: CControllerMultiTask.hpp:197
Definition: CTaskBase.hpp:54