ubuntu14.04 install gazebo

本文档指导如何在Ubuntu系统上设置并安装Gazebo机器人模拟器,包括配置软件源、添加密钥、更新包列表及安装所需组件。首次运行Gazebo可能需要下载额外资源,请耐心等待。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


  1. Setup your computer to accept software from packages.osrfoundation.org.

    Note: there is a list of available mirrors for this repository which could improve the download speed.

    sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'

    You can check to see if the file was written correctly. For example, in Ubuntu Trusty, you can type:

    $ cat /etc/apt/sources.list.d/gazebo-stable.list
    deb http://packages.osrfoundation.org/gazebo/ubuntu-stable trusty main
  1. Setup keys

    wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
  2. Install Gazebo.

    First update the debian database:

    sudo apt-get update

    Hint: make sure the apt-get update process ends without any errors, the console output ends in Done similar to below:

    $ sudo apt-get update
    ...
    Hit http://ppa.launchpad.net trusty/main Translation-en
    Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
    Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
    Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
    Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
    Reading package lists... Done

    Next install gazebo-8 by:

    sudo apt-get install ros-indigo-gazebo7-ros-pkgs
    # For developers that work on top of Gazebo, one extra package
    sudo apt-get install libgazebo8-dev

  3. Check your installation

    Note The first time gazebo is executed requires the download of some models and it could take some time, please be patient.

    gazebo
sudo apt-get install ros-indigo-gazebo-ros-pkgs ros-indigo-gazebo-ros-control


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值