The Rapid React (FRC 2022) Code
WinT-3794's code for the FIRST Robotics Competition 2022 (Rapid React). Written in Java and is based off WPILib's Java control system.
- Clone this repo
- Run
./gradlew
to download Gradle and needed FRC/Vendor libraries (make sure you're using Java 11 or greater) - Run
./gradlew downloadAll
to download FRC tools (ShuffleBoard, etc.) - Run
./gradlew tasks
to see available options - Enjoy!
- Get the WPILib extension from the release page on this repository
- 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 - Run
./gradlew test
to run all of the JUnit tests
k*** (i.e. kDriveWheelTrackWidthInches): Final constants, especially those found in the Constants.java file.
m*** (i.e. m_drivetrain): Private instance variables