|
| CellData (double d, unsigned int x, unsigned int y, unsigned int sx, unsigned int sy) |
| Constructor for CellData objects. More...
|
|
Definition at line 99 of file inflation.hpp.
cost_map::Inflate::CellData::CellData |
( |
double |
d, |
|
|
unsigned int |
x, |
|
|
unsigned int |
y, |
|
|
unsigned int |
sx, |
|
|
unsigned int |
sy |
|
) |
| |
|
inline |
Constructor for CellData objects.
- Parameters
-
d | The distance to the nearest obstacle, used for ordering in the priority queue |
x | The x coordinate of the cell in the cost map |
y | The y coordinate of the cell in the cost map |
sx | The x coordinate of the closest obstacle cell in the costmap |
sy | The y coordinate of the closest obstacle cell in the costmap |
- Returns
Definition at line 109 of file inflation.hpp.
Provide an ordering between CellData objects in the priority queue.
- Returns
- We want the lowest distance to have the highest priority... so this returns true if a has higher priority than b
Definition at line 117 of file inflation.hpp.
double cost_map::Inflate::CellData::distance_ |
unsigned int cost_map::Inflate::CellData::src_x_ |
unsigned int cost_map::Inflate::CellData::src_y_ |
unsigned int cost_map::Inflate::CellData::x_ |
unsigned int cost_map::Inflate::CellData::y_ |
The documentation for this struct was generated from the following file: