Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix gz_args string format to pass custom world on humble #77

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

jazzalin
Copy link

This PR changes the gz_args string format introduced in #44 which doesn't seem to allow passing custom worlds with the launch argument --world_file.

@urfeex
Copy link
Member

urfeex commented Jan 13, 2025

This seems odd, as the list should get converted in a space-separated string by https://github.com/gazebosim/ros_gz/blob/7075aa51934c0cf0f9f04062f8643c6f8b701fea/ros_gz_sim/launch/gz_sim.launch.py.in#L143

I'll need to test this.


Edit: Confirmed. Using the old method results in

ruby $(which ign) gazebo -r-v4empty.sdf --force-version 6

Copy link
Member

@urfeex urfeex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fair and actually matches with what we don on the rolling/jazzy branch.

@urfeex urfeex linked an issue Jan 13, 2025 that may be closed by this pull request
@urfeex urfeex merged commit 8f7e7cf into UniversalRobots:humble Jan 13, 2025
6 checks passed
@jazzalin
Copy link
Author

Great, thanks for validating!

@jazzalin jazzalin deleted the humble branch January 13, 2025 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding world_file as launch argument not working on humble
2 participants