当前位置:网站首页>How to display real-time 2D map after rviz is opened
How to display real-time 2D map after rviz is opened
2022-07-01 23:24:00 【Jia Yachao】
1、 background
launch A mapping program , And opened rviz,rviz Also in the add 了 map, however rviz The expected 2D Map , It makes people feel at a loss .
2、 Problem solving
Baidu found that the way it used to build maps was gmapping, It is open source to the famous OpenSLAM Wrapped in ROS An implementation under the framework . This package provides for laser equipment SLAM Support , According to the input of laser equipment and attitude data, a grid based 2D Map . It needs to start from ROS The system monitors many Topic, And output a Topic : /map ,( The topic data type is nav_msgs/OccupancyGrid), This is also rviz The input of Topic.
- start-up RViz, Click on add Button ( lower left ) , Select from the list that pops up map, Click on OK, At this time rviz The middle display area is still empty
- The most important step , To tell rviz Generate map The information of topic What is it? . We talked about it earlier ,gmapping Output topic yes /map. As shown in the figure below , fill map Of topic, You can immediately see the dynamic establishment of the map
边栏推荐
- 纪念成为首个DAYUs200三方demo贡献者
- Glass mosaic
- Convergence and disposal suggestions of some Internet exposure surfaces
- Is it safe to choose mobile phone for stock trading account opening in Shanghai?
- CADD course learning (3) -- target drug interaction
- 会声会影2022智能、快速、简单的视频剪辑软件
- SWT/ANR问题--SWT 导致 low memory killer(LMK)
- YOGA27多维一体电脑,兼具出色外观与高端配置
- from pip._internal.cli.main import main ModuleNotFoundError: No module named ‘pip‘
- 上海炒股开户选择手机办理安全吗?
猜你喜欢
[micro service sentinel] sentinel integrates openfeign
Jerry's records are powered by Vbat with a power supply voltage of 4.2V [chapter]
2021 RoboCom 世界机器人开发者大赛-本科组初赛
Istio、eBPF 和 RSocket Broker:深入研究服务网格
RPA: Bank digitalization, business process automation "a small step", and loan review efficiency "a big step"
The digital summit is popular, and city chain technology has triggered a new round of business transformation
Why is PHP called hypertext preprocessor
2022 R1 fast opening pressure vessel operation test questions and answers
问题随记 —— /usr/bin/perl is needed by MySQL-server-5.1.73-1.glibc23.x86_64
from pip._internal.cli.main import main ModuleNotFoundError: No module named ‘pip‘
随机推荐
Matplotlib常用设置
[机缘参悟-35]:鬼谷子-飞箝篇-远程连接、远程控制与远程测试之术
flutter Unable to load asset: assets/images/888.png
软件架构的本质
Matplotlib common settings
[micro service sentinel] sentinel integrates openfeign
Compare the version number [double pointer to intercept the string you want]
Matplotlib常用設置
2021 RoboCom 世界机器人开发者大赛-高职组初赛
Daily three questions 6.28
jpa手写sql,用自定义实体类接收
问题随记 —— /usr/bin/perl is needed by MySQL-server-5.1.73-1.glibc23.x86_64
SWT / anr problem - SWT causes kernel fuse deadlock
AAAI22 | 结构标记和交互建模:用于图分类的“SLIM”网络
2022 crane driver (limited to bridge crane) examination questions and simulation examination
Distance measurement - Hamming distance
Glass mosaic
[MySQL] basic use of explain and the function of each column
De PIP. Interne. CLI. Main Import main modulenotfounderror: No module named 'PIP'
Daily three questions 6.29