Intro

Compatibility warning

Note: Garden binaries are provided for Ubuntu Focal and Jammy

For Humble, you need to either install the unofficial package (see next section) or install from source picture 1

Binary installation

Install non-default Gazebo Garden/Humble pairing

https://gazebosim.org/docs/latest/ros_installation/#installing-non-default-gazebo-ros-2-pairings

  • Install ros_gz from the non official binary packages from apt
    • These packages conflict with ros-humble-ros-gz* packages (Humble officially supports Gazebo Fortress)
apt-get install ros-humble-ros-gzgarden
  • Verify installation
gz --version
The 'gz' command provides a command line interface to the Gazebo Tools.

  gz <command> [options]

List of available commands:

  help:          Print this help text.
  fuel:          Manage simulation resources.
  gazebo:        Deprecated. Alias for sim.
  gui:           Launch graphical interfaces.
  launch:        Run and manage executables and plugins.
  log:           Record or playback topics.
  model:         Print information about models.
  msg:           Print information about messages.
  param:         List, get or set parameters.
  plugin:        Print information about plugins.
  sdf:           Utilities for SDF files.
  service:       Print information about services.
  sim:           Run and manage the Gazebo Simulator.
  topic:         Print information about topics.

Options:

  --force-version <VERSION>  Use a specific library version.
  --versions                 Show the available versions.
  --commands                 Show the available commands.
Use 'gz help <command>' to print help for a command.
  • Run Gazebo Garden Quick start
gz sim -v
[Msg] Gazebo Sim GUI    v7.9.0
[Msg] Copied installed config [/usr/share/gz/gz-sim7/gui/gui.config] to default config [/home/chxtio/.gz/sim/7/gui.config].
[Msg] Gazebo Sim Quick start dialog

picture 2

Tutorials

Gazebo Garden ROS Integration

ros2 launch ros_gz_sim gz_sim.launch.py
  • Launch Gazebo using the empty.sdf world
ros2 launch ros_gz_sim gz_sim.launch.py gz_args:=empty.sdf

Extra worlds

Garden Moon

[1/6/25]

  • Select dem_moon.sdf from Quick Start
gz sim -v

picture 3

Lunar Base

The simulation team at Open Robotics has put together a demo world that showcases all the new features available in Garden. Most notably, the demo world is set on the moon modeled using a Digital Elevation Model (DEM) of the moon created by NASA. You’ll also find a lunar base inside of which is a small lake visualized using custom shaders which are now available in Garden.

git clone https://github.com/gazebosim/garden_demo
export GZ_SIM_RESOURCE_PATH=`pwd`/garden_demo/models:$GZ_SIM_RESOURCE_PATH
gz sim -v 4 "garden_demo/garden.sdf"

picture 4

picture 5

picture 0