wbc
CoMVelocityTask.hpp
Go to the documentation of this file.
1#ifndef COM_VELOCITY_TASK_HPP
2#define COM_VELOCITY_TASK_HPP
3
4#include "CartesianTask.hpp"
5
6namespace wbc{
7
12public:
13 CoMVelocityTask(TaskConfig config, uint n_robot_joints);
14 virtual ~CoMVelocityTask() = default;
15
16 virtual void update(RobotModelPtr robot_model) override;
17
22 virtual void setReference(const base::samples::RigidBodyStateSE3& ref);
23};
24
25typedef std::shared_ptr<CoMVelocityTask> CoMVelocityTaskPtr;
26
27} // namespace wbc
28
29#endif
Abstract interface for a task in Cartesian space.
Definition CartesianTask.hpp:13
Implementation of a CoM velocity task.
Definition CoMVelocityTask.hpp:11
virtual void update(RobotModelPtr robot_model) override
Update Task matrices and vectors.
Definition CoMVelocityTask.cpp:11
CoMVelocityTask(TaskConfig config, uint n_robot_joints)
Definition CoMVelocityTask.cpp:7
virtual ~CoMVelocityTask()=default
virtual void setReference(const base::samples::RigidBodyStateSE3 &ref)
Update the CoM reference input for this task.
Definition CoMVelocityTask.cpp:18
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< CoMVelocityTask > CoMVelocityTaskPtr
Definition CoMVelocityTask.hpp:25