33 #ifndef CTASKBASE_HPP_
34 #define CTASKBASE_HPP_
36 #include <scl/DataTypes.hpp>
38 #include <scl/control/task/data_structs/STaskBase.hpp>
39 #include <scl/data_structs/SRobotIO.hpp>
41 #include <scl/dynamics/CDynamicsBase.hpp>
75 virtual bool setGoalPos(
const Eigen::VectorXd & arg_goal) {
return false; }
78 virtual bool setGoalVel(
const Eigen::VectorXd & arg_goal) {
return false; }
81 virtual bool setGoalAcc(
const Eigen::VectorXd & arg_goal) {
return false; }
84 virtual bool getGoalPos(Eigen::VectorXd & arg_goal)
const {
return false; }
87 virtual bool getGoalVel(Eigen::VectorXd & arg_goal)
const {
return false; }
90 virtual bool getGoalAcc(Eigen::VectorXd & arg_goal)
const {
return false; }
93 virtual bool getPos(Eigen::VectorXd & arg_pos)
const {
return false; }
96 virtual bool getVel(Eigen::VectorXd & arg_vel)
const {
return false; }
99 virtual bool getAcc(Eigen::VectorXd & arg_acc)
const {
return false; }
120 virtual void reset()=0;
138 if(S_NULL == t_ds) {
return false; }
149 if(S_NULL == t_ds) {
return false; }
Definition: STaskBase.hpp:69
virtual sBool hasBeenInit()
Definition: CTaskBase.hpp:124
CTaskBase()
Definition: CTaskBase.hpp:105
virtual ~CTaskBase()
Definition: CTaskBase.hpp:110
virtual bool getVel(Eigen::VectorXd &arg_vel) const
Definition: CTaskBase.hpp:96
virtual sBool hasBeenActivated()
Definition: CTaskBase.hpp:146
virtual bool getPos(Eigen::VectorXd &arg_pos) const
Definition: CTaskBase.hpp:93
virtual bool getAcc(Eigen::VectorXd &arg_acc) const
Definition: CTaskBase.hpp:99
virtual bool init(STaskBase *arg_task_data, CDynamicsBase *arg_dynamics)=0
virtual bool setGoalPos(const Eigen::VectorXd &arg_goal)
Definition: CTaskBase.hpp:75
virtual bool setGoalAcc(const Eigen::VectorXd &arg_goal)
Definition: CTaskBase.hpp:81
virtual sBool setActivated(sBool arg_activate)
Definition: CTaskBase.hpp:135
virtual bool setGoalVel(const Eigen::VectorXd &arg_goal)
Definition: CTaskBase.hpp:78
Definition: CDynamicsBase.hpp:55
virtual bool getGoalPos(Eigen::VectorXd &arg_goal) const
Definition: CTaskBase.hpp:84
CDynamicsBase * dynamics_
Definition: CTaskBase.hpp:165
bool sBool
Definition: DataTypes.hpp:54
virtual bool getGoalAcc(Eigen::VectorXd &arg_goal) const
Definition: CTaskBase.hpp:90
sBool has_been_init_
Definition: SObject.hpp:72
virtual bool computeModel(const SRobotSensors *arg_sensors)=0
sBool has_been_init_
Definition: CTaskBase.hpp:162
virtual bool getGoalVel(Eigen::VectorXd &arg_goal) const
Definition: CTaskBase.hpp:87
virtual bool computeServo(const SRobotSensors *arg_sensors)=0
virtual STaskBase * getTaskData()=0
Definition: SRobotIO.hpp:49
scl::sBool has_been_activated_
Definition: STaskBase.hpp:81
Definition: CTaskBase.hpp:54