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

how to run ROS across multiple machines with different networks?

asked 2011-05-29 13:56:42 -0600

Nutan gravatar image

updated 2014-01-28 17:09:45 -0600

ngrennan gravatar image

Hi, all,

Would I know how to run ROS across multiple machines with different networks? I failed to ping them like this:

PING 192.168.1.103 (192.168.1.103) 56(84) bytes of data. From 10.217.252.54 icmp_seq=1 Time to live exceeded From 10.217.252.54 icmp_seq=2 Time to live exceeded From 10.217.252.54 icmp_seq=3 Time to live exceeded From 10.217.252.54 icmp_seq=4 Time to live exceeded From 10.217.252.54 icmp_seq=5 Time to live exceeded From 10.217.252.54 icmp_seq=6 Time to live exceeded From 10.217.252.54 icmp_seq=7 Time to live exceeded From 10.217.252.54 icmp_seq=8 Time to live exceeded ^C --- 192.168.1.103 ping statistics --- 8 packets transmitted, 0 received, +8 errors, 100% packet loss, time 7011ms

edit retag flag offensive close merge delete

Comments

could you explain your network topology more? How is everything connected? As long as you're not able to ping across machines, you won't be able to get communication up and running.
KoenBuys gravatar image KoenBuys  ( 2011-06-04 21:08:57 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
4

answered 2011-05-29 14:22:55 -0600

Hordur gravatar image

How are you connecting your two machines? Your first step is to have them able to communicate together. From your PING log they are on two separate subnets. You need to have routes setup between the networks for that to work. Both of these subnets you have are both used for internal communication and will not be routed over the internet.

For information on using ROS on multiple machine I have found the following pages to be useful: http://www.ros.org/wiki/ROS/NetworkSetup http://www.ros.org/wiki/ROS/EnvironmentVariables

edit flag offensive delete link more

Comments

Hordur, tank you very much. I could ping from computer A to computer B, but could not ping from computer B to computer A. Thus, only computer A could be the master, but i want to take computer B as the master. Do I need to use openVPN?
Nutan gravatar image Nutan  ( 2011-06-05 19:15:52 -0600 )edit

Question Tools

Stats

Asked: 2011-05-29 13:56:42 -0600

Seen: 3,278 times

Last updated: May 29 '11