Public Member Functions | Public Attributes | Friends
cost_map::Inflate::CellData Struct Reference

List of all members.

Public Member Functions

 CellData (double d, unsigned int x, unsigned int y, unsigned int sx, unsigned int sy)
 Constructor for CellData objects.

Public Attributes

double distance_
unsigned int src_x_
unsigned int src_y_
unsigned int x_
unsigned int y_

Friends

bool operator< (const CellData &a, const CellData &b)
 Provide an ordering between CellData objects in the priority queue.

Detailed Description

Definition at line 99 of file inflation.hpp.


Constructor & Destructor Documentation

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:
dThe distance to the nearest obstacle, used for ordering in the priority queue
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 obstacle cell in the costmap
syThe y coordinate of the closest obstacle cell in the costmap
Returns:

Definition at line 109 of file inflation.hpp.


Friends And Related Function Documentation

bool operator< ( const CellData a,
const CellData b 
) [friend]

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.


Member Data Documentation

Definition at line 120 of file inflation.hpp.

Definition at line 122 of file inflation.hpp.

Definition at line 122 of file inflation.hpp.

Definition at line 121 of file inflation.hpp.

Definition at line 121 of file inflation.hpp.


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


cost_map_core
Author(s): Daniel Stonier
autogenerated on Thu Jun 6 2019 20:27:46