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

边栏推荐
- Matplotlib common settings
- Glass mosaic
- YOGA27多维一体电脑,兼具出色外观与高端配置
- mysql ---- Oracle中的rownum转换成MySQL
- Who do you want to know when opening a stock account? Is it safe to open an account online?
- Jielizhi Bluetooth headset quality control and production skills [chapter]
- What is the difference between memory leak and memory overflow?
- 赵福全:短期解决保供,长期要打造安全、高效有韧性的供应链
- 2022年R1快开门式压力容器操作考题及答案
- RPA: Bank digitalization, business process automation "a small step", and loan review efficiency "a big step"
猜你喜欢

“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有

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

STM32F030F4驱动TIM1637数码管芯片

CKS CKA CKAD 将终端更改为远程桌面

What category does the Internet of things application technology major belong to

AAAI22 | 结构标记和交互建模:用于图分类的“SLIM”网络

"35 years old, the boss of the company, with a monthly salary of 20000, give away takeout": the times abandoned you, not even saying goodbye

物联网开发零基础教程

玻璃马赛克

CADD课程学习(3)-- 靶点药物相互作用
随机推荐
问题随记 —— file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.73-1.glibc23.x86_64 c
每日三题 6.29
flutter Unable to load asset: assets/images/888.png
每日三题 6.28
What is the mosaic tailgate?
日本购物网站的网络乞丐功能
[MySQL] basic use of explain and the function of each column
内存泄露和内存溢出的区别是什么?
SWT / anr problem - SWT causes low memory killer (LMK)
Linux foundation - centos7 offline installation of MySQL
为什么PHP叫超文本预处理器
Glass mosaic
“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有
Who do you want to know when opening a stock account? Is it safe to open an account online?
mt管理器测试滑雪大冒险
The difference between timer and scheduledthreadpoolexecutor
CKS CKA ckad change terminal to remote desktop
Paramètres communs de matplotlib
Win 10 mstsc connect RemoteApp
Create Ca and issue certificate through go language