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

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

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

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
0

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

robotchicken gravatar image

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

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

Question Tools

1 follower

Stats

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

Seen: 575 times

Last updated: May 02 '18