eProsima / Micro-XRCE-DDS-Client

Micro XRCE-DDS Client repository. Looking for commercial support? Contact info@eprosima.com
Apache License 2.0
130 stars 82 forks source link

How to reconnect Agent? #364

Closed dongsheng-autra closed 1 year ago

dongsheng-autra commented 1 year ago

How to reconnect Agent when Agent host reboot

pablogs9 commented 1 year ago

You can use the ping functionality on the client side to detect Agent disconnections and recreate your DDS entities.

Check for uxr_ping here: https://micro-xrce-dds.docs.eprosima.com/en/latest/client_api.html?highlight=ping#general-utilities