小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
ARM64 Ubuntu22.04安装Gazebo失败和自己的疑问
-
背景:
我参考 https://fishros.com/d2lros2/#/humble/chapt9/get_started/3.在Gazebo加载机器人模型
准备安装Gazebo前提 我使用的系统是ARM64开发板的Ubuntu 22.04
Ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu Built with Buildroot, based on Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy安装上报如下错误信息
Ubuntu:~$ sudo apt install ros-humble-gazebo-ros
[sudo] password for user:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package ros-humble-gazebo-ros然后我在网上搜索很多信息,发现如下网站:
https://gazebosim.org/docs/garden/install_ubuntu并按照如下步骤安装成功
sudo apt-get update
sudo apt-get install lsb-release wget gnupgsudo 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
sudo apt-get update
sudo apt-get install gz-garden问题:
请问我找到的Gazebo安装方法是22.04正确的Gazebo安装方法吗,安装成功之后无法找到gazebo命令,而是gz命令,你的《动手学ROS2》的gazebo的命令完全无法兼容 -
@powertree 这是两个版本的Gazebo,教程中用的是Glassic版本,在Arm架构上没发布应该
-
@小鱼 好的,非常感谢
-