Nav2 Navigation Stack - rolling
main
ROS 2 Navigation Stack
|
Storage for cell information used during queue expansion. More...
#include <nav2_dwb_controller/costmap_queue/include/costmap_queue/costmap_queue.hpp>
Public Member Functions | |
CellData (const double d, const unsigned int i, const unsigned int x, const unsigned int y, const unsigned int sx, const unsigned int sy) | |
Real Constructor. More... | |
CellData () | |
Default Constructor - Should be used sparingly. | |
Static Public Member Functions | |
static unsigned | absolute_difference (const unsigned x, const unsigned y) |
Public Attributes | |
double | distance_ |
unsigned int | index_ |
unsigned int | x_ |
unsigned int | y_ |
unsigned int | src_x_ |
unsigned int | src_y_ |
Storage for cell information used during queue expansion.
Definition at line 51 of file costmap_queue.hpp.
|
inline |
Real Constructor.
d | The distance to the nearest obstacle |
i | The index of the cell in the costmap. Redundant with the following two parameters. |
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 source cell in the costmap |
sy | The y coordinate of the closest source cell in the costmap |
Definition at line 63 of file costmap_queue.hpp.