wbc
JointVelocityTask.hpp
Go to the documentation of this file.
1#ifndef JOINTVELOCITYTASK_HPP
2#define JOINTVELOCITYTASK_HPP
3
4#include "JointTask.hpp"
5
6namespace wbc{
11public:
12 JointVelocityTask(TaskConfig config, uint n_robot_joints);
13 virtual ~JointVelocityTask() = default;
14
19 virtual void update(RobotModelPtr robot_model) override;
20
26 virtual void setReference(const base::commands::Joints& ref);
27};
28
29typedef std::shared_ptr<JointVelocityTask> JointVelocityTaskPtr;
30
31} // namespace wbc
32
33#endif
Abstract interface for a task in joint space.
Definition JointTask.hpp:11
Implementation of a Joint velocity task.
Definition JointVelocityTask.hpp:10
virtual void update(RobotModelPtr robot_model) override
Compute the joint task matrix A.
Definition JointVelocityTask.cpp:11
JointVelocityTask(TaskConfig config, uint n_robot_joints)
Definition JointVelocityTask.cpp:6
virtual ~JointVelocityTask()=default
virtual void setReference(const base::commands::Joints &ref)
Update the Joint reference input for this task.
Definition JointVelocityTask.cpp:24
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< JointVelocityTask > JointVelocityTaskPtr
Definition JointVelocityTask.hpp:29
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:204