hpp-core
6.0.0
Implement basic classes for canonical path planning for kinematic chains.
|
Generic implementation of RRT algorithm. More...
#include <hpp/core/diffusing-planner.hh>
Public Types | |
typedef PathPlanner | Parent_t |
Public Member Functions | |
virtual void | startSolve () |
virtual void | oneStep () |
One step of extension. More... | |
void | configurationShooter (const ConfigurationShooterPtr_t &shooter) |
Set configuration shooter. More... | |
![]() | |
virtual | ~PathPlanner () |
virtual const RoadmapPtr_t & | roadmap () const |
Get roadmap. More... | |
ProblemConstPtr_t | problem () const |
Get problem. More... | |
virtual PathVectorPtr_t | solve () |
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... | |
unsigned long int | maxIterations () const |
Get maximal number of iterations. More... | |
void | timeOut (const double &timeOut) |
set time out (in seconds) More... | |
double | timeOut () const |
Get time out. More... | |
void | stopWhenProblemIsSolved (bool enable) |
PathVectorPtr_t | computePath () const |
Find a path in the roadmap and transform it in trajectory. More... | |
Static Public Member Functions | |
static DiffusingPlannerPtr_t | createWithRoadmap (const ProblemConstPtr_t &problem, const RoadmapPtr_t &roadmap) |
Return shared pointer to new object. More... | |
static DiffusingPlannerPtr_t | create (const ProblemConstPtr_t &problem) |
Return shared pointer to new object. More... | |
Protected Member Functions | |
DiffusingPlanner (const ProblemConstPtr_t &problem, const RoadmapPtr_t &roadmap) | |
Constructor. More... | |
DiffusingPlanner (const ProblemConstPtr_t &problem) | |
Constructor with roadmap. More... | |
void | init (const DiffusingPlannerWkPtr_t &weak) |
Store weak pointer to itself. More... | |
virtual PathPtr_t | extend (const NodePtr_t &near, ConfigurationIn_t target) |
![]() | |
PathPlanner (const ProblemConstPtr_t &problem) | |
PathPlanner (const ProblemConstPtr_t &problem, const RoadmapPtr_t &roadmap) | |
void | init (const PathPlannerWkPtr_t &weak) |
Store weak pointer to itself. More... | |
Generic implementation of RRT algorithm.
|
protected |
Constructor.
|
protected |
Constructor with roadmap.
void hpp::core::DiffusingPlanner::configurationShooter | ( | const ConfigurationShooterPtr_t & | shooter | ) |
Set configuration shooter.
|
static |
Return shared pointer to new object.
|
static |
Return shared pointer to new object.
|
protectedvirtual |
Extend a node in the direction of a configuration
near | node in the roadmap, |
target | target configuration |
|
protected |
Store weak pointer to itself.
|
virtual |
One step of extension.
Implements hpp::core::PathPlanner.
|
virtual |
Initialize the problem resolution Call parent implementation and check that goal is defined as a set of configurations.
Reimplemented from hpp::core::PathPlanner.