domain_bridge icon indicating copy to clipboard operation
domain_bridge copied to clipboard

fix bidirectional bridge looping over the messages with fastdds

Open cyrilleberger opened this issue 8 months ago • 0 comments

When using fastdds (default in humble), and using a bidirectional topic bridge, the same message keep been sent over and over. This is because the behavior of ignore_local_publications is different between fastdds and cyclonedds, this is was reported to rmw_fastrtps in https://github.com/ros2/rmw_fastrtps/issues/573. To fix this problem, I made a change in domain_bridge to make sure that the message we receive from a subscriber do not come from a publisher owned by the bridge. This fix the problem of sending the same message over and over.

cyrilleberger avatar Oct 18 '23 19:10 cyrilleberger