ROS開發實踐-ROS(kinetic)安裝
阿新 • • 發佈:2018-11-12
我的環境:Ubuntu16.04
1.新增ROS軟體源
新增ROS官方軟體源映象到sources.list
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
2.新增金鑰
sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
3.更新package
sudo apt-get update
4.安裝ROS kinetic完整版
sudo apt-get install ros-kinetic-desktop-full
5.初始化rosdep
sudo rosdep init
rosdep update
6.在bash中配置ROS環境變數
echo "source /opt/ros/kinetic/setup.bash" >> ~/.bashrc
source ~/.bashrc
7.安裝building package的依賴
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential
8.執行ROS
roscore