Gazebo | Ignition | Community
Ask Your Question

I want to use gazebo garden with ROS 2 Humble. I need help with the syntax/example to make launch file in ROS 2 to spawn gazebo with .sdf files instead of spawning it through terminal using $ gz sim empty.sdf

asked 2023-03-02 05:31:48 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

The current launch files that are usually available feature the code to launch gazbo-classic. I am looking for the updated code for gazebo garden. I also want to know the difference between gazeo-garden and ign-garden.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2023-03-03 14:49:40 -0500

azeey gravatar image

There's some documentation and and some examples at

You should be able to start Gazebo using

ros2 launch ros_gz_sim gz_args:="shapes.sdf"

and spawn a model with

ros2 run ros_gz_sim create

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2023-03-02 05:31:48 -0500

Seen: 95 times

Last updated: Mar 03