3#ifndef CTRL_LIB_CONTROLLERTASK_TASK_HPP
4#define CTRL_LIB_CONTROLLERTASK_TASK_HPP
6#include "ctrl_lib/ControllerTaskBase.hpp"
7#include <wbc/controllers/ActivationFunction.hpp>
8#include <base/Time.hpp>
27 friend class ControllerTaskBase;
44 ControllerTask(std::string
const& name =
"ctrl_lib::ControllerTask");
45 ControllerTask(std::string
const& name, RTT::ExecutionEngine* engine);
Definition ControllerTask.hpp:26
virtual bool readSetpoint()=0
virtual void updateController()=0
wbc::ActivationFunction activation_function
Definition ControllerTask.hpp:39
~ControllerTask()
Definition ControllerTask.hpp:46
void errorHook()
Definition ControllerTask.cpp:57
void stopHook()
Definition ControllerTask.cpp:61
virtual const base::VectorXd & computeActivation(wbc::ActivationFunction &activation_function)=0
void cleanupHook()
Definition ControllerTask.cpp:65
bool configureHook()
Definition ControllerTask.cpp:15
bool startHook()
Definition ControllerTask.cpp:25
void updateHook()
Definition ControllerTask.cpp:32
std::vector< std::string > field_names
Definition ControllerTask.hpp:38
virtual bool readFeedback()=0
base::Time stamp
Definition ControllerTask.hpp:41
base::VectorXd tmp
Definition ControllerTask.hpp:40
ControllerTask(std::string const &name="ctrl_lib::ControllerTask")
Definition ControllerTask.cpp:7
Definition CartesianForceController.hpp:12