14 #include "API/Trajectory/trajectory.hpp"
15 #include "API/ConfigSpace/configuration.hpp"
16 #include "API/Roadmap/graph.hpp"
18 #include "HRI_costspace/HRICS_Navigation.hpp"
20 #include "utils/ConfGenerator.h"
23 #include "LightPlanner-pkg.h"
29 void p3d_deactivate_all_cntrts(
Robot* r );
39 void setHuman(
Robot* human) { this->human=human; }
40 void setSwitchData( confPtr_t qSwitch,
int idSwitch,
double positionSwitch,
double timeLimitRePlanning,
double localPathAverageLength,
double initialStep );
42 confPtr_t getQSwitch() {
return qSwitch; }
43 confPtr_t getQGoal() {
return qGoal; }
46 bool isPlanSucceeded()
const {
return planningSucceeded; }
47 bool isPlanningUndergo()
const {
return isPlanning; }
49 virtual bool init() = 0;
50 virtual void run() = 0;
54 p3d_traj* concatenateToCurrentTrajectory(
const std::vector<p3d_traj*>& trajs);
55 std::pair<bool,API::Trajectory> concatenateToCurrentTrajectory(
const API::Trajectory& newPortion);
65 bool useMultiLocalPath;
66 int baseMultiLocalPath;
67 int baseSoftMotionMultiLocalPath;
68 int headMultiLocalPath;
69 int upBodyMultiLocalPath;
70 int upBodySoftMotionMultiLocalPath;
73 bool planningSucceeded;
81 double positionSwitch;
82 double timeLimitRePlanning;
83 double localPathAverageLength;
bool initMultiLocalPath()
Initialize the robot multilocal path disable the display of the main robot.
Definition: Replanner.cpp:79
This class holds a the robot represented by a kinematic chain.
Definition: robot.hpp:42
Replanner(Robot *r)
Initialize replanner by setting the robot, the multi-localpaths available and calling the init functi...
Definition: Replanner.cpp:52
Definition: trajectory.hpp:40
Base replanner.
Definition: Replanner.hpp:33