Public Member Functions | Protected Attributes | List of all members
global_planner::Traceback Class Referenceabstract

#include <traceback.h>

Inheritance diagram for global_planner::Traceback:
Inheritance graph
[legend]

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)
 
virtual ~Traceback ()
 

Protected Attributes

unsigned char lethal_cost_
 
PotentialCalculatorp_calc_
 
int xs_
 
int ys_
 

Detailed Description

Definition at line 81 of file traceback.h.

Constructor & Destructor Documentation

◆ Traceback()

global_planner::Traceback::Traceback ( PotentialCalculator p_calc)
inline

Definition at line 119 of file traceback.h.

◆ ~Traceback()

virtual global_planner::Traceback::~Traceback ( )
inlinevirtual

Definition at line 120 of file traceback.h.

Member Function Documentation

◆ getIndex()

int global_planner::Traceback::getIndex ( int  x,
int  y 
)
inline

Definition at line 126 of file traceback.h.

◆ getPath()

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

◆ setLethalCost()

void global_planner::Traceback::setLethalCost ( unsigned char  lethal_cost)
inline

Definition at line 129 of file traceback.h.

◆ setSize()

virtual void global_planner::Traceback::setSize ( int  xs,
int  ys 
)
inlinevirtual

Reimplemented in global_planner::GradientPath.

Definition at line 122 of file traceback.h.

Member Data Documentation

◆ lethal_cost_

unsigned char global_planner::Traceback::lethal_cost_
protected

Definition at line 134 of file traceback.h.

◆ p_calc_

PotentialCalculator* global_planner::Traceback::p_calc_
protected

Definition at line 135 of file traceback.h.

◆ xs_

int global_planner::Traceback::xs_
protected

Definition at line 133 of file traceback.h.

◆ ys_

int global_planner::Traceback::ys_
protected

Definition at line 133 of file traceback.h.


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


global_planner
Author(s): David Lu!!
autogenerated on Mon Mar 6 2023 03:50:40