ROS话题OccupancyGrid 格式下二维栅格地图的A星规划算法实现(附github)

ROS: nav_msgs::OccupancyGrid 格式 二维栅格地图的A星全局规划算法和实现

github链接:

GitHub - goldqiu/Astar-Path-Planner-for-2D-grid-map-in-ROS: A*-Path-Planner-for-2D-grid-map-in-ROS

数据集

Astar-Path-Planner-for-2D-grid-map-in-ROS\data\data_2022-09-06-17-21-48.bag

运行

roslaunch  grid_path_searcher demo.launch
rosbag play data_2022-09-06-17-21-48.bag

效果

输入输出

launch文件

<launch>
​
  <node pkg="grid_path_searcher" type="demo_node" name="demo_node" output="screen" required = "true">
      <remap from="~waypoints"       to="/waypoint_generator/waypoints"/>
      <param name="mapTopic" type="string" value="/grid_map_global" />
​
  </node>
​
  <node pkg="waypoint_generator" name="waypoint_generator" type="waypoint_generator" output="screen">
      <remap from="~goal" to="/goal"/>
      <param name="waypoint_type" value="manual-lonely-waypoint"/>    
  </node>
​
  <node name="rvizvisualisation" pkg="rviz" type="rviz" output="log" args="-d $(find grid_path_searcher)/launch/rviz_config/demo_wx.rviz" />
​
</launch>

输入:

mapTopic:" /grid_map_global" (二维占据栅格话题)

输出:

nav_msgs::Path:"/global_path" (全局路径

  • 2
    点赞
  • 20
    收藏
    觉得还不错? 一键收藏
  • 10
    评论
评论 10
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值