Can different ROS distros communicate

asked 2021-08-18 07:20:55 -0500

Siddarth09 gravatar image

I am currently facing this exact problem with ROS noetic on my laptop and the melodic version on my Pi4. The problem is am running my hello world publisher and subscriber and it worked

when case 1: Laptop subscriber and pi publisher, but case 2 when my laptop was publishing and pi was subscribing it didn't work

Can someone help me out

edit retag flag offensive close merge delete

Comments

2

Please, please search for existing Q&As before posting a new one.

The question "can different ROS versions communicate" has been posted and answered at least 20 times.

Suggestion: use Google to search. Append site:answers.ros.org to your query.

If you did search, and did find previous Q&As, please mention them in your question. We can then avoid suggesting the same solutions over-and-over.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-18 07:28:44 -0500 )edit
1

I won't close this now, as I don't believe the problem is caused by "different ROS distros".

The fact it works in one direction but not the other suggests your ROS network configuration is not setup correctly. Please refer to wiki/ROS/NetworkSetup and make sure all tests succeed.

Also make sure to have ROS_IP and ROS_MASTER_URI configured correctly.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-18 07:30:18 -0500 )edit