Ubuntu下安装Gazebo仿真器

Ubuntu下安装Gazebo仿真器

Gazebo仿真平台通常需要配合ROS使用,因此需要先安装ROS。可以参考ROS安装教程

首先安装一些必要的工具

sudo apt-get update
sudo apt-get install lsb-release wget gnupg

修改源

sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null

update 一下更新

sudo apt-get update

运行下载 gazebo

sudo apt-get install gazebo

启动 Gazebo

gazebo

Ubuntu下安装Gazebo仿真器_第1张图片
gazebo安装成功

你可能感兴趣的:(安装教程,ubuntu,linux)