ubuntu16.04 ROS安装

ubuntu16.04 ROS安装

安装过程参考:ROS安装官方教程
下面简单说明几个安装过程中的问题。

网速问题

官方教程采用的官方的ROS源,而我们在国内使用国外源速度实在是慢的要死。
我是电脑开了一晚上才完成sudo apt-get install ros-kinetic-desktop-full这个命令。所以尽量找网络好的地方,或者使用国内的源。比如这篇博客:国内源安装ROS
(暑假在韩国比赛的时候队友安装ROS过程异常顺利,网速飞快)

sudo rosdep init与rosdep update问题

这个地方可能会出现三个问题:
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
Website may be down.

参考解决方案:问题1解决参考博客
2) 出现以下报错:
rosdep rosdep执行时:

ERROR: default sources list file already exists:
/etc/ros/rosdep/sources.list.d/20-default.list
Please delete if you wish to re-initialize
sudo rm /etc/ros/rosdep/sources.list.d/20-default.list

3)出现以下报错时:

reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
ERROR: unable to process source [https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml]:
<urlopen error timed out> (https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml)

解决方法:

sudo apt-get update

然后再运行rosdep update即可

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值