wbc
JointAccelerationTask.hpp
Go to the documentation of this file.
1#ifndef JOINTACCELERATIONTASK_HPP
2#define JOINTACCELERATIONTASK_HPP
3
4#include "JointTask.hpp"
5
6namespace wbc{
11public:
12 JointAccelerationTask(TaskConfig config, uint n_robot_joints);
13 virtual ~JointAccelerationTask() = default;
14
19 virtual void update(RobotModelPtr robot_model) override;
20
21
27 virtual void setReference(const base::commands::Joints& ref);
28};
29
30using JointAccelerationTaskPtr = std::shared_ptr<JointAccelerationTask>;
31
32
33} // namespace wbc
34
35#endif
Implementation of a Joint velocity task.
Definition JointAccelerationTask.hpp:10
virtual void setReference(const base::commands::Joints &ref)
Update the Joint reference input for this task.
Definition JointAccelerationTask.cpp:24
virtual ~JointAccelerationTask()=default
virtual void update(RobotModelPtr robot_model) override
Compute the joint task matrix A.
Definition JointAccelerationTask.cpp:11
JointAccelerationTask(TaskConfig config, uint n_robot_joints)
Definition JointAccelerationTask.cpp:6
Abstract interface for a task in joint space.
Definition JointTask.hpp:11
Defines a task in the whole body control problem. Valid Configurations are e.g.
Definition TaskConfig.hpp:39
TaskConfig config
Definition Task.hpp:59
Definition ContactsAccelerationConstraint.cpp:3
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:204
std::shared_ptr< JointAccelerationTask > JointAccelerationTaskPtr
Definition JointAccelerationTask.hpp:30