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

Hello guys. I have a scenario in which i have to control (basically send messages to) a master node from the internet

asked 2016-03-14 02:54:17 -0500

nishthapa gravatar image

updated 2016-03-14 02:54:58 -0500

The machine has apache2 and ROS Master. I have also built a Wordpress site on the same machine. What i want to do is to access that wordpress site from the internet (i will buy a router) and use it to send messages to and receive from the ROS Master. Any ideas ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2016-03-14 03:17:30 -0500

ahendrix gravatar image

Have a look at rosbridge_suite and roslibjs.

Keep in mind that having your ROS master or rosbridge server available on the internet means that anyone can access it, unless you explicitly add access controls.

edit flag offensive delete link more

Comments

Thanks for the quick reply. I will look into it and this is only for a proof of concept. I will be developing more on that later.

nishthapa gravatar image nishthapa  ( 2016-03-14 03:42:41 -0500 )edit

Thanks a lot bro . I did it. You the man.

nishthapa gravatar image nishthapa  ( 2016-03-14 05:12:15 -0500 )edit

Hello, nishthapa! I have this same issue... How did you made the connection between the 2 nodes? Can you share your code, or part of it? If you prefer, we can talk by e-mail, or facebook chat or whatever... Thanks!

Pedrucius gravatar image Pedrucius  ( 2016-05-17 16:57:27 -0500 )edit
2

Predrucius, if you mean the internet (a webpage), and the Master node then you will have to keep your master node under a port forwarded router having a public IP. And of course you will have to code the webpage (with JavaScript) yourself. If you want more help, mail me.

nishthapa gravatar image nishthapa  ( 2016-05-25 01:55:32 -0500 )edit

Thanks man! My router had a problem, but now it's solved. Just a simple port forwarding did the trick.

Pedrucius gravatar image Pedrucius  ( 2016-06-18 00:04:41 -0500 )edit

Glad I could be of help.

nishthapa gravatar image nishthapa  ( 2016-06-18 08:21:26 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-03-14 02:54:17 -0500

Seen: 131 times

Last updated: Mar 14 '16