ROS入门——安装与环境
环境选择:VMware ,Ubuntu16.04 ,ROS Kinetic
一、Ubuntu16.04安装
安装包下载地址:https://www.ubuntu.com/download/server
二、ROS Kinetic安装
P.S. ROS Kinetic ONLY supports Wily (Ubuntu 15.10), Xenial (Ubuntu 16.04) and Jessie (Debian 8) for debian packages.
1.Setup your computer to accept software from packages.ros.org.
sudo sh -c ‘echo “deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main” > /etc/apt/sources.list.d/ros-latest.list’
2.Set up your keys
sudo apt-key adv –keyserver hkp://ha.pool.sks-keyservers.net:80
–recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
3.Installation
sudo apt-get update
sudo apt-get install ros-kinetic-desktop-full//安装完整的ROS包
sudo apt-get install ros-kinetic-slam-gmapping//安装指定的ROS包
apt-cache search ros-kinetic//查找安装的ROS包
4.Initialize rosdep
sudo rosdep init
rosdep update
5.Environment setup
echo “source /opt/ros/kinetic/setup.bash” >> ~/.ba