如何安装ROS
大家好,我是如何,今天尝试在Ubantu下安装ROS (Robot Operating System)
测试环境
虚拟机VMware+Ubantu20.04
准备步骤
-
添加ROS软件源
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
-
添加密钥
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
-
更新软件源
sudo apt update
开始安装
打开终端
- 安装命令
Ubantu16.04:sudo apt install ros-kinetic-desktop-full
Ubantu18.04: sudo apt install ros-melodic-desktop-full
Ubantu20.04: sudo apt install ros-noetic-d