rosbridge online
Background:
I am currently working on a project that wants to remotely receive video stream and send control commands to my ROS robot. I have it working perfectly in localhost by using rosbridge. It serves a web page on localhost:8181 that has video stream and a control panel.
Working ports on localhost:
Rosbridge port on 9090 (a bridge between ROS and JS web app)
mjpeg port on 8080 (for video stream)
web app port on 8181
My solution:
Should I use a server that has public IP to listen and send packages between control web app and ROS robot? I am thinking to forward my localhost ports to public server or use websocket to bind two ports.
No sure what to do. can anybody give some advises?