This is the code used to control the underwater ROV for the MateROV competeition.
Let's assuming you are currently in the ~/materov
cloned directory
- Create a Python virtual enviornment
python3 -m venv --system-site-packages venv
- Source the local enviornment (You have to run this every time a new terminal session is created)
source venv/bin/activate
- Install packages
pip3 install flask adafruit-circuitpython-motorkit
- Run!
python3 main.py
I used Socket.IO and PicoCSS for this minimal project.
Colors are also from PicoCSS: https://picocss.com/docs/colors