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

Connecting two remote networks over internet

asked 2016-03-10 12:38:57 -0500

oramirez gravatar image

I'm looking for suggestions on how to connect two networks over internet to use with ROS. This is as an attempt to collaborate between two universities so anything that can avoid bureaucratic juggling with network permissions would be best.

We can open up a port for the rosmaster to communicate between the two networks and we are able to see a listing of topics and services remotely. But no data can be read from the topics. I assume this is because when trying to do rostopic echo <topic> a p2p connection fails due to other ports not being open?

edit retag flag offensive close merge delete

Comments

I have got the same problem, if you have solutions, please share.

StevenWong gravatar image StevenWong  ( 2022-11-15 18:55:15 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-03-11 09:33:58 -0500

rastaxe gravatar image

I think your problem is related to name resolution. As stated in ROS Network Setup, all the machines need full bi-directional connectivity, on all ports. Moreover they have to resolve the name of each other. But I do not know how to solve these issues. I am also interested in.

edit flag offensive delete link more
1

answered 2016-03-10 15:04:04 -0500

gvdhoorn gravatar image

updated 2016-03-10 15:07:42 -0500

There are some possibilities to do this (like ipsec tunnels fi, or SSH tunneling), but success of any approach will depend on what kinds of traffic the firewalls on both university networks will allow. Using a third party 'in the middle' might make things easier, as all connections will be considered outgoing by both university networks then (no need to 'open up ports' for a server at one of the ends).

After setting up the actual connection, it might make sense to look into a multi-master setup in combination with throttling of some of the more 'verbose' topics (such as tf). Most of the times this is taken care of by the multi-master system though.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-03-10 12:38:57 -0500

Seen: 1,714 times

Last updated: Mar 11 '16