35 #include "costmap_queue/limited_costmap_queue.hpp"
37 namespace costmap_queue
42 const int distance_limit)
45 max_distance_ = distance_limit;
51 return cell.distance_ <= max_distance_;
Storage for cell information used during queue expansion.
void reset() override
Clear the queue.
LimitedCostmapQueue(nav2_costmap_2d::Costmap2D &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.
A 2D costmap provides a mapping between points in the world and their associated "costs".