Robotics StackExchange | Archived questions

Can different ROS distros communicate

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

Asked by Siddarth09 on 2021-08-18 07:20:55 UTC

Comments

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.

Asked by gvdhoorn on 2021-08-18 07:28:44 UTC

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.

Asked by gvdhoorn on 2021-08-18 07:30:18 UTC

Answers