AU Robotics 2024 Final Project
Set up the virtual environment
python -m venv flask-venv
Activate the environment
Windows
./flask-venv/Scripts/activate
Linux
chmod +x ./flask-venv/bin/activate
./flask-venv/bin/activate
Install the dependencies
pip install ./backend/requirements.txt
Running the flask server
python ./backend/main.py
https://mosquitto.org/download/
To run the broker:
mosquitto -c ./mqtt/mosquitto.conf
Dependencies
cd ./frontend
npm install
Run
cd ./frontend
npm start
Controller Commands
- L2 = B6 -> back
- R2 = B7 -> fwd
- B0, B1 : x, o
- B2, B3: sqr, tri
- Axes: +ve right, down
- 0, 1: lStick, h, v
- 2, 3: rStick, h, v