Fast-DDS icon indicating copy to clipboard operation
Fast-DDS copied to clipboard

FastDDS 3.1.0 cannot communicate with ROS2

Open p-zzg opened this issue 1 year ago • 5 comments

Is there an already existing issue for this?

  • [X] I have searched the existing issues

Expected behavior

FastDDS 3.1.0 communicate with ROS2 (Ubuntu20.04 foxy)

Current behavior

FastDDS 3.1.0 cannot communicate with ROS2

Steps to reproduce

FastDDS 3.1.0 Create Topic release subscription, but ROS2 Topic List cannot find TOPIC

Fast DDS version/commit

3.1.0/master

Platform/Architecture

Ubuntu Focal 20.04 amd64

Transport layer

Default configuration, UDPv4 & SHM

Additional context

No response

XML configuration file

No response

Relevant log output

No response

Network traffic capture

No response

p-zzg avatar Oct 18 '24 07:10 p-zzg

The 2.14.0 I used before 3.1.0 can communicate with ROS2. Is it a version question?

p-zzg avatar Oct 18 '24 07:10 p-zzg

Hi @p-zzg, Thanks for using Fast DDS. ROS 2 Foxy was attached to Fast DDS 2.1.x which reached its EOL in May 2023 (see our RELEASE_SUPPORT) . There is no guarantee of interoperatiblity between ROS 2 major releases. However, there should be between any pair of Fast DDS currently supported branches

Mario-DL avatar Oct 21 '24 05:10 Mario-DL

Additionally, you should be aware that using SHM between Fast DDS v2 and Fast DDS v3 will not work since file segments name have changed.

If you need further support please please contact our commercial support

Mario-DL avatar Oct 21 '24 06:10 Mario-DL

Additionally, you should be aware that using SHM between Fast DDS v2 and Fast DDS v3 will not work since file segments name have changed.

If you need further support please please contact our commercial support

I also tried to close the shared memory, only UDP But ROS2 still cannot be found Did you find that the agreement has changed?

p-zzg avatar Oct 21 '24 06:10 p-zzg

Additionally, you should be aware that using SHM between Fast DDS v2 and Fast DDS v3 will not work since file segments name have changed.

If you need further support please please contact our commercial support

The current problem is that TOPIC cannot be discovered, not the data cannot be subscribed to Topic found that the protocol should be a network protocol, not SHM Is it a TOPIC discovery agreement?

p-zzg avatar Oct 21 '24 06:10 p-zzg

Hi @p-zzg,

I also tried to close the shared memory, only UDP But ROS2 still cannot be found Did you find that the agreement has changed?

As @Mario-DL has mentioned, ROS 2 Foxy is EOL, and interoperability between ROS 2 major releases is not guaranteed. In versions that came later than Foxy, compatibility with the discovery info topic was broken.

If you are looking for a custom solution, please contact our commercial support [email protected].

JesusPoderoso avatar Oct 25 '24 11:10 JesusPoderoso