当前位置:网站首页>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,立即就可以看到地图的动态建立了
边栏推荐
- Explain the use of locksupport in detail
- 思科考试--冗余网络
- Using securecrtportable to remotely connect virtual machines
- Congratulations on the release of friends' new book (send welfare)
- shell 自定义函数
- Stimulate new kinetic energy and promote digital economy in multiple places
- 447 Bili Bili noodles warp 1
- Vsphere+ and vsan+ are coming! VMware hybrid cloud focus: native, fast migration, mixed load
- The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received
- I graduated from college in 14 years and changed to software testing in 3 months. My monthly salary was 13.5k. At the age of 32, I finally found the right direction
猜你喜欢
Use three JS realize the 'ice cream' earth, and let the earth cool for a summer
Flynk SQL client uses comparison and is familiar with official documents
Cisco -- highly available and reliable network examination
Today's sleep quality record 71 points
Fiori 应用通过 Adaptation Project 的增强方式分享
[JUC learning road day 9] barrier derivatives
Appium自动化测试基础 — APPium安装(一)
leetcode - 287. Find duplicates
vSphere+、vSAN+来了!VMware 混合云聚焦:原生、快速迁移、混合负载
447 Bili Bili noodles warp 1
随机推荐
Pytorch nn. functional. Simple understanding and usage of unfold()
shell 自定义函数
思科考试--冗余网络
思科考试--路由的概念和配置考试
正则系列之组和范围(Groups and Ranges)
Demo program implementation of QT version Huarui camera
若干互联网暴露面的收敛及处置建议
半监督学习之数据增强
软件测试之「 性能测试」总结,新手上路必会知识点
Rust language - Introduction to Xiaobai 05
正则系列之量词(Quantifiers)
ESP自动下载电路设计
Multiple smart pointers
Sogou wechat app reverse (II) so layer
Intelligent computing architecture design of Internet
I graduated from college in 14 years and changed to software testing in 3 months. My monthly salary was 13.5k. At the age of 32, I finally found the right direction
Cloud Vulnerability Global Database
Using emqx cloud to realize one machine one secret verification of IOT devices
Cisco -- an external tool for WAN's concept examination
工作中非常重要的测试策略,你大概没注意过吧