ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Multi machine communication through Internet.

asked 2012-08-28 09:53:48 -0600

updated 2014-04-20 14:09:31 -0600

ngrennan gravatar image

Hi All,

I have been using ROS for a while now and most of my activities involve multi-machine communication. However, all this happens in a network formed with a single router (LAN) in the same subnet.

My question is, is it possible to achieve multi-machine communication using ROS in a global scale? I believe it is definitely possible with complex TCP/IP programming or using the concept of server/ client. However, i would like to know are there any simpler techniques to achieve this the way I have been able to do simple multi-master communication using ROS in LAN.

It would be great if someone would be able walk me through the beginner's steps for this.

Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-08-28 11:18:05 -0600

Lorenz gravatar image

updated 2012-08-29 23:15:00 -0600

I would use a VPN. Have a look at this answer.

Edit: Maybe I should also provide some explanation.

As long as you set up your routing tables correctly, you can have nodes communicating across subnet boundaries. But it is important that nodes can directly reach each other, i.e. every computer needs to be pingable from every other computer. Theoretically, it would also be possible to create relay computers that relay nodes from one sub-net into another one but that's sort of hard to get right. The easiest solution for having multiple nodes in different subnets is definitely to set up a vpn and put all nodes into a virtual subnet.

edit flag offensive delete link more

Comments

I did go through your link but it did not seem so simple for me the way its stated there coz am nt tht good on networking concepts. but it acts like a starter. Maybe I'll read more before i could post any sensible query on tht if i come across one. Thanks for your link and your answer there. :)

SivamPillai gravatar image SivamPillai  ( 2012-08-29 23:04:31 -0600 )edit

I'll implement this answer at quiet a later time... but after my reading through several information on the internet your answer makes perfect sense now... vpn should definitely work. Thanks.

SivamPillai gravatar image SivamPillai  ( 2012-09-03 07:10:43 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2012-08-28 09:53:48 -0600

Seen: 2,982 times

Last updated: Aug 29 '12