Switch to using ros_gz_sim to run Gazebo#344
Merged
luca-della-vedova merged 2 commits intomainfrom Jan 13, 2026
Merged
Conversation
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
xiyuoh
approved these changes
Jan 13, 2026
Member
xiyuoh
left a comment
There was a problem hiding this comment.
Awesome! Tested this for both Jazzy and Rolling, am able to run demos for hotel and office. Thanks for the quick fix!
2 tasks
Member
Author
|
The CI failure is expected since the fixed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bug fix
Fixed bug
Brought up in open-rmf/rmf_visualization#88 (comment).
It seems argument substitution is behaving a bit oddly with our current way to run gazebo through the
executabletag.Specifically, on Rolling the
gz_headlessvariable seems to break the launch command, as shown in the comment (it also doesn't work for me, but running in headless mode actually works).Fix applied
I tried to change the content of the
gz_headlessvariable to contain the whole command, change its position in the command, various combination of content but I can't quite figure out where the issue exactly lies. It's really very odd, sometimes only headless mode works, sometimes only normal mode works, but never both at the same time.By contrast, using
ros_gz_simseems to always work. This seems to be also the officially recommended way to launch Gazebo based on the official docs.GenAI Use
We follow OSRA's policy on GenAI tools
I tested this on both a Jazzy and a Rolling machine.