Repo for the software running on the Raspberry Pi 4 for the quadcopter
- Python 3.8
- Virtual Environment (I use PipEnv)
- Run
pipenv install
in root directory - To start the environment
pipenv shell
Flask acts as REST server between the controller device and runs on the Pi on the main thread.
For this to work on the Pi without internet connection, setup the pi as a waypoint using this walkthrough
On another thread, there is a serial communication loop running
- Run either command in
/src
python main.py
- Serial port on Raspberry Pi 3B+ is
/dev/ttyACM0
- Still need to build logic between serial and STM