当前位置:网站首页>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

边栏推荐
- [MySQL] index creation, viewing and deletion
- What professional classification does the application of Internet of things technology belong to
- Switch to software testing, knowing these four points is enough!
- 2022 R1 fast opening pressure vessel operation test questions and answers
- [机缘参悟-35]:鬼谷子-飞箝篇-远程连接、远程控制与远程测试之术
- CADD course learning (3) -- target drug interaction
- AirServer最新Win64位个人版投屏软件
- 2021 RoboCom 世界机器人开发者大赛-高职组初赛
- Openresty load balancing
- Glass mosaic
猜你喜欢

Stm32f030f4 drives tim1637 nixie tube chip

赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链

2022 examination questions and online simulation examination for safety management personnel of hazardous chemical business units

物联网应用技术专业是属于什么类

【微服务|Sentinel】sentinel整合openfeign

Use 3DMAX to make a chess piece

Yunxin small class | common cognitive misunderstandings in IM and audio and video
![Jielizhi Bluetooth headset quality control and production skills [chapter]](/img/ad/28e7461f8c5dc5c54a3f4da0c111ac.png)
Jielizhi Bluetooth headset quality control and production skills [chapter]

什么是马赛克?
![Jerry's records are powered by Vbat with a power supply voltage of 4.2V [chapter]](/img/3e/571d246d211a979e948dae1de56e93.png)
Jerry's records are powered by Vbat with a power supply voltage of 4.2V [chapter]
随机推荐
【小程序】通过scroll-view组件实现左右【滑动】列表
dat. GUI
Jielizhi, production line assembly link [chapter]
物联网应用技术专业是属于什么类
建模和影视后期有什么关联?
from pip._internal.cli.main import main ModuleNotFoundError: No module named ‘pip‘
Huisheng Huiying 2022 intelligent, fast and simple video editing software
“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有
实在RPA:银行数字化,业务流程自动化“一小步”,贷款审核效率“一大步”
通过Go语言创建CA与签发证书
神经网络物联网的未来趋势与发展
距离度量 —— 汉明距离(Hamming Distance)
STM32F030F4驱动TIM1637数码管芯片
Jielizhi, production line assembly link [chapter]
SWT/ANR问题--SWT 导致 kernel fuse deadlock
Openresty load balancing
URL 介绍
from pip._ internal. cli. main import main ModuleNotFoundError: No module named ‘pip‘
Aaai22 | structural tagging and interaction modeling: a "slim" network for graph classification
共享电商的背后: 共创、共生、共享、共富,共赢的共富精神