Extension of Costmap Queue where distances are limited to a given distance from source cells. More...
#include <limited_costmap_queue.h>
Public Member Functions | |
int | getMaxDistance () const override |
Get the maximum x or y distance we'll need to calculate the distance between. | |
LimitedCostmapQueue (nav_core2::Costmap &costmap, const int cell_distance_limit) | |
Constructor with limit as an integer number of cells. | |
bool | validCellToQueue (const CellData &cell) override |
Check to see if we should add this cell to the queue. Always true unless overridden. | |
Protected Attributes | |
int | max_distance_ |
Extension of Costmap Queue where distances are limited to a given distance from source cells.
Definition at line 47 of file limited_costmap_queue.h.
costmap_queue::LimitedCostmapQueue::LimitedCostmapQueue | ( | nav_core2::Costmap & | costmap, |
const int | cell_distance_limit | ||
) |
Constructor with limit as an integer number of cells.
Definition at line 39 of file limited_costmap_queue.cpp.
int costmap_queue::LimitedCostmapQueue::getMaxDistance | ( | ) | const [override, virtual] |
Get the maximum x or y distance we'll need to calculate the distance between.
Reimplemented from costmap_queue::CostmapQueue.
Definition at line 46 of file limited_costmap_queue.cpp.
bool costmap_queue::LimitedCostmapQueue::validCellToQueue | ( | const CellData & | cell | ) | [override, virtual] |
Check to see if we should add this cell to the queue. Always true unless overridden.
cell | The cell to check |
Reimplemented from costmap_queue::CostmapQueue.
Definition at line 51 of file limited_costmap_queue.cpp.
int costmap_queue::LimitedCostmapQueue::max_distance_ [protected] |
Definition at line 57 of file limited_costmap_queue.h.