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

边栏推荐
- 证券开户选哪个证券公司比较好,哪个更安全
- 从第三次技术革命看企业应用三大开发趋势
- Redis~02 缓存:更新数据时如何保证MySQL和Redis中的数据一致性?
- What is the difference between memory leak and memory overflow?
- ShanDong Multi-University Training #3
- Switch to software testing, knowing these four points is enough!
- CADD课程学习(3)-- 靶点药物相互作用
- 数字峰会人气火爆,城链科技引发新一轮商业变革
- Commemorate becoming the first dayus200 tripartite demo contributor
- 【微服务|Sentinel】SentinelResourceAspect详解
猜你喜欢

Matplotlib common settings

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

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

STM32F030F4驱动TIM1637数码管芯片

Redis数据类型和应用场景

Matplotlib常用图表

微信个人小商店一键开通助手小程序开发

Yunxin small class | common cognitive misunderstandings in IM and audio and video
![Jielizhi, production line assembly link [chapter]](/img/5f/9ea7fd3b93df1fd3ecbfc1b669c831.png)
Jielizhi, production line assembly link [chapter]

SWT/ANR问题--SWT 导致 kernel fuse deadlock
随机推荐
Distance measurement - Hamming distance
2022年起重机司机(限桥式起重机)考试试题及模拟考试
CADD course learning (3) -- target drug interaction
Leetcode(34)——在排序数组中查找元素的第一个和最后一个位置
[micro service sentinel] sentinelresourceaspect details
Jerry's burning of upper version materials requires [chapter]
想请教股票开户要认识谁?在线开户是安全么?
神经网络物联网的未来趋势与发展
证券开户选哪个证券公司比较好,哪个更安全
plain framework的实际应用和扩展
【无标题】
win 10 mstsc连接 RemoteApp
RPA: Bank digitalization, business process automation "a small step", and loan review efficiency "a big step"
Matplotlib common settings
2022 R1 fast opening pressure vessel operation test questions and answers
Current situation and future development trend of Internet of things
CKS CKA ckad change terminal to remote desktop
MT manager test skiing Adventure
通过Go语言创建CA与签发证书
“35岁,公司老总,月薪2万送外卖“:时代抛弃你,连声再见都没有