libmove3d-planners
|
Base class for planning algorithms. More...
#include <planner.hpp>
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... | |
Robot * | getActivRobot () |
retourne le Robot activ More... | |
void | setRobot (Robot *R) |
place le Robot utilisé pour la planification More... | |
Graph * | getActivGraph () |
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... | |
Node * | getInit () |
obtient le Node intial de la planification More... | |
Node * | getGoal () |
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::Trajectory * | extractTrajectory () |
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 |
Base class for planning algorithms.
Constructor of the class.
rob | a robot robot |
graph | a graph belonging to that robot |
Graph * Planner::getActivGraph | ( | ) |
Node * Planner::getGoal | ( | ) |
Node * Planner::getInit | ( | ) |
bool Planner::getInitialized | ( | ) |
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.
Cg | la Configuration finale du robot pour la planification |
void Planner::setGraph | ( | Graph * | G | ) |
bool Planner::setInit | ( | confPtr_t | Cs | ) |
place le Node initial de la planification
Set the start and goal configuration.
Cs | la Configuration initiale du robot pour la planification |
void Planner::setInitialized | ( | bool | b | ) |
modifie la valeur du Booleen de test d'initialisation
b | la valeur entrée |
void Planner::setRobot | ( | Robot * | R | ) |
|
virtual |
test de trajectoire
Reimplemented in RRT, PRM, MultiRRT, DirectedRRT, and DirectedPRM.