How to telecommunicate between the two different allpiances?
Hello, I'm using ROS kinetic with Ubuntu 16.04.
I need to get some topics from another laptop PC with the same Wifi router.
Unfortunately, I've never done that kind of thing before so I don't know what should I do first.
Following an article, when appliance 'pc1' of the master PC has an IP address of 202.190.0.1:11311
and also I want to take it on the remote appliance 'pc2' whose IP address is 196.120.0.15
,
$ export ROS_IP = 196.120.0.15
$ export ROS_MASTER_URI = http://202.190.0.1:11311
And the above also allows the remote laptop 'pc2' to take any topics from 'pc1'.
However, I'm not sure where should I do this, I mean with 'pc1' or 'pc2', and also whether this is correct.
If anyone is familiar with this kind of works, would you please teach a great way?
And should I set the same version of ROS('pc2') with that of the master PC('pc1')?
Thanks in advances :)
Your main issue is that you have IP addresses in two completely different IP ranges. This will most probably not work. If both laptops are connected to the same wifi, this seems highly unlikely. If you haven't set up something very strange, they should be in the same subnet. Make sure that you've taken the IPs of the correct network devices. Also, follow the NetworkSetup Guide for the basic checks.