This repository is a ROS package of A star algorithm.
Receive the map via this topic.
initialpose(geometry_msgs/PoseWithCovarianceStamped)
Receive the start point via this topic.
move_base_simple/goal(geometry_msgs/PoseStamped)
Receive the target point via this topic.
mask(nav_msgs/OccupancyGrid)
Publish the inflation map(mask) via this topic.
nav_path(nav_msgs/Path)
Publish the navigation path via this topic.
~Euclidean(bool; default: "true")
Using Euclidean distance or Manhattan distance When calculating the H value.
~OccupyThresh(int; default: -1)
Threshold of the image binarization. When OccupyThresh is less than zero(OccupyThresh < 0), using Otsu method to generate threshold.
~InflateRadius(double; defalut: -1)
InflateRadius is the inflation radius(unit: m). When InflateRadius is less than or equal to zero(InflateRadius <= 0), no inflation operation is taken.
~rate(int; default: 10)
The rate of publishing mask topic.
roslaunch astar astar.launch