Nav2 Navigation Stack - humble  humble
ROS 2 Navigation Stack
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
costmap_queue::CellData Class Reference

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_
 

Detailed Description

Storage for cell information used during queue expansion.

Definition at line 51 of file costmap_queue.hpp.

Constructor & Destructor Documentation

◆ CellData()

costmap_queue::CellData::CellData ( const double  d,
const unsigned int  i,
const unsigned int  x,
const unsigned int  y,
const unsigned int  sx,
const unsigned int  sy 
)
inline

Real Constructor.

Parameters
dThe distance to the nearest obstacle
iThe index of the cell in the costmap. Redundant with the following two parameters.
xThe x coordinate of the cell in the cost map
yThe y coordinate of the cell in the cost map
sxThe x coordinate of the closest source cell in the costmap
syThe y coordinate of the closest source cell in the costmap

Definition at line 63 of file costmap_queue.hpp.


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