This code can be "installed" in one of two ways. First, is via an official release:
These are the steps:
- Get the latest release from github
- Unpack the compressed archive
- Open it as a folder in vscode
- Set your team number in wpilib
- Deploy using wpilib
The second way is to use rolling release / waterfall. Just do the steps above, but use git to clone the master branch instead of grabbing the latest release.
NOTE: 5024 members should always use the second method.
To build the c++ documentation, we use a custom Doxygen config. To use this config, run this command on a linux machine:
To build the Controller Layout files, run this command (
python3 may need to be changed to
py3 depending on the system):
python3 ./buildcml.py ./controller_layout.cml.json
NOTE: Linux is required for the doxygen documents due to our use of unix-style path notation.
Our 2019 robots both have RGB LED strips along their sides. These are used to disply robot status and also just to look cool. The current funciton of the lights are as follows:
|Red||Heartbeat||Red alliance auto enabled|
|Blue||Heartbeat||Blue alliance auto enabled|
|Red||Solid||Red alliance teleop enabled|
|Blue||Solid||Blue alliance teleop enabled|
|Green||Solid||Vision / Finger indication|
Pull requests is our prefered method of merging code. For a PR to be merged, it must:
- Pass style checking
- Be approved by a mentor or team lead
- Compile without any errors or warnings
When deploying code to our robots we have a problem where, on the first few tries, the deployment fails due to not being able to find the RIO. Just keep trying, and it will eventually work.
This codebase is built and tested by the 5024 programming team with help from our mentors: