Web Joystick using Flask server and roslibjs
Dependencies:
- Python: tornado, mongo-python-driver, flask, flaskcompress
- ROS - rosauth, rosbridge_suite
Link to roslibjs tutorials - http://wiki.ros.org/roslibjs
Usage of this project
- This is a ROS catkin workspce. After buliding the workspace using
catkin_make,run the launchfile -roslaunch rosbridge_server rosbridge_websocket.launch - Next host the website by running the
joy_gui/main.pyfile, developed using flask. It will host the joy stick @ http://0.0.0.0:5000
More Info
- Source your preferred workspace and run the
rosbridge_websocket.launchofrosbridge_serverpackage- This acts as a bridge between the website & ROS master and you will be able to use any feature of ROS in that workspace.
- We now have to host a web server which provides a backend for our joystick template
- Python Flask is an awesome tool for hosting small server and is easy to use
roslibjshas almost all features thatrospyhas, enabling us to create a UI for remotely operating our bot