Maintain consistent developer environments across team laptops to avoid compiler mismatches and broken vendor dependencies. Follow this guide to install the official WPILib release and required vendor suites.
1. Installing WPILib VS Code
Section titled “1. Installing WPILib VS Code”WPILib provides an all-in-one offline installer for Windows, macOS, and Linux that installs everything needed to compile and simulate robot code without requiring an existing Java installation.
Step-by-Step Procedure:
Section titled “Step-by-Step Procedure:”- Download the latest installer package from the WPILib GitHub Releases.
- Extract the archive (
.tar.gzon Linux,.zipon Windows, or open the.dmgon macOS). - Run the installer application:
- On Windows: Run
WPILibInstaller.exe. - On macOS: Run the
WPILibInstallerapplication. - On Linux: Run
./WPILibInstaller.
- On Windows: Run
- Choose Install for this user (or all users if you have administrative privileges).
- Ensure all components are checked:
- VS Code: Installs the customized VS Code editor configured for WPILib.
- Embedded JDK: OpenJDK distribution bundled specifically for roboRIO cross-compilation.
- WPILib Tools Ecosystem:
- Elastic Dashboard: Driver-focused, high-performance Flutter dashboard (developed by Team 353) bundled natively for competition match displays.
- AdvantageScope: Modern 3D mechanism visualizer, telemetry plotting tool, and log analysis suite.
- WPIcal: Camera intrinsic/extrinsic and field AprilTag calibration utility.
- Glass: High-performance ImGUI hardware diagnostic and NetworkTables browser.
- SimGUI: Desktop simulation harness for physics modeling without physical hardware.
- Click Finish. A desktop shortcut titled WPILib VS Code [Year] will be created.
Always open your robot projects using the designated WPILib VS Code application rather than a general VS Code installation. The WPILib edition includes pre-configured environment variables and language servers required for Java robotics development.
2. Installing Phoenix Tuner X
Section titled “2. Installing Phoenix Tuner X”Phoenix Tuner X is Cross The Road Electronics’ (CTRE) diagnostic and configuration environment. It communicates directly with CANivore USB bridges and roboRIOs to discover motor controllers, flash firmware, set CAN IDs, and tune closed loops.
Installation:
Section titled “Installation:”- Windows: Install directly from the Microsoft Store: Phoenix Tuner X.
- Android / Amazon Fire Tablets: Available on Google Play Store for bench tuning in the pit.
- Offline Package: Available from CTRE’s website for competition laptops without internet access.
3. Installing NI Game Tools (Driver Station)
Section titled “3. Installing NI Game Tools (Driver Station)”The NI Game Tools package includes the FRC Driver Station, the roboRIO Imaging Tool, and network utilities required to communicate with the Field Management System (FMS).
- Requirement: NI Game Tools only runs on Windows 10/11. macOS and Linux laptops cannot run the official Driver Station.
- Download: Download the current season installer from the National Instruments FRC Game Tools Download Portal.
- Driver Station Version: Verify that the Driver Station displays the current season version number in its diagnostic tab.
4. Managing Vendor Dependencies (vendordeps)
Section titled “4. Managing Vendor Dependencies (vendordeps)”Modern FRC libraries do not bundle JAR files inside git repositories. Instead, libraries are specified as JSON manifests inside the vendordeps/ project directory. Gradle downloads the matching binaries automatically during compilation.
Graphical Vendor Dependency Manager
Section titled “Graphical Vendor Dependency Manager”WPILib VS Code includes a built-in graphical vendor dependency manager interface. You can view, search, install, check for updates, or remove libraries directly from the sidebar without manually typing URLs.
Adding a Vendor Dependency via Command Palette:
Section titled “Adding a Vendor Dependency via Command Palette:”- Open your project in WPILib VS Code.
- Open the Command Palette (Ctrl + Shift + P or Cmd + Shift + P).
- Type and select:
WPILib: Manage Vendor Libraries. - Select
Install new library (online). - Enter the vendor manifest URL:
- CTRE Phoenix 6:
https://maven.ctr-electronics.com/release/com/ctre/phoenix6/latest/Phoenix6-frc2025-latest.json - REVLib:
https://software-metadata.revrobotics.com/REVLib-2025.json - PathPlannerLib:
https://3015rangerrobotics.github.io/pathplannerlib/PathplannerLib.json - LimelightLib:
https://raw.githubusercontent.com/LimelightVision/limelightlib-wpilib-java/main/limelightlib.json
- CTRE Phoenix 6:
The JSON file will be written to vendordeps/ in your repository root.
5. Robot Deployment Targets: Stable 2026 Standard vs. 2027 Preview
Section titled “5. Robot Deployment Targets: Stable 2026 Standard vs. 2027 Preview”When you deploy robot code with ./gradlew deploy or through VS Code (Ctrl + F5), GradleRIO connects to the robot controller via USB or Ethernet and restarts the robot process.
Stable 2026 Competition Standard: NI roboRIO 1.0 / 2.0
Section titled “Stable 2026 Competition Standard: NI roboRIO 1.0 / 2.0”The roboRIO 1.0 / 2.0 remains the official, production-mandated controller for all 2026 regional and district competition play.
2027 Control System Preview: NI SystemCore
Section titled “2027 Control System Preview: NI SystemCore”Teams participating in the official FIRST 2027 Control System beta test can target the next-generation NI SystemCore platform using the WPILib 2027 alpha toolchain.
Verified Sources & Standards
- WPILib Official Installation Guidedocs.wpilib.orgWPILib Standard
- FIRST Robotics Competition Community Blog & Control System Updatesfirstinspires.orgOfficial FIRST Rule