The Drop Bears' robot code for FIRST Rapid React (FRC 2022).
With pipenv
:
pipenv install
With plain pip
:
pip3 install -r requirements-sim.txt
# Online:
robotpy-installer download-python
robotpy-installer download -r requirements.txt
# On the robot network:
robotpy-installer install-python
robotpy-installer install -r requirements.txt
This project has pre-commit.com set up.
This codebase adheres to the code style enforced by the black autoformatter:
black .
This is enforced by CI. To install this:
pip3 install black
See PEP 8 on naming conventions.
Docstrings should follow Google style. See also PEP 257.
./robot.py sim
./robot.py deploy
This project is configured to automatically deploy to 4774's robot.