ROS-kinetic 安装

参考

ROS

安装步骤

  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'
  1. 添加key
 sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 0xB01FA116
  1. 安装完整的ROS
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
  1. 初始化rosdep
sudo rosdep init
rosdep update
  1. 添加环境变量
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
  1. 安装building所需要的包
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential

你可能感兴趣的:(ROS-kinetic 安装)