communicate between foxy and dashing
HI everyone
Recently I am trying to communicate between foxy and dashing on different devices.
I have two computers, their configuration is as follows:
1: Ubuntu18.04+ROS2 dashing;
2: Ubuntu20.04+ROS2 foxy.
Each of them works very well.
When I connect them to the same LAN, and export ROS_DOMAIN_ID
. I encountered some problems:
(1) When I try to run listener ros2 run demo_node_cpp listener
on pc 1,
Run talker ros2 run demo_node_cpp talker
on pc 2, they can communicate normally;
(2) When I try to run talker ros2 run demo_node_cpp talker
on pc 1,
Run listener ros2 run demo_node_cpp listene
r on pc 2, they cannot communicate normally.
Can someone help me?
I'm having the exact same issue with the same setup (but using VMs instead with a bridged adapter). I tried with eloquent (Ubuntu 18.04) and it works fine, the problem stated in point no. 2 only appears for dashing.
Additional note: When running the talker node on Ubuntu18.04+ROS dashing: --> on Ubuntu20.04+Foxy, the "/chatter" topic appears when I run "ros2 topic list". But no output with "ros2 topic echo /chatter"
Did you guys manage to solve this issue? I might need to implement something similar for a project I'm working on and I want to know if it is possible to do this.
It seems that Ros is not guaranteed to work between distributions. Often it does but apparently not in this case: https://github.com/ros2/ros2/issues/990