安装ROS(Kinetic 版本)和Cartographer

安装ROS(Kinetic 版本)和Cartographer
一、安装ROS
1.虚拟机vmware15安装ubuntu-16.04.5-desktop-amd64.iso
http://old-releases.ubuntu.com/releases/16.04.1/?_ga=2.101295553.116383899.1605364735-1623092470.1605364735
ubuntu-16.04.5-desktop-amd64.iso
2.安装ros-kinetic-desktop-full
https://www.ncnynl.com/archives/201801/2273.html
3.安装TurtleBot3及依赖包
https://www.ncnynl.com/archives/201707/1817.html
https://www.ncnynl.com/archives/201707/1788.html
turtlebot3_simulation包需要搭配turtlebot3包使用,所以要同时安装turtlebot3、turtlebot3_msgs、turtlebot3_simulations三个包。
4.仿真TurtleBot3使用教程
https://www.ncnynl.com/archives/201707/1786.html
5.实体TurtleBot3使用教程
https://www.ncnynl.com/archives/201707/1814.html

二、安装Cartographer
官网:
https://google-cartographer.readthedocs.io/en/latest/
https://google-cartographer-ros.readthedocs.io/en/latest/data.html
公开数据集:
https://google-cartographer-ros.readthedocs.io/en/latest/data.html
博客:
https://blog.csdn.net/qq_26482237/article/details/92676267
三、安装过程问题解决
1.在sudo rosdep init时出现的错误
ERROR: cannot download default sources list from: https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/sources.list.d/20-default.list
解决方案:
#打开hosts文件
sudo gedit /etc/hosts
#在文件末尾添加
151.101.84.133 raw.githubusercontent.com
#保存后退出再尝试
2.在rosdep update时出现的错误
ERROR: error loading sources list:
<urlopen error <urlopen error (’_ssl.c:574: The handshake operation timed out’,)> (https://raw.githubusercontent.com/ros/rosdistro/master/rolling/distribution.yaml)>
解决方案:
换成手机热点,重新尝试rosdep update。

3.如果文件夹设置了权限,则修改文件夹权限
sudo chmod -R 777 carto_ws/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值