概述
参考链接https://blog.csdn.net/Kalenee/article/details/80614606?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522158798426119725256700931%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.57650%2522%257D&request_id=158798426119725256700931&biz_id=0&utm_source=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~rank_v25-5
1.添加中科大源,sudo sh -c ‘. /etc/lsb-release && echo “deb http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main” > /etc/apt/sources.list.d/ros-latest.list’
2.sudo apt-key adv --keyserver ‘hkp://keyserver.ubuntu.com:80’ --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
3.sudo apt-get update
4.sudo apt-get install ros-kinetic-desktop-full
5.sudo rosdep init
6.出现问题
参考链接
https://blog.csdn.net/u013468614/article/details/102917569?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522158799057619726867824677%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.57650%2522%257D&request_id=158799057619726867824677&biz_id=0&utm_source=distribute.pc_search_result.none-task-blog-2allfirst_rank_v2~rank_v25-1
6.1sudo mkdir -p /etc/ros/rosdep/sources.list.d
6.2cd /etc/ros/rosdep/sources.list.d
6.3sudo gedit 20-default.list
6.4# os-specific listings first
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml osx
generic
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
yaml https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
gbpdistro https://raw.githubusercontent.com/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
6.5sudo rm /etc/ros/rosdep/sources.list.d/20-default.list
7.rosdep update
换热点
8.echo “source /opt/ros/kinetic/setup.bash” >> ~/.bashrc
9.source ~/.bashrc
10.sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
11.roscore
rosrun turtlesim turtlesim_node
rosrun turtlesim turtle_teleop_key
最后
以上就是纯真往事为你收集整理的ubuntu16.04安装rosgenericnewer distributions (Groovy, Hydro, …) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead的全部内容,希望文章能够帮你解决ubuntu16.04安装rosgenericnewer distributions (Groovy, Hydro, …) must not be listed anymore, they are being fetched from the rosdistro index.yaml instead所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复