gazebosim / ros_gz

Integration between ROS (1 and 2) and Gazebo simulation
https://gazebosim.org
Apache License 2.0
233 stars 135 forks source link

Use `ignoreLocalMessages` in the bridge #559

Closed caguero closed 3 months ago

caguero commented 3 months ago

🦟 Bug fix

Fixes #555

Requires https://github.com/gazebosim/gz-transport/pull/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

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.