当前位置:网站首页>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,立即就可以看到地图的动态建立了

边栏推荐
- 想请教一下,证券开户选择哪个证券比较好?手机开户是安全么?
- Turn -- the underlying debugging principle of GDB is so simple
- 激发新动能 多地发力数字经济
- Stimulate new kinetic energy and promote digital economy in multiple places
- 轉載csdn文章操作
- Operation category read is not supported in state standby
- Chen Tianqi's machine learning compilation course (free)
- Daily question brushing record (10)
- Origin2018 installation tutorial "recommended collection"
- Réimpression de l'article csdn
猜你喜欢

Turn -- the underlying debugging principle of GDB is so simple
![[MySQL] index classification](/img/73/fb9f28457b373ad35d2f6068387b47.png)
[MySQL] index classification

Selection of all-optical technology in the park - Part 2

internal field separator

el-input文本域字数限制,超过显示变红并禁止输入

Today's sleep quality record 71 points
![[image segmentation] 2021 segformer neurips](/img/2f/a8631cbe9a46419b8dbd5205e1f5b5.png)
[image segmentation] 2021 segformer neurips

Use three JS realize the 'ice cream' earth, and let the earth cool for a summer

Cut noodles C language

正则系列之组和范围(Groups and Ranges)
随机推荐
There is no signal in HDMI in computer games caused by memory, so it crashes
El input text field word limit, beyond which the display turns red and input is prohibited
Design of ESP automatic download circuit
Flynk SQL client uses comparison and is familiar with official documents
毕业季,既是告别,也是新的开始
[QT widget] encapsulates a simple thread management class
Understanding of indexes in MySQL
Efficiency improvement - encourage personalized container development environment
若干互联网暴露面的收敛及处置建议
104. SAP ui5 table control supports multi select and how to select multiple table row items at a time with code
转--拿来即用:分享一个检查内存泄漏的小工具
转载csdn文章操作
Quantifiers of regular series
Digital currency: far-reaching innovation
转--利用C语言中的setjmp和longjmp,来实现异常捕获和协程
447 Bili Bili noodles warp 1
leetcode - 287. Find duplicates
ECMAScript 2022 正式发布,有你了解过的吗?
[C language] detailed explanation of malloc function [easy to understand]
ECMAScript 2022 was officially released. Have you heard about it?