Robotics StackExchange | Archived questions

Forwarding local ROS topics to cloud server.

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.

Asked by Abhishekpg on 2021-05-12 03:11:22 UTC

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.

Asked by SuleKayiran on 2021-10-18 07:42:35 UTC

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

Asked by Abhishekpg on 2022-03-16 00:25:38 UTC

Thank you for your reply, I will investigate further.

Asked by SuleKayiran on 2022-03-18 01:33:02 UTC

Answers