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

How to remotely connect two computers running ROS?

asked 2021-08-10 03:55:27 -0500

Tejas Rao gravatar image

updated 2022-03-05 17:57:12 -0500

lucasw gravatar image

I want to remotely control a Gazebo simulated vehicle on my friend's laptop by issuing commands on my laptop. I should also be able to view the video feed from the cameras of the simulated vehicle. So far, I have managed to issue the commands by creating an MQTT broker and issuing commands using clients on python scripts. However, this is not an elegant solution and I'm finding it difficult to send images over the broker. Is there any better way I can accomplish this without using paid software?

edit retag flag offensive close merge delete

Comments

Could you clarify if both computers are on the same network, or they are not on the same network but can communicate through a mobile network?

ijnek gravatar image ijnek  ( 2021-08-10 18:19:27 -0500 )edit

The two computers are on two different networks, and cannot communicate through a mobile network

Tejas Rao gravatar image Tejas Rao  ( 2021-08-12 23:28:40 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2021-08-13 01:57:37 -0500

ijnek gravatar image

updated 2021-08-13 03:09:50 -0500

EDIT:

According to @gvdhoorn 's comment on this answer, the go-to solution is to use a VPN or some other form of tunnel.


ORIGINAL:

Take a look at this answer, VPN or some other form of tunnel between remote networks seems the way to go about this. (From my knowledge, this topic has been discussed a couple times before on ROS Answers, but still doesn't have a nice go-to solution yet).

edit flag offensive delete link more

Comments

1

The go-to solution is using a VPN or some other form of tunnel.

Whether a proprietary system, a commercial service or simply Wireguard, OpenVPN or something like Tinc doesn't really matter from a functional perspective.

gvdhoorn gravatar image gvdhoorn  ( 2021-08-13 02:37:49 -0500 )edit
0

answered 2021-08-10 05:55:34 -0500

Seems like you should take a look at this tutorial

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2021-08-10 03:55:27 -0500

Seen: 302 times

Last updated: Aug 13 '21