Light weight web server running on my ROS robot?

59 views
Skip to first unread message

Pito Salas

unread,
Jul 31, 2017, 5:38:59 PM7/31/17
to Robot Web Tools
Newbie question: I need to have a basic HTTP server running on my ROS robot to take GET and POST requests over TCP/IP and either return status or take certain actions. I've found a many tantalizing ideas and leads googling but none really nail it down for me with a sample application.

So far the most likely candidate I've seen is https://github.com/tork-a/roswww but I can't quite understand how to write my module using this library to get the effect I want.

In pseudo code:

Listen http port 8080;
On "/status":
  Use ROS calls in python to grab status info
  Create an html text string with the result page
  Return it

On "/turn/right":
  create the right topic (e.g. Twist)
  Publish it

etc.

Jihoon Lee

unread,
Aug 1, 2017, 4:36:43 AM8/1/17
to robot-w...@googlegroups.com

Hi Pito,

Check out rostful and pyros. These two should serve what you need.

Cheers,
Jihoon

--
You received this message because you are subscribed to the Google Groups "Robot Web Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robot-web-too...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages