nathan815 / drone-competition

Control code & volunteer web app for drone racing competition
1 stars 0 forks source link

Setup flask-socketio for communicating between frontend and backend #6

Open nathan815 opened 5 years ago

nathan815 commented 5 years ago

We'll use flask-socketio library to create a websocket server and respond to commands. This will allow us to send flight data to the front end in real time, while also making it easy to send commands to the backend.

Commands:

nathan815 commented 5 years ago

I have put all the flask routes and socketio listeners in web/main.py. For now this will work fine, but we could always split it up later if needed.