wbc
acceleration_scene.hpp
Go to the documentation of this file.
1#ifndef WBC_PY_ACCELERATION_SCENE_HPP
2#define WBC_PY_ACCELERATION_SCENE_HPP
3
4#include <wbc/scenes/acceleration/AccelerationScene.hpp>
7
8namespace wbc_py {
9
10wbc::JointWeights toJointWeights(const base::NamedVector<double> &weights);
11
12class AccelerationScene : public wbc::AccelerationScene{
13public:
14 AccelerationScene(std::shared_ptr<RobotModelRBDL> robot_model, std::shared_ptr<QPOASESSolver> solver, const double dt);
15 void setJointReference(const std::string& task_name, const base::NamedVector<base::JointState>& ref);
16 void setCartReference(const std::string& task_name, const base::samples::RigidBodyStateSE3& ref);
17 void setJointWeights(const base::NamedVector<double> &weights);
18 base::NamedVector<double> getJointWeights2();
19 base::NamedVector<double> getActuatedJointWeights2();
20 base::NamedVector<base::JointState> solve2(const wbc::HierarchicalQP &hqp);
21 base::NamedVector<wbc::TaskStatus> updateTasksStatus2();
22};
23
24}
25
26#endif
Definition acceleration_scene.hpp:12
void setCartReference(const std::string &task_name, const base::samples::RigidBodyStateSE3 &ref)
Definition acceleration_scene.cpp:42
void setJointWeights(const base::NamedVector< double > &weights)
Definition acceleration_scene.cpp:45
base::NamedVector< double > getActuatedJointWeights2()
Definition acceleration_scene.cpp:51
base::NamedVector< double > getJointWeights2()
Definition acceleration_scene.cpp:48
base::NamedVector< base::JointState > solve2(const wbc::HierarchicalQP &hqp)
Definition acceleration_scene.cpp:54
void setJointReference(const std::string &task_name, const base::NamedVector< base::JointState > &ref)
Definition acceleration_scene.cpp:39
base::NamedVector< wbc::TaskStatus > updateTasksStatus2()
Definition acceleration_scene.cpp:57
AccelerationScene(std::shared_ptr< RobotModelRBDL > robot_model, std::shared_ptr< QPOASESSolver > solver, const double dt)
Definition acceleration_scene.cpp:36
Definition base_types_conversion.h:14
wbc::JointWeights toJointWeights(const base::NamedVector< double > &weights)
Definition acceleration_scene.cpp:8