1 #ifndef FRONTIER_SEARCH_H_ 2 #define FRONTIER_SEARCH_H_ 4 #include <frontier_exploration/Frontier.h> 27 std::list<Frontier>
searchFrom(geometry_msgs::Point position);
38 Frontier
buildNewFrontier(
unsigned int initial_cell,
unsigned int reference, std::vector<bool>& frontier_flag);
bool isNewFrontierCell(unsigned int idx, const std::vector< bool > &frontier_flag)
isNewFrontierCell Evaluate if candidate cell is a valid candidate for a new frontier.
costmap_2d::Costmap2D & costmap_
Frontier buildNewFrontier(unsigned int initial_cell, unsigned int reference, std::vector< bool > &frontier_flag)
Starting from an initial cell, build a frontier from valid adjacent cells.
FrontierSearch(costmap_2d::Costmap2D &costmap)
Constructor for search task.
std::list< Frontier > searchFrom(geometry_msgs::Point position)
Runs search implementation, outward from the start position.
Thread-safe implementation of a frontier-search task for an input costmap.