Storage for cell information used during obstacle inflation. More...
#include <cell_data.h>
Public Member Functions | |
| CellData (double d, double i, unsigned int x, unsigned int y, unsigned int sx, unsigned int sy) | |
| Constructor for a CellData object. | |
Public Attributes | |
| double | distance_ |
| unsigned int | index_ |
| unsigned int | src_x_ |
| unsigned int | src_y_ |
| unsigned int | x_ |
| unsigned int | y_ |
Storage for cell information used during obstacle inflation.
Definition at line 44 of file cell_data.h.
| costmap_2d::CellData::CellData | ( | double | d, | |
| double | i, | |||
| unsigned int | x, | |||
| unsigned int | y, | |||
| unsigned int | sx, | |||
| unsigned int | sy | |||
| ) | [inline] |
Constructor for a CellData object.
| d | The distance to the nearest obstacle, used for ordering in the priority queue | |
| i | The index of the cell in the cost map | |
| 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 |
Definition at line 56 of file cell_data.h.
Definition at line 58 of file cell_data.h.
| unsigned int costmap_2d::CellData::index_ |
Definition at line 59 of file cell_data.h.
| unsigned int costmap_2d::CellData::src_x_ |
Definition at line 61 of file cell_data.h.
| unsigned int costmap_2d::CellData::src_y_ |
Definition at line 61 of file cell_data.h.
| unsigned int costmap_2d::CellData::x_ |
Definition at line 60 of file cell_data.h.
| unsigned int costmap_2d::CellData::y_ |
Definition at line 60 of file cell_data.h.