STEP:1 - Install ROS
#ROS Install
##Step 0: 安装Ubuntu 16.04
##Step 1: update list #更新源
##Step 2:Setup #安装软件
- 2.1
sudo apt-get install ros-Kinetic-desktop-full #安装完整版
####×1 坑:
报错E: Unable to locate package ros-Kinetic-desktop-full
注意大小写,正确为sudo apt-get install ros-kinetic-desktop-full
同样错误需注意Ubuntu版本号与ROS版本是否对应。
第二步安装时间较久
##Step 3:配置系统环境
- 3.1
sudo rosdep init #初始化rosdep
###×2 坑:
报错ERROR: cannot download default sources list
Website may be down.
解决:sudo -E rosdep init #保留系统环境变量配置
- 3.2
sudo rosdep update
###×3 坑:
报错ERROR: error loading sources list:
(‘The read operation timed out’,)
解决:缺少依赖项,重新sudo apt-get update
- 3.3: 配置bash环境