This is TRIGON 5990 robot code for the 2022 FRC off season: RAPID REACT.
The code is written in Java and is based of WPILib Java control system.
- Clone this repo
- Run
./gradlew
to download gradle and needed FRC/Vendor libraries - Run
./gradlew tasks
to see available options - Enjoy!
- Get the WPILib extension for easiest use from the VSCode Marketplace - Requires Java 11 or greater
- In
.vscode/settings.json
, set the User Setting,java.home
, to the correct directory pointing to your JDK 11 directory
- Run
./gradlew deploy
to deploy to the robot in Terminal (*nix) or Powershell (Windows) - Run
./gradlew build
to build the code. Use the--info
flag for more details
-
Contains the robot's central functions and runs the robot main loop. It also contains control for the drivers.
-
Contains code for subsystems. The subsystems are used by commands and the command scheduler for convenient control of the robot.
-
Contains code for general commands that do not require a specific subsystem.
-
Contains code for sensors and solenoids used by the robot.
-
Contains a collection of assorted utilities classes used in the robot code. Check each file for more information.
-
Contains various classes that help with tracking and following vision targets using limelight 2.