libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
CellPRM Class Reference
Inheritance diagram for CellPRM:
PRM Planner

Public Member Functions

 ~Vis_PRM ()
 Class destructor.
 
uint expand (p3d_graph *Graph_Pt, int(*fct_stop)(void), void(*fct_draw)(void))
 fonction principale de l'algorithme Vis_PRM More...
 
- Public Member Functions inherited from PRM
 PRM (Robot *robot, Graph *graph)
 Constructor.
 
 ~PRM ()
 Destructor.
 
int getNumberOfExpansion () const
 
virtual unsigned init ()
 Initialize the PRM. More...
 
bool checkStopConditions ()
 Check the stopping conditions of PRM. More...
 
bool preConditions ()
 Check the pre-conditions of PRM. More...
 
virtual void expandOneStep ()
 Perform a single expansion step of PRM.
 
unsigned int run ()
 Main function of the PRM. More...
 
bool trajFound ()
 Check whether PRM has found a trajectory. More...
 
API::TrajectoryextractTrajectory ()
 Extract a trajectory going through all the waypoints.
 
- Public Member Functions inherited from Planner
 Planner ()
 Plain Constructor of the class.
 
 Planner (Robot *rob, Graph *graph)
 Constructor of the class. More...
 
virtual ~Planner ()
 Destructeur de la classe.
 
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...
 
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 ()
 

Public Attributes

WorkSpace * WS
 Class constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from PRM
unsigned m_nbAddedNode
 
int m_nbConscutiveFailures
 
int m_nbExpansions
 
std::vector< confPtr_t > waypoints
 waypoints through which the solution path should go
 
std::vector< Node * > waypointNodes
 nodes containing the waypoints
 
- Protected Attributes inherited from Planner
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
 

Member Function Documentation

uint CellPRM::expand ( p3d_graph *  Graph_Pt,
int(*)(void)  fct_stop,
void(*)(void)  fct_draw 
)

fonction principale de l'algorithme Vis_PRM

Parameters
Graph_Ptle graphPt affiché
(*fct_stop)(void)la fonction d'arret
(*fct_draw)(void)la fonction d'affichage
Returns
le nombre de Node ajoutés au Graph

Member Data Documentation

WorkSpace* CellPRM::WS

Class constructor.

Parameters
Theworkspace

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