机器人学习--Turtelbot3学习--如何使用cartographer建图
生活随笔
收集整理的這篇文章主要介紹了
机器人学习--Turtelbot3学习--如何使用cartographer建图
小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
問(wèn)題描述:
按照創(chuàng)客智造官網(wǎng)的教程:https://www.ncnynl.com/category/turtlebot3-tutorial/
安裝好turtlebot3的配套軟件后,默認(rèn)是使用 gmapping建圖的。 測(cè)試了一下 hector 也可以。
但是在使用命令 :?
roslaunch turtlebot3_slam turtlebot3_slam.launch slam_methods:=cartographer建圖時(shí),發(fā)現(xiàn)報(bào)錯(cuò)。遲遲不見(jiàn)建圖的界面。
解決方案:?
在自己系統(tǒng)中安裝turtlebot3的目錄中找到?turtlebot3_cartographer.launch 文件。
/catkin_ws/src/turtlebot3/turtlebot3_slam/launch/turtlebot3_cartographer.launch文件,
如下圖,把$(arg configuration_basename)更改為turtlebot3_lds_2d_gazebo.lua
?
改完后,在終端中重新執(zhí)行命令,即可以看到建圖效果。親測(cè)可用。
?
參考:
https://blog.csdn.net/LQ_5407/article/details/102719114
https://blog.csdn.net/c614507137/article/details/106874738/
總結(jié)
以上是生活随笔為你收集整理的机器人学习--Turtelbot3学习--如何使用cartographer建图的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: 机器人学习--粒子滤波及其在定位中的应用
- 下一篇: 机器人学习--粒子滤波SLAM/MCL定