Subclass of CostmapQueue that avoids Obstacles and Unknown Values. More...
#include <map_grid.h>
Public Member Functions | |
MapGridQueue (nav_core2::Costmap &costmap, MapGridCritic &parent) | |
bool | validCellToQueue (const costmap_queue::CellData &cell) override |
Public Member Functions inherited from costmap_queue::CostmapQueue | |
CostmapQueue (nav_core2::Costmap &costmap, bool manhattan=false) | |
void | enqueueCell (unsigned int x, unsigned int y) |
virtual int | getMaxDistance () const |
CellData | getNextCell () |
void | reset () override |
Public Member Functions inherited from MapBasedQueue< CellData > | |
void | enqueue (const double priority, CellDataitem) |
CellData & | front () |
bool | isEmpty () |
MapBasedQueue (bool reset_bins=true) | |
void | pop () |
Protected Attributes | |
MapGridCritic & | parent_ |
Protected Attributes inherited from costmap_queue::CostmapQueue | |
std::vector< std::vector< double > > | cached_distances_ |
int | cached_max_distance_ |
nav_core2::Costmap & | costmap_ |
bool | manhattan_ |
nav_grid::VectorNavGrid< unsigned char > | seen_ |
Protected Attributes inherited from MapBasedQueue< CellData > | |
ItemMap | item_bins_ |
unsigned int | item_count_ |
ItemMapIterator | iter_ |
ItemMapIterator | last_insert_iter_ |
bool | reset_bins_ |
Additional Inherited Members | |
Public Types inherited from costmap_queue::CostmapQueue | |
typedef std::shared_ptr< CostmapQueue > | Ptr |
Protected Types inherited from MapBasedQueue< CellData > | |
typedef std::map< double, std::vector< CellData >> | ItemMap |
typedef typename ItemMap::iterator | ItemMapIterator |
Protected Member Functions inherited from costmap_queue::CostmapQueue | |
void | computeCache () |
double | distanceLookup (const unsigned int cur_x, const unsigned int cur_y, const unsigned int src_x, const unsigned int src_y) |
void | enqueueCell (unsigned int cur_x, unsigned int cur_y, unsigned int src_x, unsigned int src_y) |
Subclass of CostmapQueue that avoids Obstacles and Unknown Values.
Definition at line 105 of file map_grid.h.
|
inline |
Definition at line 108 of file map_grid.h.
|
overridevirtual |
Reimplemented from costmap_queue::CostmapQueue.
Definition at line 45 of file map_grid.cpp.
|
protected |
Definition at line 112 of file map_grid.h.