Skip to main content

Build & Deploy

This page explains how to build, deploy, and simulate robot code.

Build

  • VS Code: Ctrl + Shift + PBuild Robot Code
  • Terminal: ./gradlew build

Deploy to Robot

  1. Connect via USB or Wi‑Fi
  2. Ctrl + Shift + PDeploy Robot Code
  3. Wait for BUILD SUCCESSFUL
  4. Reboot robot; check Driver Station lights

Simulation

Run:

Ctrl + Shift + P → Simulate Robot Code

The simulation GUI will launch alongside your program.

Troubleshooting

IssueFix
“No roboRIO found”Verify team = 5847, disable firewall, use USB
Gradle hangs./gradlew --stop then ./gradlew clean build
Vendor deps missingVS Code → WPILib: Manage Vendor Libraries → Install new