ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

communicating between ROS2 Eloquent and Foxy

asked 2022-01-05 11:32:55 -0500

delfino gravatar image

I have two Raspberry Pi 4b (arm64) machines that need to communicate. I am able to get them talking with the demo examples (demo_nodes_cpp talker/listener) when they are both running Ubuntu 18.04.05 Server LTS/ROS2 Eloquent Elusor. When one is running Ubuntu 18.04.05 Server LTS/ROS2 Eloquent Elusor and the other is running Ubuntu 20.04.3/ROS2 Foxy Fitzroy, the demo examples fail to work. I understand that it is recommended to use the same ROS2 distro for the whole network of machines, but I have two relatively mature code development efforts that happened on different distros that now need to merge.

Are there environment variables or DDS configurations that I can modify to enable them to communicate across these two distributions?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-01-06 05:38:31 -0500

ljaniec gravatar image

updated 2022-01-06 05:49:32 -0500

AFAIK ROS 2 is not guaranteed to work with communication between older and newer distributions. It sometimes works, there I have found some sources on it:

Suggestion with changing DDS between versions seems to be your good first check.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2022-01-05 11:32:55 -0500

Seen: 247 times

Last updated: Jan 06 '22