wbc
CoMAccelerationTask.hpp
Go to the documentation of this file.
1#ifndef COM_ACCELERATION_TASK_HPP
2#define COM_ACCELERATION_TASK_HPP
3
4#include "CartesianTask.hpp"
5
6namespace wbc{
7
12public:
13 CoMAccelerationTask(TaskConfig config, uint n_robot_joints);
14 virtual ~CoMAccelerationTask() = 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<CoMAccelerationTask> CoMAccelerationTaskPtr;
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 CoMAccelerationTask.hpp:11
CoMAccelerationTask(TaskConfig config, uint n_robot_joints)
Definition CoMAccelerationTask.cpp:7
virtual void setReference(const base::samples::RigidBodyStateSE3 &ref)
Update the CoM reference input for this task.
Definition CoMAccelerationTask.cpp:20
virtual void update(RobotModelPtr robot_model) override
Update Task matrices and vectors.
Definition CoMAccelerationTask.cpp:11
virtual ~CoMAccelerationTask()=default
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< CoMAccelerationTask > CoMAccelerationTaskPtr
Definition CoMAccelerationTask.hpp:25
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:204