Public Member Functions | Protected Attributes | List of all members
dwb_critics::MapGridCritic::MapGridQueue Class Reference

Subclass of CostmapQueue that avoids Obstacles and Unknown Values. More...

#include <map_grid.h>

Inheritance diagram for dwb_critics::MapGridCritic::MapGridQueue:
Inheritance graph
[legend]

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

MapGridCriticparent_
 
- Protected Attributes inherited from costmap_queue::CostmapQueue
std::vector< std::vector< double > > cached_distances_
 
int cached_max_distance_
 
nav_core2::Costmapcostmap_
 
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< CostmapQueuePtr
 
- 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)
 

Detailed Description

Subclass of CostmapQueue that avoids Obstacles and Unknown Values.

Definition at line 106 of file map_grid.h.

Constructor & Destructor Documentation

dwb_critics::MapGridCritic::MapGridQueue::MapGridQueue ( nav_core2::Costmap costmap,
MapGridCritic parent 
)
inline

Definition at line 109 of file map_grid.h.

Member Function Documentation

bool dwb_critics::MapGridCritic::MapGridQueue::validCellToQueue ( const costmap_queue::CellData cell)
overridevirtual

Reimplemented from costmap_queue::CostmapQueue.

Definition at line 46 of file map_grid.cpp.

Member Data Documentation

MapGridCritic& dwb_critics::MapGridCritic::MapGridQueue::parent_
protected

Definition at line 113 of file map_grid.h.


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


dwb_critics
Author(s): David V. Lu!!
autogenerated on Sun Jan 10 2021 04:08:44