Public Member Functions | Private Member Functions | Private Attributes
global_planner::GradientPath Class Reference

#include <gradient_path.h>

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

List of all members.

Public Member Functions

bool getPath (float *potential, double start_x, double start_y, double end_x, double end_y, std::vector< std::pair< float, float > > &path)
 GradientPath (PotentialCalculator *p_calc)
void setSize (int xs, int ys)
 ~GradientPath ()

Private Member Functions

int getNearestPoint (int stc, float dx, float dy)
float gradCell (float *potential, int n)

Private Attributes

float * gradx_
float * grady_
float pathStep_

Detailed Description

Definition at line 46 of file gradient_path.h.


Constructor & Destructor Documentation

Definition at line 45 of file gradient_path.cpp.

Definition at line 50 of file gradient_path.cpp.


Member Function Documentation

int global_planner::GradientPath::getNearestPoint ( int  stc,
float  dx,
float  dy 
) [inline, private]

Definition at line 65 of file gradient_path.h.

bool global_planner::GradientPath::getPath ( float *  potential,
double  start_x,
double  start_y,
double  end_x,
double  end_y,
std::vector< std::pair< float, float > > &  path 
) [virtual]

Implements global_planner::Traceback.

Definition at line 68 of file gradient_path.cpp.

float global_planner::GradientPath::gradCell ( float *  potential,
int  n 
) [private]

Definition at line 266 of file gradient_path.cpp.

void global_planner::GradientPath::setSize ( int  xs,
int  ys 
) [virtual]

Reimplemented from global_planner::Traceback.

Definition at line 58 of file gradient_path.cpp.


Member Data Documentation

Definition at line 71 of file gradient_path.h.

gradient arrays, size of potential array

Definition at line 71 of file gradient_path.h.

step size for following gradient

Definition at line 73 of file gradient_path.h.


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


global_planner
Author(s): David Lu!!
autogenerated on Sun Mar 3 2019 03:46:53