当前位置:网站首页>rviz打开后如何显示实时2D地图
rviz打开后如何显示实时2D地图
2022-07-01 22:16:00 【贾亚超】
1、背景
launch 了一个建图程序,并打开了 rviz,rviz 中也 add 了 map,但是 rviz 中并未出现期望的2D地图,让人很是手足无措。
2、问题解决
百度了才发现自己使用的建图方式为gmapping,它是对著名的开源OpenSLAM包在ROS框架下的一个实现。这个包提供了对激光设备的SLAM支持,根据激光设备的输入和姿态数据建立一个基于网格的2D地图。它需要从ROS系统监听许多Topic,并输出一个Topic : /map ,(话题数据类型为nav_msgs/OccupancyGrid),这也是 rviz 的输入Topic。
- 启动RViz,点击 add 按钮(左下方) ,在弹出的列表中选择 map,点击OK,这时rviz中间的显示区域仍然是空的

- 最关键的一步,要告诉 rviz 生成 map 信息的 topic 是什么。我们前面讲到过,gmapping输出的topic是 /map。如下图配置,填充map的topic,立即就可以看到地图的动态建立了

边栏推荐
- vSphere+、vSAN+来了!VMware 混合云聚焦:原生、快速迁移、混合负载
- What are the benefits of third party acceptance testing? Recommended by professional third-party software testing institutions
- map容器
- “信任机器”为发展赋能
- Detailed explanation of common configurations in redis configuration file [easy to understand]
- SAP UI5 应用开发教程之一百零四 - SAP UI5 表格控件的支持复选(Multi-Select)以及如何用代码一次选中多个表格行项目
- Multiple smart pointers
- Today's sleep quality record 71 points
- redis配置文件中常用配置详解[通俗易懂]
- MySQL -- index of MyISAM storage engine
猜你喜欢

Understanding of indexes in MySQL

Cisco -- highly available and reliable network examination

Appium automation test foundation - appium installation (I)

Turn -- bring it and use it: share a gadget for checking memory leaks

Tcpdump command usage details

轉載csdn文章操作

转--原来gdb的底层调试原理这么简单

使用 EMQX Cloud 实现物联网设备一机一密验证

Multiple smart pointers

Reprint CSDN article operation
随机推荐
Cisco test -- the concept and configuration test of routing
常见的二十种软件测试方法详解(史上最全)
"Trust machine" empowers development
Two schemes of transforming the heat map of human posture estimation into coordinate points
Little red book scheme jumps to the specified page
Use three JS realize the 'ice cream' earth, and let the earth cool for a summer
Origin2018 installation tutorial "recommended collection"
Cloud Vulnerability Global Database
Reprint CSDN article operation
Daily question brushing record (10)
死锁的处理策略—预防死锁、避免死锁、检测和解除死锁
ECMAScript 2022 正式发布,有你了解过的吗?
Congratulations on the release of friends' new book (send welfare)
[daily training] 66 add one-tenth
Vsphere+ and vsan+ are coming! VMware hybrid cloud focus: native, fast migration, mixed load
Efficiency improvement - encourage personalized container development environment
MySQL view exercise
Ffmpeg learning notes
Friendly serial assistant tutorial_ How to configure friendly serial port debugging assistant - tutorial on using friendly serial port debugging assistant
redis配置文件中常用配置详解[通俗易懂]