35 #include <scl/control/task/CTaskBase.hpp>
37 #include <scl/control/task/tasks/data_structs/STaskGc.hpp>
62 virtual bool setGoalPos(
const Eigen::VectorXd & arg_goal);
65 virtual bool setGoalVel(
const Eigen::VectorXd & arg_goal);
68 virtual bool setGoalAcc(
const Eigen::VectorXd & arg_goal);
71 virtual bool getGoalPos(Eigen::VectorXd & arg_goal)
const
72 { arg_goal = data_->q_goal_;
return true; }
75 virtual bool getGoalVel(Eigen::VectorXd & arg_goal)
const
76 { arg_goal = data_->dq_goal_;
return true; }
79 virtual bool getGoalAcc(Eigen::VectorXd & arg_goal)
const
80 { arg_goal = data_->ddq_goal_;
return true; }
99 bool setFlagCompensateForGravity(
const bool arg_grav_enabled)
101 if(NULL == data_){
return false;}
102 else{ data_->gravity_enabled_ = arg_grav_enabled;
return true; }
107 virtual void reset();
CTaskGc()
Definition: CTaskGc.cpp:40
Definition: STaskBase.hpp:69
virtual bool getGoalVel(Eigen::VectorXd &arg_goal) const
Definition: CTaskGc.hpp:75
virtual bool init(STaskBase *arg_task_data, CDynamicsBase *arg_dynamics)
Definition: CTaskGc.cpp:46
virtual void reset()
Definition: CTaskGc.cpp:141
sBool achievedGoalPos()
Definition: CTaskGc.cpp:202
virtual bool computeModel(const SRobotSensors *arg_sensors)
Definition: CTaskGc.cpp:191
virtual ~CTaskGc()
Definition: CTaskGc.hpp:92
Definition: CDynamicsBase.hpp:55
Definition: CTaskGc.hpp:42
bool sBool
Definition: DataTypes.hpp:54
virtual STaskBase * getTaskData()
Definition: CTaskGc.cpp:81
virtual bool getGoalPos(Eigen::VectorXd &arg_goal) const
Definition: CTaskGc.hpp:71
virtual bool getGoalAcc(Eigen::VectorXd &arg_goal) const
Definition: CTaskGc.hpp:79
virtual bool setGoalVel(const Eigen::VectorXd &arg_goal)
Definition: CTaskGc.cpp:104
virtual bool setGoalAcc(const Eigen::VectorXd &arg_goal)
Definition: CTaskGc.cpp:123
virtual bool computeServo(const SRobotSensors *arg_sensors)
Definition: CTaskGc.cpp:149
Definition: SRobotIO.hpp:49
Definition: CTaskBase.hpp:54
virtual bool setGoalPos(const Eigen::VectorXd &arg_goal)
Definition: CTaskGc.cpp:85