libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
Planner Class Referenceabstract

Base class for planning algorithms. More...

#include <planner.hpp>

Inheritance diagram for Planner:
DirectedPRM HRICS::HumanAwareMotionPlanner PRM TreePlanner HRICS::ConfigSpace HRICS::MultiHandOver HRICS::OTPMotionPl HRICS::Workspace ACR CellPRM PerturbationRoadmap RRM Vis_PRM EST RRT ThresholdPlanner

Public Member Functions

 Planner ()
 Plain Constructor of the class.
 
 Planner (Robot *rob, Graph *graph)
 Constructor of the class. More...
 
virtual ~Planner ()
 Destructeur de la classe.
 
virtual bool trajFound ()
 test de trajectoire More...
 
RobotgetActivRobot ()
 retourne le Robot activ More...
 
void setRobot (Robot *R)
 place le Robot utilisé pour la planification More...
 
GraphgetActivGraph ()
 obtient le Graph actif pour la planification More...
 
void setGraph (Graph *G)
 modifie le Graph actif pour la planification More...
 
bool setInit (confPtr_t Cs)
 place le Node initial de la planification More...
 
bool setGoal (confPtr_t Cg)
 place le Node final de la planification More...
 
NodegetInit ()
 obtient le Node intial de la planification More...
 
NodegetGoal ()
 obtient le Node final de la planification More...
 
confPtr_t getInitConf ()
 Get init configuration.
 
confPtr_t getGoalConf ()
 Get goal configuration.
 
bool getInitialized ()
 test si le Planner est initialisé pour la planification More...
 
void setInitialized (bool b)
 modifie la valeur du Booleen de test d'initialisation More...
 
virtual unsigned init ()
 Méthode d'initialisation du Planner.
 
virtual unsigned int run ()=0
 Run function.
 
int getRunId ()
 Get the run Id.
 
void setRunId (int id)
 Set the run Id.
 
double getTime ()
 return time in algorithm this function must be called after ChronoTimeOfDayOn() More...
 
void chronoStart ()
 
void chronoStop ()
 
void chronoUpdate ()
 
virtual API::TrajectoryextractTrajectory ()
 

Protected Attributes

int(* _stop_func )()
 
void(* _draw_func )()
 
confPtr_t _q_start
 
confPtr_t _q_goal
 
Node_Start
 Le Node initial de la planification.
 
Node_Goal
 Le Node final de la planification.
 
Robot_Robot
 Le Robot pour lequel la recherche va se faire.
 
Graph_Graph
 Le Graph qui va être utilisé
 
bool _Init
 Le Planner a été initialisé
 
bool m_fail
 
int m_runId
 
double m_time
 

Detailed Description

Base class for planning algorithms.

Author
Florian Pilardeau,B90,6349 <fpilarde>

Constructor & Destructor Documentation

Planner::Planner ( Robot rob,
Graph graph 
)

Constructor of the class.

Parameters
roba robot robot
grapha graph belonging to that robot

Member Function Documentation

Graph * Planner::getActivGraph ( )

obtient le Graph actif pour la planification

Returns
le Graph actif pour la planification
Robot * Planner::getActivRobot ( )

retourne le Robot activ

Returns
Le Robot activ
Node * Planner::getGoal ( )

obtient le Node final de la planification

Returns
le Node final de la planification
Node * Planner::getInit ( )

obtient le Node intial de la planification

Returns
le Node intial de la planification
bool Planner::getInitialized ( )

test si le Planner est initialisé pour la planification

Returns
le Planner est initialisé
double Planner::getTime ( )

return time in algorithm this function must be called after ChronoTimeOfDayOn()

Time of day chrono.

bool Planner::setGoal ( confPtr_t  Cg)

place le Node final de la planification

Set the start and goal configuration.

Parameters
Cgla Configuration finale du robot pour la planification
Returns
un Node a été ajouté au graph
void Planner::setGraph ( Graph G)

modifie le Graph actif pour la planification

Parameters
Gle nouveau Graph activ
bool Planner::setInit ( confPtr_t  Cs)

place le Node initial de la planification

Set the start and goal configuration.

Parameters
Csla Configuration initiale du robot pour la planification
Returns
un Node a été ajouté au graph
void Planner::setInitialized ( bool  b)

modifie la valeur du Booleen de test d'initialisation

Parameters
bla valeur entrée
void Planner::setRobot ( Robot R)

place le Robot utilisé pour la planification

Parameters
Rle Robot pour lequel la planification va se faire
bool Planner::trajFound ( )
virtual

test de trajectoire

Returns
la trajectoire entre les Node Start et Goal existe

Reimplemented in RRT, PRM, MultiRRT, DirectedRRT, and DirectedPRM.


The documentation for this class was generated from the following files: