Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.24 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.24 KB

About

Simple Flask - ROS prototype.

Alternative to using ROSLIBJS

Send motion commands via http://localhost:5000/send_movement_command/<direction>

View possible commands at http://localhost:5000/help

An in-depth tutorial is available on the ros_flask wiki

Basic Quickstart

After setting up ROS catkin and making, run this:

roslaunch flask_ros start_server.launch

For more information view the flask_ask_ros repo linked below.

Limitations

  • Flask HTML templates don't seem to work. See /src/html.py for used workaround for providing html responses. This could be an issue with how ROS manages directories. -- NOTE: I have actually fixed this on another project but am too lazy to update things here. If someone wants this create an issue and I'll update this repo

Acknowledgements

originally cloned from this repo by the 3Spheres Project: https://github.com/3SpheresRoboticsProject/flask_ask_ros

found from this article which explains why this works: https://campus-rover.gitbook.io/lab-notebook/cr-package/web-application/flask-and-ros

for use in Oregon State University's Charisma Lab: https://www.charismarobotics.com/