【转载】Ubuntu 16.04 ROS Kinetic 安装
2017-10-24 本文已影响7人
dopami
安装准备
设置ROS源
$ sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
添加KEY
$ sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
更新软件
$ sudo apt-get update
$ sudo apt-get upgrade
安装桌面版
sudo apt-get install ros-kinetic-desktop-full
初始化rosdep
sudo rosdep init
rosdep update
启用环境
source /opt/ros/kinetic/setup.bash
增加到.bashrc
$ echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
安装rosinstall
$ sudo apt-get install python-rosinstall
原文链接:http://www.ncnynl.com/archives/201612/1148.html