Forwarding local ROS topics to cloud server.

asked 2021-05-12 03:11:22 -0500

Abhishekpg gravatar image

Hi All,

Im running a robot on Jetson nano. I have created a web based control center for my robot using ros bridge. But the issue is it works only using localhost. I want to control the robot remotely. one solution I found is forwarding ROS topics to a cloud server like AWS ec2 server. Is there any way how can we do this in optimised way. I have tried port forwarding to eliminate the use of cloud server. But most of the ISPs does not support port forwarding. if anybody can help me with this it would be grateful.

Basically i will have multiple robots, There will be a login page. After logging in the page should redirect to each corresponding robots page.

edit retag flag offensive close merge delete

Comments

Hello, I want to do something similar. Exactly my web interface is running on localhost and I want everyone to connect to this interface. Did you solve this problem? Do you have a simple example? I will be glad if you help.

SuleKayiran gravatar image SuleKayiran  ( 2021-10-18 07:42:35 -0500 )edit

Hi for this you should have a cloud server. Then you can you ssh reverse tunnel from your local server to connect to cloud server. In reverse tunnel any request comes to your cloud server will be forwarded to your local server. In this way everyone can access the rosbrige modules just pointing to cloud server.

ssh example

ssh -R {cloud port}:localhost:{local port} cloud@cloud_ip

Abhishekpg gravatar image Abhishekpg  ( 2022-03-16 00:25:38 -0500 )edit

Thank you for your reply, I will investigate further.

SuleKayiran gravatar image SuleKayiran  ( 2022-03-18 01:33:02 -0500 )edit