#include <potential_calculator.h>
Definition at line 42 of file potential_calculator.h.
global_planner::PotentialCalculator::PotentialCalculator |
( |
int |
nx, |
|
|
int |
ny |
|
) |
| |
|
inline |
virtual float global_planner::PotentialCalculator::calculatePotential |
( |
float * |
potential, |
|
|
unsigned char |
cost, |
|
|
int |
n, |
|
|
float |
prev_potential = -1 |
|
) |
| |
|
inlinevirtual |
virtual void global_planner::PotentialCalculator::setSize |
( |
int |
nx, |
|
|
int |
ny |
|
) |
| |
|
inlinevirtual |
Sets or resets the size of the map.
- Parameters
-
nx | The x size of the map |
ny | The y size of the mapsets or resets the size of the map |
Definition at line 64 of file potential_calculator.h.
int global_planner::PotentialCalculator::toIndex |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
inlineprotected |
int global_planner::PotentialCalculator::ns_ |
|
protected |
int global_planner::PotentialCalculator::nx_ |
|
protected |
int global_planner::PotentialCalculator::ny_ |
|
protected |
The documentation for this class was generated from the following file: