ROS学习篇1安装(Ubuntu18.04 Bionic +ROS Melodic)
设置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'
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update
安装完全版
sudo apt install ros-melodic-desktop-full
设置环境
echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
source ~/.bashrc
source /opt/ros/melodic/setup.bash
安装依赖
sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential