Sonic Howl's robot code repository for FRC 2023
-
Installing WPILib: In order to get started, you will need to install an IDE along with the WPILib library. To do this, follow the steps on the WPIlib documentation site.
-
Installing RoboPy (Python library): Our robot code this year will be written in python. Because of this, we will also need to install the RoboPy python library. To do this, follow the steps on the RoboPy setup documentation site.
-
Running Robot Code: To run the robot code, type
py -3 robot.py deploy
into the terminal. To run the code in the simulator, typepy -3 robot.py sim
into the terminal.
pip install -U black mypy robotpy robotpy[rev] robotpy[navx] robotpy[ctre] robotpy[pathplannerlib] robotpy[photonvision] robotpy[commands2] robotpy[apriltag]
python -m robotpy_installer download-python
python -m robotpy_installer install-python
python -m robotpy_installer download robotpy[all]
python -m robotpy_installer install robotpy[all]
OR
python -m robotpy_installer download robotpy[all]
python -m robotpy_installer install robotpy[all]
python robot.py sim
python robot.py deploy