4 #include "API/planningAPI.hpp"
6 #include "API/Trajectory/trajectory.hpp"
7 #include "planner/planner.hpp"
9 #include "utils/OtpUtils.hpp"
11 #include "LightPlanner-pkg.h"
12 #include "planner/TrajectoryOptim/plannarTrajectorySmoothing.hpp"
18 #include <Eigen/StdVector>
22 extern void g3d_show_tcur_both_rob(p3d_rob *robotPt,
int (*fct)(p3d_rob* robot, p3d_localpath* curLp),
23 p3d_rob *hum_robotPt,
int (*hum_fct)(p3d_rob* hum_robot, p3d_localpath* hum_curLp));
25 extern bool detectSittingFurniture(
Robot* human,
double threshold,
Robot** furniture);
35 std::tr1::shared_ptr<Configuration> humanConf;
36 std::vector<Eigen::Vector2d,Eigen::aligned_allocator<Eigen::Vector2d> > humanTraj;
39 std::tr1::shared_ptr<Configuration> robotConf;
40 std::vector<Eigen::Vector2d,Eigen::aligned_allocator<Eigen::Vector2d> > robotTraj;
44 int configNumberInList;
46 bool isStandingInThisConf;
50 std::tr1::shared_ptr<Configuration> chairConf;
60 ConfigHR() {
id = index++; cost = 1.; }
62 configPt getHumanConf()
const {
return q_hum; }
63 void setHumanConf(
Robot* human, configPt q);
65 configPt getRobotConf()
const {
return q_rob; }
66 void setRobotConf(
Robot* robot, configPt q);
68 int getId()
const {
return id; }
69 void setId(
int value) {
id = value; }
71 double getCost()
const {
return cost; }
72 void setCost(
double value) { cost = value; }
91 return ( first.getCost() < second.getCost() );
105 return ( first.cost < second.cost );
113 #endif // OTPUTILS_HPP
Definition: OtpUtils.hpp:32
outputconf sorter
Definition: OtpUtils.hpp:99
This class holds a the robot represented by a kinematic chain.
Definition: robot.hpp:42
Definition: OtpUtils.hpp:55
configuration cost sorter
Definition: OtpUtils.hpp:85