Ask Your Question

Can we call rosrun or roslaunch from an html page or roslibjs?

asked 2017-12-22 01:59:34 -0500

Saif Alabachi gravatar image

Hi, Is there any way to execute files in ros from a web page? This will help in fasting the process and give control to users instead of having administrator running their required pages.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-05-02 14:35:43 -0500

robotchicken gravatar image

updated 2018-05-02 14:36:28 -0500

I guess this is more of a "How do I run a command line script on a Server with a web facing UI?" kind of question than something to do with ROS specifically. So I guess there are many ways to go about doing that, depending on your use case.

One super quick way(not the best though) way would be to use Jupyter Notebooks. Setting up a Secure Public Jupyter Notebook Server is super easy and you can run ROS python scripts directly or python scritps that run shell commands(roslaunch/rosrun).

I haven't actually given a lot of thought about this but I guess it should work for running ROS nodes on a server remotely.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2017-12-22 01:59:34 -0500

Seen: 456 times

Last updated: May 02 '18