Skip to content

Pigmice2733/frc-2022

Repository files navigation

Rapid React 2022 Icon

frc-2022

Robot code for FRC 2022 Rapid React

Java CI With Gradle


Prerequisites

Make sure you have Git installed, as well as some form of code editor. Visual Studio Code is recommended, as well as the Microsoft Extension Pack for Java.

Installation

  1. Open a terminal and cd into the directory you want to clone the repository into.
  2. Install Git if you haven't already.
  3. Run the command git clone --recurse-submodules https://github.com/Pigmice2733/frc-2022.git. The --recurse-submodules is important because it tells git to include robolib when it downloads everything.

And you're done! The project will have been downloaded into a new folder called frc-2022.

Building and Running

  1. Open a terminal and cd into the project directory (frc-2022).
  2. To build the code, run ./gradlew build.
  3. To run all unit tests, run ./gradlew test.
  4. To deploy the code to the robot, make sure you're connected to the robot either over WiFi or through Ethernet. Then run ./gradlew deploy.

Releases

No releases published

Packages

No packages published

Languages