hpp-core
4.9.0
Implement basic classes for canonical path planning for kinematic chains.
|
#include <hpp/core/plan-and-optimize.hh>
Public Member Functions | |
virtual void | startSolve () |
Call internal path planner implementation. More... | |
virtual void | oneStep () |
One iteration of path planning or path optimization. More... | |
virtual PathVectorPtr_t | finishSolve (const PathVectorPtr_t &path) |
Optimize planned path. More... | |
void | addPathOptimizer (const PathOptimizerPtr_t &optimizer) |
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 () |
virtual void | tryDirectPath () HPP_CORE_DEPRECATED |
virtual void | tryConnectInitAndGoals () |
Try to connect initial and goal configurations to existing roadmap. 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 PlanAndOptimizePtr_t | create (const PathPlannerPtr_t &pathPlanner) |
Return shared pointer to new object. More... | |
Protected Member Functions | |
PlanAndOptimize (const PathPlannerPtr_t &pathPlanner) | |
Protected Member Functions inherited from hpp::core::PathPlanner | |
PathPlanner (const Problem &problem) | |
PathPlanner (const Problem &problem, const RoadmapPtr_t &roadmap) | |
void | init (const PathPlannerWkPtr_t &weak) |
Store weak pointer to itself. More... | |
Path planner and optimizer
Plans a path and iteratively applies a series of optimizer on the result.
|
protected |
void hpp::core::PlanAndOptimize::addPathOptimizer | ( | const PathOptimizerPtr_t & | optimizer | ) |
|
static |
Return shared pointer to new object.
|
virtual |
Optimize planned path.
Reimplemented from hpp::core::PathPlanner.
|
virtual |
One iteration of path planning or path optimization.
Implements hpp::core::PathPlanner.
|
virtual |
Call internal path planner implementation.
Reimplemented from hpp::core::PathPlanner.