The Drop Bears' robot code for FIRST Infinite Recharge (FRC 2020-2021).
On a computer:
pip3 install -r requirements-sim.txt
For the roboRIO:
# 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 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.
Install the linters we're using with:
pip3 install -r requirements-lint.txt
Ensure code passes pyflakes, a static analysis checker:
pyflakes .
This is enforced by CI.
./robot.py sim
./robot.py deploy
This project is configured to automatically deploy to 4774's robot.