ROS安装

作者: JavenChan | 来源:发表于2019-10-16 16:35 被阅读0次

    ROS安装

    此安装过程参考->ROS wiki

    Ubuntu18 对应的ros版本为ROS Melodic Morenia

    Setup your computer to accept software from packages.ros.org.

    sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
    

    Set up your keys

    sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
    

    Update apt

    sudo apt update
    

    Desktop-Full Install: (Recommended) : ROS, rqt, rviz, robot-generic libraries, 2D/3D simulators and 2D/3D perception

    sudo apt install ros-melodic-desktop-full
    

    Initialize rosdep

    sudo rosdep init
    rosdep update
    

    Environment setup

    echo "source /opt/ros/melodic/setup.bash" >> ~/.bashrc
    source ~/.bashrc
    

    Dependencies for building packages

    sudo apt install python-rosinstall python-rosinstall-generator python-wstool build-essential
    

    相关文章

      网友评论

          本文标题:ROS安装

          本文链接:https://www.haomeiwen.com/subject/gveumctx.html