1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > ubuntu-安装ROS Kinetic(推荐)

ubuntu-安装ROS Kinetic(推荐)

时间:2024-07-30 21:48:41

相关推荐

ubuntu-安装ROS Kinetic(推荐)

文章目录

ubuntu16.04安装ROS Kinetic1、安装(这篇文章已经非常好了,没有必要再参考其他的)2、问题(1)在sudo rosdep init时,好多人都会遇到这个情况问题推荐的解决方法其他方法(2)rosdep update会报如下的错误问题解决方法还是有问题

ubuntu16.04安装ROS Kinetic

1、安装(这篇文章已经非常好了,没有必要再参考其他的)

如果ros下载非常的慢,就按照这篇文章的方法安装

网址:

/Light8063_R/article/details/90438849?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.nonecase

2、问题

(1)在sudo rosdep init时,好多人都会遇到这个情况

问题

ERROR:cannot download default sources list from:

/ros/rosdistro/master/rosdep/sources.list.d/20-default.list

Website may be down.

成功的图应该是下面这样的

推荐的解决方法

(1)下载下面网址里面的东西

/ros/rosdistro/master/rosdep/sources.list.d/20-default.list

如果打不开,翻墙就能打开。内容如下(最好不要直接粘贴我博客上的,可能没用):

#os-specific listings firstyaml /ros/rosdistro/master/rosdep/osx-homebrew.yaml osx#genericyaml /ros/rosdistro/master/rosdep/base.yamlyaml /ros/rosdistro/master/rosdep/python.yamlyaml /ros/rosdistro/master/rosdep/ruby.yamlgbpdistro /ros/rosdistro/master/releases/fuerte.yaml fuerte#newer distributions (Groovy, Hydro, ...) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead

(2)在/etc目录下新建/ros/rosdep/sources.list.d/20-default.list文件,然后将网页上的内容粘贴上去。

其他方法

如果不行,参考这两个网址的其他方法

网址1:/u013468614/article/details/102917569

网址2:/p/77483614

(2)rosdep update会报如下的错误

问题

reading in sources list data from /etc/ros/rosdep/sources.list.d

ERROR: unable to process source [/ros/rosdistro/master/rosdep/osx-homebrew.yaml]:

(/ros/rosdistro/master/rosdep/osx-homebrew.yaml)

ERROR: unable to process source [/ros/rosdistro/master/rosdep/base.yaml]:

(/ros/rosdistro/master/rosdep/base.yaml)

ERROR: unable to process source [/ros/rosdistro/master/rosdep/python.yaml]:

(/ros/rosdistro/master/rosdep/python.yaml)

ERROR: unable to process source [/ros/rosdistro/master/rosdep/ruby.yaml]:

(/ros/rosdistro/master/rosdep/ruby.yaml)

ERROR: unable to process source [/ros/rosdistro/master/releases/fuerte.yaml]:

Failed to download target platform data for gbpdistro:

Query rosdistro index /ros/rosdistro/master/index-v4.yaml

ERROR: error loading sources list:

<urlopen error (/ros/rosdistro/master/index-v4.yaml)>

解决方法

sudo gedit /etc/hosts

在文件末尾添加

151.101.84.133

还是有问题

reading in sources list data from /etc/ros/rosdep/sources.list.d

Hit /ros/rosdistro/master/rosdep/osx-homebrew.yaml

Hit /ros/rosdistro/master/rosdep/base.yaml

Hit /ros/rosdistro/master/rosdep/python.yaml

Hit /ros/rosdistro/master/rosdep/ruby.yaml

Hit /ros/rosdistro/master/releases/fuerte.yaml

Query rosdistro index /ros/rosdistro/master/index.yaml

Add distro “groovy”

ERROR: error loading sources list:

The read operation timed out

解决:用手机热点运行这个命令,成功。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。