Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pigmice2733/frc-2022

Pigmice robot code for FRC 2022 Rapid React
https://github.com/pigmice2733/frc-2022

frc java pigmice rapid-react robotics

Last synced: 3 days ago
JSON representation

Pigmice robot code for FRC 2022 Rapid React

Awesome Lists containing this project

README

        


Rapid React 2022 Icon

frc-2022


Robot code for FRC 2022 Rapid React

Java CI With Gradle

## Prerequisites

Make sure you have [Git](https://git-scm.com/downloads) installed, as well as some form of code editor. [Visual Studio Code](https://code.visualstudio.com/) is recommended, as well as the [Microsoft Extension Pack for Java](https://marketplace.visualstudio.com/items?itemName=vscjava.vscode-java-pack).

## Installation

1. Open a terminal and [`cd`](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/cd) into the directory you want to clone the repository into.
2. Install [Git](https://git-scm.com/downloads) 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](https://github.com/Pigmice2733/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`](https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/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`.