17 #ifndef HPP_MANIPULATION_MANIPULATION_PLANNER_HH
18 # define HPP_MANIPULATION_MANIPULATION_PLANNER_HH
20 #include <hpp/core/path-planner.hh>
22 #include <hpp/statistics/success-bin.hh>
32 namespace manipulation {
37 public hpp::core::PathPlanner
51 virtual void oneStep ();
78 void init (
const ManipulationPlannerWkPtr_t& weak);
83 std::size_t tryConnectToRoadmap (
const core::Nodes_t nodes);
86 std::size_t tryConnectNewNodes (
const core::Nodes_t nodes);
95 ManipulationPlannerWkPtr_t weakPtr_;
99 typedef ::hpp::statistics::SuccessStatistics SuccessStatistics;
100 typedef ::hpp::statistics::SuccessBin SuccessBin;
101 typedef ::hpp::statistics::SuccessBin::Reason Reason;
103 std::vector<size_type> indexPerEdgeStatistics_;
104 std::vector<SuccessStatistics> perEdgeStatistics_;
108 PATH_PROJECTION_SHORTER = 0,
109 PATH_VALIDATION_SHORTER = 1,
110 REACHED_DESTINATION_NODE = 2,
114 PATH_VALIDATION_ZERO = 6,
115 PATH_PROJECTION_ZERO = 7
117 static const std::vector<Reason> reasons_;
127 #endif // HPP_MANIPULATION_MANIPULATION_PLANNER_HH