Skip to content

Conversation

@stephendade
Copy link
Contributor

This PR adds topic retries to AP_DDS. It a topic fails to initialise, AP_DDS will retry two more times before erroring out.

This adds more robustness to the DDS initialisation, if the network/serial link is a little lossy.

I also added an extra GCS_SEND_TEXT to let the user know if DDS is operating over a serial or UDP link, as it's not always obvious.

Tested on a Cube Orange with RasPi4

@stephendade
Copy link
Contributor Author

Thomas — 11:03
how does www.github.com/eProsima/Micro-XRCE-DDS-Client/issues/407 relate?

It may help with the SITL CI issue. I was definitely seeing that issue on real HW (DDS via PPP UDP) when I restarted the agent (causing a re-connection in AP_DDS). I'd assumed is was due to lost packets. However, given @Ryanf55's comments iun the linked issue, it may be a deeper issue that affects both SITL and real HW.

Not sure how'd we'd check if this improves the CI, given how flaky the test is? Other than running the test dozens of times and seeing what % of failures we get.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant