TPIK  1.0
Task Priority Inverse Kinematics
Loading...
Searching...
No Matches
CoordinationArmVehicleSolver.h
Go to the documentation of this file.
1#ifndef __ARMVEHICLESOLVER_H__
2#define __ARMVEHICLESOLVER_H__
3
4#include "ActionManager.h"
5#include "TPIK.h"
6#include <eigen3/Eigen/Dense>
7#include <iostream>
8#include <vector>
9
10namespace tpik {
25public:
33 CoordinationArmVehicleSolver(const std::shared_ptr<ActionManager> actionManager, const std::shared_ptr<TPIK> tpik, const std::shared_ptr<PriorityLevel> vehiclePriorityLevel);
40 bool SetAction(const std::string action, bool transition);
46 const Eigen::VectorXd ComputeDecoupledVelocities();
47
48private:
49 std::shared_ptr<ActionManager> actionManager_;
50 std::shared_ptr<TPIK> tpik_;
51 std::vector<std::shared_ptr<PriorityLevel>> hierarchy_;
52 std::vector<std::shared_ptr<PriorityLevel>> hierarchyArm_;
53 std::shared_ptr<PriorityLevel> vehiclePriorityLevel_;
54};
55}
56#endif
CoordinationArmVehicleSolver class.
Definition CoordinationArmVehicleSolver.h:24
CoordinationArmVehicleSolver(const std::shared_ptr< ActionManager > actionManager, const std::shared_ptr< TPIK > tpik, const std::shared_ptr< PriorityLevel > vehiclePriorityLevel)
Overload of the consturctur.
bool SetAction(const std::string action, bool transition)
Method setting the current tpik::Action.
const Eigen::VectorXd ComputeDecoupledVelocities()
Method that computes the optimized velocities for the whole system through two different optimization...
Definition Action.h:9