Building and deploying to a roboRIO

Building Robot Code

The first step to getting the program on the roboRIO is to build the code. This will compile and link the project files.

To build the robot project, do one of:

  1. Open the Command Palette and select "Build Robot Code"
  2. Open the shortcut menu indicated by the ellipses in the top right corner of the VS Code window and select "Build Robot Code"
  3. Right-click on the build.gradle file in the project hierarchy and select "Build Robot Code"

Deploying Robot Code

Deploy robot code by selecting "Deploy Robot Code" from any of the three locations from the previous instructions. That will build (if necessary) and deploy the robot program to the roboRIO. The deployment process will begin and start outputting status information to the console. If successful, your see a "Build Successful" message and the RioLog will open with the console output from the robot program as it runs.