wbc
JointTask.hpp
Go to the documentation of this file.
1#ifndef JOINTTASK_HPP
2#define JOINTTASK_HPP
3
4#include "../core/Task.hpp"
5#include <base/commands/Joints.hpp>
6
7namespace wbc {
11class JointTask : public Task{
12public:
13 JointTask(const TaskConfig& _config, uint n_robot_joints);
14 virtual ~JointTask();
15
19 virtual void setReference(const base::commands::Joints& ref) = 0;
20
21};
22
23} //namespace wbc
24
25#endif
Abstract interface for a task in joint space.
Definition JointTask.hpp:11
JointTask(const TaskConfig &_config, uint n_robot_joints)
Definition JointTask.cpp:5
virtual ~JointTask()
Definition JointTask.cpp:10
virtual void setReference(const base::commands::Joints &ref)=0
Update the Joint reference input for this task.
Defines a task in the whole body control problem. Valid Configurations are e.g.
Definition TaskConfig.hpp:39
Abstract class to represent a generic task for a WBC optimization problem.
Definition Task.hpp:16
Definition ContactsAccelerationConstraint.cpp:3