Skip to content

Keep loopback locators of discovered readers - #446

Open
torkeldanielsson wants to merge 1 commit into
Atostek:masterfrom
torkeldanielsson:keep-loopback-reader-locators
Open

torkeldanielsson wants to merge 1 commit into
Atostek:masterfrom
torkeldanielsson:keep-loopback-reader-locators

Conversation

@torkeldanielsson

@torkeldanielsson torkeldanielsson commented Oct 2, 2026 •

Copy link
Copy Markdown

I ran into a bug when building a simulator of the Unitree G1 - for some reason I got no messages on loopback. This solved it.

Reproduced on macOS using hello_world_publisher and CycloneDDS limited to localhost.

I want to be open that this was found and fixed with AI assistance, but this text is written by me - a real human, and I have looked over the code.

Converting an RtpsReaderProxy into the ReaderProxy stored in the discovery database dropped
loopback_unicast_locators, so a reader advertising only loopback unicast locators, such as CycloneDDS
bound to lo without multicast, matched but never received data.
@torkeldanielsson
torkeldanielsson marked this pull request as ready for review October 2, 2026 15:16
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.

1 participant