A python-based server and HTML webUI to control Geoscan Pioneer Mini drones (for neurointerface control)
This script starts a http-server on port 41017 and accepts commands (case insensitive):
takeoff, land, forward, back, left, right, turnLeft, turnRight, up, down, status, exit
-
Install pioneer-sdk:
pip install pioneer-sdk
-
Run:
python httpPioneer.py
-
Call commands via http requests, e.g. 'http://127.0.0.1:41017/?action=takeoff'
-
Or use web UI by opening 'http://127.0.0.1:41017' or 'pioneer.html' in a browser
- Open the mental states tab in NeuroPlayPro app
- Check the Actions drop down
- Use HTTP-type and write in desired mental state actions: "http://127.0.0.1:41017/?action=forward", "http://127.0.0.1:41017/?action=turnLeft", etc.