MarvinTheParanoidAndroid
Our code for the 2019 FIRST Robotics Competition Season. This goes with our 2019 robot, Rosetta.
Installation:
git clone https://github.com/lnstempunks/marvintheparanoidandroid
pip3 install pipenv
pipenv install
Style
Run black .
prior to committing any changes, as style is enforced by CI.
See PEP 8 and PEP 257 for style guidance.
Checks
Code should pass flake8 .
prior to commit, as static analysis is also checked by CI.
Running
Run simulator
python3 robot.py sim
Run tests
python3 robot.py test
Deploy to robot
python3 robot.py deploy
To edit any changes in IPs or radios, edit or delete the .deploy_cfg
file.
If your editor is Visual Studio Code (recommended), make sure to select the pipenv interpreter instead of the system-wide interpreter.