hpp-core
6.0.0
Implement basic classes for canonical path planning for kinematic chains.
|
Go to the documentation of this file.
30 #ifndef HPP_CORE_PATH_PLANNER_K_PRM_STAR_HH
31 #define HPP_CORE_PATH_PLANNER_K_PRM_STAR_HH
37 namespace pathPlanner {
67 virtual void startSolve();
70 virtual void tryConnectInitAndGoals();
72 virtual void oneStep();
74 STATE getComputationState()
const;
85 void init(
const kPrmStarWkPtr_t& weak);
90 void generateRandomConfig();
94 void connectInitAndGoal();
98 bool connectNodeToClosestNeighbors(
const NodePtr_t& node);
100 std::size_t numberNodes_;
102 Nodes_t::const_iterator linkingNodeIt_;
104 Nodes_t::iterator itNeighbor_;
110 bool reachedLastNeighbor_;
112 kPrmStarWkPtr_t weak_;
121 #endif // HPP_CORE_PATH_PLANNER_K_PRM_STAR_HH
pinocchio::size_type size_type
Definition: fwd.hh:173
std::list< NodePtr_t > Nodes_t
Definition: fwd.hh:181
@ BUILD_ROADMAP
Definition: k-prm-star.hh:48
shared_ptr< const Problem > ProblemConstPtr_t
Definition: fwd.hh:197
shared_ptr< Roadmap > RoadmapPtr_t
Definition: fwd.hh:199
static const double kPRM
Constant kPRM = 2 e.
Definition: k-prm-star.hh:54
Definition: bi-rrt-planner.hh:35
Definition: k-prm-star.hh:44
STATE
Computation step of the algorithm.
Definition: k-prm-star.hh:47
PathPlanner Parent_t
Definition: k-prm-star.hh:55
@ CONNECT_INIT_GOAL
Definition: k-prm-star.hh:50
shared_ptr< kPrmStar > kPrmStarPtr_t
Definition: fwd.hh:304
@ LINK_NODES
Definition: k-prm-star.hh:49
Definition: path-planner.hh:45
#define HPP_CORE_DLLAPI
Definition: config.hh:88