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

Use ignoreLocalMessages in the bridge #559

Merged
merged 5 commits into from
Jun 7, 2024
Merged

Conversation

caguero
Copy link
Contributor

@caguero caguero commented Jun 5, 2024

🦟 Bug fix

Fixes #555

Requires gazebosim/gz-transport#506

Summary

Instead of discarding all messages from nodes within the same process as the subscriber, we only discard messages published from the same node (the one used by the bridge).

This way we should be able to use the bridge with composable nodes, where all nodes share the same process with the bridge.

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.

Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
@caguero caguero added the needs upstream release Blocked by a release of an upstream library label Jun 5, 2024
@caguero caguero marked this pull request as ready for review June 7, 2024 13:07
@caguero caguero requested a review from ahcorde as a code owner June 7, 2024 13:07
@caguero caguero merged commit 4c64bbe into ros2 Jun 7, 2024
3 checks passed
@caguero caguero deleted the caguero/ignore_local_messages branch June 7, 2024 13:07
Amronos pushed a commit to Amronos/ros_gz that referenced this pull request Sep 18, 2024
* Ignore local messages

Signed-off-by: Carlos Agüero <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs upstream release Blocked by a release of an upstream library
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

GZ->ROS communication doesn't work when using the bridge and gz_server in the same composable container
2 participants