Team 581's 2026 robot code monorepo.
This repository is organized as a Gradle monorepo with the following projects:
shared/- Shared utility libraryturret-bot/- Turret testbed for software developmentdumper-bot/- Triple barrel shooter alpha botbeta-bot/- CA District Silicon Valley Event bot (dye rotor + turret)comp-bot/- Competition dumper bot
# Build all projects
./gradlew build
# Build specific project
./gradlew comp-bot:build./gradlew comp-bot:deploy# Run simulator for specific project
./gradlew comp-bot:simulateJava# Run all tests
./gradlew test
# Run tests for specific project
./gradlew comp-bot:test# Check formatting
./gradlew spotlessCheck
# Apply formatting
./gradlew spotlessApplyWPILib ships with JDK 17, but we use JDK 21. These instructions describe how to install JDK 21 and set it up in WPILib VS Code.
- Run
winget install -e --id EclipseAdoptium.Temurin.21.JDK - In VS Code, run "Preferences: Open User Settings (JSON)" from the command palette
- Delete config values referencing the WPILib JDK
java.jdt.ls.java.homejava.configuration.runtimesterminal.integrated.env.windows->JAVA_HOME
- Install Brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - Run
brew bundle- This will install all tools for development, including WPILib itself
- If you just want to install the JDK, run
brew install openjdk@21
- In VS Code, run "Preferences: Open User Settings (JSON)" from the command palette
- Delete config values referencing the WPILib JDK
java.jdt.ls.java.homejava.configuration.runtimesterminal.integrated.env.osx->JAVA_HOME