3#ifndef CTRL_LIB_JOINTLIMITAVOIDANCE_TASK_HPP
4#define CTRL_LIB_JOINTLIMITAVOIDANCE_TASK_HPP
6#include "ctrl_lib/JointLimitAvoidanceBase.hpp"
7#include <base/commands/Joints.hpp>
8#include <wbc/controllers/JointLimitAvoidanceController.hpp>
12class JointLimitAvoidanceController;
18 friend class JointLimitAvoidanceBase;
39 virtual const base::VectorXd&
computeActivation(wbc::ActivationFunction& activation_function);
Definition JointLimitAvoidance.hpp:17
base::commands::Joints control_output
Definition JointLimitAvoidance.hpp:44
wbc::JointLimitAvoidanceController * controller
Definition JointLimitAvoidance.hpp:46
JointLimitAvoidance(std::string const &name="ctrl_lib::JointLimitAvoidance")
Definition JointLimitAvoidance.cpp:10
virtual bool readFeedback()
Definition JointLimitAvoidance.cpp:56
void cleanupHook()
Definition JointLimitAvoidance.cpp:51
void updateHook()
Definition JointLimitAvoidance.cpp:39
virtual void updateController()
Definition JointLimitAvoidance.cpp:69
base::VectorXd influence_distance
Definition JointLimitAvoidance.hpp:45
bool configureHook()
Definition JointLimitAvoidance.cpp:18
~JointLimitAvoidance()
Definition JointLimitAvoidance.hpp:23
base::JointLimits joint_limits
Definition JointLimitAvoidance.hpp:41
base::VectorXd position_raw
Definition JointLimitAvoidance.hpp:43
bool startHook()
Definition JointLimitAvoidance.cpp:32
base::samples::Joints feedback
Definition JointLimitAvoidance.hpp:42
virtual const base::VectorXd & computeActivation(wbc::ActivationFunction &activation_function)
Definition JointLimitAvoidance.cpp:77
virtual bool readSetpoint()
Definition JointLimitAvoidance.cpp:65
void stopHook()
Definition JointLimitAvoidance.cpp:47
void errorHook()
Definition JointLimitAvoidance.cpp:43
Definition CartesianForceController.hpp:12