Gazebo snap (beta)

Dear Gazebo community,

The robotics team at Canonical is committed to continuously improving the robotics developer experience in Ubuntu. As part of this effort, it is my pleasure to introduce today the Gazebo snap; a modern packaging format for Gazebo Citadel (formerly known as Ignition Gazebo Citadel) that allows you to easily install your favourite robotics simulator.

Install it now,

sudo snap install gazebo --channel=citadel/beta

and give it a try,

gazebo.gz gazebo shapes.sdf

For convenience and a seamless backward-compatible experience, consider creating snap aliases,

sudo snap alias gazebo.gz gz
sudo snap alias gazebo.gz ign

Through this announcement, we are opening today a beta testing phase in which we would like to invite all of you to participate.

We want to hear from you! Let us know how you use Gazebo and whether the Gazebo snap meets your workflow, your projects, your use cases.

As a reminder, Gazebo Citadel is compatible with ROS 2 Foxy. The recent Gazebo Fortress release will be available shortly.

Being a beta release, the Gazebo snap comes with known limitations we are still working out, notably:

  • No access to the host system path (e.g. /opt/ros). Make sure that your files, such as robot models, are located in the $HOME directory.
  • Custom plugins are not supported yet.

If you encounter any missing feature, any issue or bug, please do feel free to reach out to use and open a ticket on the GitHub repository.

And if you’d like to know more about snaps, have a look at our online documentation and/or feel free to reach out.

Get it from the Snap Store

2 Likes

Hello,

We have just published a blog post that showcase not only how to install the Gazebo snap but also how to use it,

  • to load worlds
  • with the Gazebo ROS 2 controllers
  • together with the ROS Ign bridge

It is accompanied by a sample repo - gz_snap_ros2_control_demos - that replicates the demo of gz_ros2_control_demos using the snap. Together they should offer a good starting point to anyone looking to use the snap.

The post is available on the Ubuntu blog: “Install Gazebo for ROS 2 in under a minute”.

Feedback and comments greatly appreciated!