k-PRM* path planning algorithm as described in https://arxiv.org/pdf/1105.1186.pdf. More...
#include <hpp/core/path-planner/k-prm-star.hh>
Public Types | |
| enum | STATE { BUILD_ROADMAP, LINK_NODES, CONNECT_INIT_GOAL, FAILURE } |
| Computation step of the algorithm. More... | |
| typedef PathPlanner | Parent_t |
Public Member Functions | |
| virtual void | startSolve () |
| Initialize the problem resolution. More... | |
| virtual void | oneStep () |
| One step of the algorithm. More... | |
| STATE | getComputationState () const |
| get the computationnal state of the algorithm More... | |
Public Member Functions inherited from hpp::core::PathPlanner | |
| virtual | ~PathPlanner () |
| virtual const RoadmapPtr_t & | roadmap () const |
| Get roadmap. More... | |
| const Problem & | problem () const |
| Get problem. More... | |
| virtual PathVectorPtr_t | solve () |
| Solve. More... | |
| virtual void | tryDirectPath () HPP_CORE_DEPRECATED |
| Try to make direct connection between init and goal configurations, in order to avoid a random shoot. More... | |
| virtual void | tryConnectInitAndGoals () |
| Try to connect initial and goal configurations to existing roadmap. More... | |
| virtual PathVectorPtr_t | finishSolve (const PathVectorPtr_t &path) |
| Post processing of the resulting path. More... | |
| void | interrupt () |
| Interrupt path planning. More... | |
| void | maxIterations (const unsigned long int &n) |
| Set maximal number of iterations. More... | |
| void | timeOut (const double &timeOut) |
| set time out (in seconds) More... | |
| PathVectorPtr_t | computePath () const |
| Find a path in the roadmap and transform it in trajectory. More... | |
Static Public Member Functions | |
| static kPrmStarPtr_t | create (const Problem &problem) |
| Return shared pointer to new instance. More... | |
| static kPrmStarPtr_t | createWithRoadmap (const Problem &problem, const RoadmapPtr_t &roadmap) |
| Return shared pointer to new instance. More... | |
Static Public Attributes | |
| static const double | kPRM |
| Constant kPRM = 2 e. More... | |
Protected Member Functions | |
| kPrmStar (const Problem &problem) | |
| Protected constructor. More... | |
| kPrmStar (const Problem &problem, const RoadmapPtr_t &roadmap) | |
| Protected constructor. More... | |
| void | init (const kPrmStarWkPtr_t &weak) |
| Store weak pointer to itself. More... | |
Protected Member Functions inherited from hpp::core::PathPlanner | |
| PathPlanner (const Problem &problem) | |
| Constructor. More... | |
| PathPlanner (const Problem &problem, const RoadmapPtr_t &roadmap) | |
| Constructor. More... | |
| void | init (const PathPlannerWkPtr_t &weak) |
| Store weak pointer to itself. More... | |
k-PRM* path planning algorithm as described in https://arxiv.org/pdf/1105.1186.pdf.
|
protected |
Protected constructor.
| problem | the path planning problem |
|
protected |
Protected constructor.
| problem | the path planning problem |
| roadmap | previously built roadmap |
|
static |
Return shared pointer to new instance.
| problem | the path planning problem |
|
static |
Return shared pointer to new instance.
| problem | the path planning problem |
| roadmap | previously built roadmap |
| STATE hpp::core::pathPlanner::kPrmStar::getComputationState | ( | ) | const |
get the computationnal state of the algorithm
|
protected |
Store weak pointer to itself.
|
virtual |
One step of the algorithm.
Implements hpp::core::PathPlanner.
|
virtual |
Initialize the problem resolution.
Reimplemented from hpp::core::PathPlanner.
|
static |
Constant kPRM = 2 e.