Ubuntu18.04 install of ROS Melodic

Ubuntu18.04 install of ROS Melodic
1 Installation
1.1 Configure your Ubuntu repositories
1.2 Setup your 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'
1.3 Set up your keys
$     sudo apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key 421C365BD9FF1F717815A3895523BAEEB01FA116
1.4 Installation
1.4.1 update   
$       sudo apt-get update
1.4.2 Desktop-Full Install: (Recommended) : ROS, rqt, rviz, robot-generic libraries, 2D/3D simulators and 2D/3D perception
      sudo apt-get install ros-melodic-desktop-full
1.5 Initialize rosdep
$     sudo rosdep init
$     rosdep update
1.6 Environment setup
$     echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
$     source ~/.bashrc
1.7 Dependencies for building packages
$   sudo apt-get install python-rosinstall python-rosinstall-generator python-wstool build-essential

猜你喜欢

转载自blog.csdn.net/uunubt/article/details/81146963