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

边栏推荐
- Linux基础 —— CentOS7 离线安装 MySQL
- 关于游戏性能优化的一些感想
- 认识--Matplotlib
- 证券开户选哪个证券公司比较好,哪个更安全
- CKS CKA ckad change terminal to remote desktop
- 数字峰会人气火爆,城链科技引发新一轮商业变革
- win 10 mstsc连接 RemoteApp
- What is the relationship between modeling and later film and television?
- Jielizhi, production line assembly link [chapter]
- openresty 负载均衡
猜你喜欢

Matplotlib common settings

mt管理器测试滑雪大冒险

【小程序】通过scroll-view组件实现左右【滑动】列表

CADD课程学习(3)-- 靶点药物相互作用

【微服务|Sentinel】sentinel整合openfeign

问题随记 —— /usr/bin/perl is needed by MySQL-server-5.1.73-1.glibc23.x86_64

Stm32f030f4 drives tim1637 nixie tube chip

物联网应用技术专业是属于什么类
![[understanding of opportunity-35]: Guiguzi - flying clamp - the art of remote connection, remote control and remote testing](/img/08/9ecfd53a04e147022dde3449aec132.png)
[understanding of opportunity-35]: Guiguzi - flying clamp - the art of remote connection, remote control and remote testing

Use 3DMAX to make a chess piece
随机推荐
Daily three questions 6.30 (2)
JS - use of arguments
CKS CKA ckad change terminal to remote desktop
Three development trends of enterprise application from the perspective of the third technological revolution
Understanding threads
Zhao Fuquan: to ensure supply in the short term, we should build a safe, efficient and resilient supply chain in the long term
Development trend and future direction of neural network Internet of things
Linux基础 —— CentOS7 离线安装 MySQL
共享电商的背后: 共创、共生、共享、共富,共赢的共富精神
每日三题 6.30(2)
Leetcode(34)——在排序数组中查找元素的第一个和最后一个位置
Notes to problems - file /usr/share/mysql/charsets/readme from install of mysql-server-5.1.73-1 glibc23.x86_ 64 c
问题随记 —— file /usr/share/mysql/charsets/README from install of MySQL-server-5.1.73-1.glibc23.x86_64 c
flutter Unable to load asset: assets/images/888. png
ShanDong Multi-University Training #3
[机缘参悟-35]:鬼谷子-飞箝篇-远程连接、远程控制与远程测试之术
Istio、eBPF 和 RSocket Broker:深入研究服务网格
微服务服务稳定性治理
Matplotlib常用设置
RPA: Bank digitalization, business process automation "a small step", and loan review efficiency "a big step"