wbc
CartesianAccelerationTask.hpp
Go to the documentation of this file.
1#ifndef CARTESIANACCELERATION_TASK_HPP
2#define CARTESIANACCELERATION_TASK_HPP
3
4#include "CartesianTask.hpp"
5#include <base/Acceleration.hpp>
6
7namespace wbc{
8
9base::Vector6d operator+(base::Vector6d a, base::Acceleration b);
10base::Vector6d operator-(base::Vector6d a, base::Acceleration b);
11
16public:
17 CartesianAccelerationTask(TaskConfig config, uint n_robot_joints);
18 virtual ~CartesianAccelerationTask() = default;
19
24 virtual void update(RobotModelPtr robot_model) override;
25
30 virtual void setReference(const base::samples::RigidBodyStateSE3& ref);
31};
32
33using CartesianAccelerationTaskPtr = std::shared_ptr<CartesianAccelerationTask>;
34
35} // namespace wbc
36
37#endif
virtual void update(RobotModelPtr robot_model) override
Compute the cartesian task matrix A.
Definition CartesianAccelerationTask.cpp:23
virtual ~CartesianAccelerationTask()=default
virtual void setReference(const base::samples::RigidBodyStateSE3 &ref)
Update the Cartesian reference input for this task.
Definition CartesianAccelerationTask.cpp:44
CartesianAccelerationTask(TaskConfig config, uint n_robot_joints)
Definition CartesianAccelerationTask.cpp:19
CartesianTask(const TaskConfig &_config, uint n_robot_joints)
Definition CartesianTask.cpp:6
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< CartesianAccelerationTask > CartesianAccelerationTaskPtr
Definition CartesianAccelerationTask.hpp:33
std::shared_ptr< RobotModel > RobotModelPtr
Definition RobotModel.hpp:204
std::vector< std::string > operator+(std::vector< std::string > a, std::vector< std::string > b)
Definition RobotModel.cpp:10
base::Twist operator-(const base::Pose &a, const base::Pose &b)
Definition test_robot_model.cpp:45