Internal communication fails if network is gone ROS2

asked 2021-11-30 02:02:29 -0500

fnax8902 gravatar image

Hello, I've got multiple roboter platforms in a WiFi Network which communicate with each other, but also have some internal communication. If they do drive out of the range of the WiFi I obviously want the internal communication to still be held up. But as the network is gone and they loose their IP-Adress (and as far as I understand each node is just at an IP adress on a specific port) the internal communictaion is gone as well. I'm using the latest ROS2 galactic with the Cyclone DDS implementation.

Is there any way to fix this problem, maybe another DDS version?

Thanks.

edit retag flag offensive close merge delete

Comments

So after trying it out it seems that using FastRTPS solves this problem. Apparently it is able to switch to localhost on its own.

fnax8902 gravatar image fnax8902  ( 2021-12-01 05:43:52 -0500 )edit