本文首发于个人博客https://kezunlin.me/post/e2780b93/,欢迎阅读!
Tutorial to Install and Configure ROS Kinetic on Ubuntu 16.04.
ROS release ROS version Ubuntu version
2016.3 ROS Kinetic Kame Ubuntu 16.04(Xenial)/Ubuntu 15.10
Install Guide
quick commands
sudo sh -c '. /etc/lsb-release && echo "deb [arch=amd64] http://mirrors.ustc.edu.cn/ros/ubuntu/ $DISTRIB_CODENAME main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
sudo rosdep init
rosdep update
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
# test
roscore
Notice
tinghua source
http://mirrors.tuna.tsinghua.edu.cn/ubuntu xenial
update source
sudo apt-get update
if we encouter errors when update source, we need to fix.
e.g remove sougou source to fix errors.
grep -r kylin .
./sources.list.d/sogoupinyin.list.save:deb http://archive.ubuntukylin.com:10006/ubuntukylin xenial main
./sources.list.d/sogoupinyin.list:deb http://archive.ubuntukylin.com:10006/ubuntukylin xenial main
rm ./sources.list.d/sogoupinyin