#ros安装
#1.更换系统源(打开系统设置software&Updates)
http://mirrors.ustc.edu.cn/ubuntu
#2.更换ros源
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
#3.设置key
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F42ED6FBAB17C654
#4.安装ros-kinetic-desktop-full
sudo apt update
sudo apt install -y ros-kinetic-desktop-full
#5.添加代理(参考下网址)
https://blog.csdn.net/leida_wt/article/details/115120940
#6.初始化
sudo rosdep init
#7.更新
sudo rosdep update
#8.添加环境变量
source /opt/ros/kinetic/setup.zsh
#9.测试
roscore