Skip to content

Latest commit

 

History

History
19 lines (17 loc) · 520 Bytes

README.md

File metadata and controls

19 lines (17 loc) · 520 Bytes

LP2 Drone Project - Lab 1

Intall the requied Python packages

pip3 install -r requirements.txt

Go to /webserver, run the flask server:

export FLASK_APP=build.py
export FLASK_ENV=development
flask run

Go to /pi, run the Pi controller:

python3 pi_controller.py

In the terminal running pi_controller.py, use 'wasd' to move the 'drone' on the website.

Note: Don't user python3 build.py to run the webserver, since this does not porvide all the functionalities requied by the application.