Class LimitedCostmapQueue

Inheritance Relationships

Base Type

Class Documentation

class LimitedCostmapQueue : public costmap_queue::CostmapQueue

Extension of Costmap Queue where distances are limited to a given distance from source cells.

Public Functions

LimitedCostmapQueue(nav2_costmap_2d::Costmap2D &costmap, const int cell_distance_limit)

Constructor with limit as an integer number of cells.

virtual bool validCellToQueue(const CellData &cell) override

Check to see if we should add this cell to the queue. Always true unless overridden.

Parameters:

cell – The cell to check

Returns:

True, unless overriden