#include <traceback.h>
Public Member Functions | |
int | getIndex (int x, int y) |
virtual bool | getPath (float *potential, double start_x, double start_y, double end_x, double end_y, std::vector< std::pair< float, float > > &path)=0 |
void | setLethalCost (unsigned char lethal_cost) |
virtual void | setSize (int xs, int ys) |
Traceback (PotentialCalculator *p_calc) | |
Protected Attributes | |
unsigned char | lethal_cost_ |
PotentialCalculator * | p_calc_ |
int | xs_ |
int | ys_ |
Definition at line 45 of file traceback.h.
global_planner::Traceback::Traceback | ( | PotentialCalculator * | p_calc | ) | [inline] |
Definition at line 47 of file traceback.h.
int global_planner::Traceback::getIndex | ( | int | x, |
int | y | ||
) | [inline] |
Definition at line 54 of file traceback.h.
virtual bool global_planner::Traceback::getPath | ( | float * | potential, |
double | start_x, | ||
double | start_y, | ||
double | end_x, | ||
double | end_y, | ||
std::vector< std::pair< float, float > > & | path | ||
) | [pure virtual] |
Implemented in global_planner::GradientPath, and global_planner::GridPath.
void global_planner::Traceback::setLethalCost | ( | unsigned char | lethal_cost | ) | [inline] |
Definition at line 57 of file traceback.h.
virtual void global_planner::Traceback::setSize | ( | int | xs, |
int | ys | ||
) | [inline, virtual] |
Reimplemented in global_planner::GradientPath.
Definition at line 50 of file traceback.h.
unsigned char global_planner::Traceback::lethal_cost_ [protected] |
Definition at line 62 of file traceback.h.
PotentialCalculator* global_planner::Traceback::p_calc_ [protected] |
Definition at line 63 of file traceback.h.
int global_planner::Traceback::xs_ [protected] |
Definition at line 61 of file traceback.h.
int global_planner::Traceback::ys_ [protected] |
Definition at line 61 of file traceback.h.