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

Ensure the same container is used for the bridge and gz_server #553

Merged
merged 1 commit into from
May 31, 2024

Conversation

azeey
Copy link
Contributor

@azeey azeey commented May 30, 2024

🦟 Bug fix

Part of #544

Summary

Using ComposableNodeContainer for both gz_server and ros_gz_bridge caused a new container to be created for each of them. This changes ros_gz_bridge to use LoadComposableNodes which uses an existing container, which would be created when launching gz_server. I've tested that this works even if ros_gz_bridge was launched first.

This also adds a required name parameter for the bridge so that multiple different bridges can be created without name collision

Checklist

  • Signed all commits for DCO
  • Added tests
  • Updated documentation (as needed)
  • Updated migration guide (as needed)
  • Consider updating Python bindings (if the library has them)
  • codecheck passed (See contributing)
  • All tests passed (See test coverage)
  • While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

This also adds a required `name` parameter for the bridge so that
multiple different bridges can be created without name collision

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
@caguero caguero merged commit ae79079 into gazebosim:ros2 May 31, 2024
3 checks passed
@azeey azeey deleted the fix_composable_launch branch May 31, 2024 15:17
Amronos pushed a commit to Amronos/ros_gz that referenced this pull request Sep 18, 2024
…osim#553)

This also adds a required `name` parameter for the bridge so that
multiple different bridges can be created without name collision

Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants