1. 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://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
3. sudo apt update
4. sudo apt install ros-melodic-desktop-full
5. sudo rosdep init
6. rosdep update
7. echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
8.source ~/.bashrc
9. sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential
相关文章
- 10-10ROS-Melodic 安装全部指令列表