Skip to content

jiangjingxue/ROS2_Frontier_Exploration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ROS2_Frontier_Detector

target-with-frontiers-3

Usage

Include frontier_detector.h header in your file:

#include "frontier_detector.h"

Dynamically create a frontier detector object:

frontier_detector = std::make_shared<WavefrontFrontierDetector>();

Create a vector to hold the detected frontier segements:

std::vector<FrontierSegment> frontier_segments;

Search for the frontiers:

frontier_detector->searchFrontierSegments(frontier_segments,current_robot_pose,costmap);

You can access the centroid of the detected frontier segments i by:

geometry_msgs::msg::Point centroid = frontier_segments[i].centroid;

About

Implementation of wavefront frontier detector

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages