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
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.
- 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
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/