How to Build Deploy and Run the Robot Code - quasics/quasics-frc-sw-2015 GitHub Wiki

Updating Code

  1. Log into the Developer account. Capture1
  2. On the desktop, there is a folder named "quasics-frc-sw-2015.git"

Screenshot 2021-10-14 193640

  1. Right Click on the folder, and select "SVN Update" Screenshot 2021-10-14 193616

  2. A window should open and automatically begin updating the code. Once finished, press "OK"

Screenshot 2021-10-14 193728

Building Code

  1. Double-click on the VS Code icon on the desktop. Please make sure it is correct for the respective year of FRC.

Capture

  1. Navigate to the top right side of the screen and select the "W" icon outlined in red. If no "W" is present, do ctrl + shift + p.

Screenshot 2021-10-14 193933

  1. Once selected, type "Build" into the search bar that appears. Screenshot 2021-10-14 194000

  2. Click the option named "WPILib: Build Robot Code"

  3. The code will then begin to build and test if the code builds or fails.

  4. Once the build appears as "Build Successful" move onto deploying the code. Screenshot 2021-10-14 194100

Connecting to the robot

  1. Please ensure the robot is turned on and the radios are enabled.
  2. Navigate to the computer and left click the WiFi symbol near the bottom right corner of the screen.

Screenshot 2021-10-14 194205

  1. A network named "2656" usually followed by a letter should appear after the robot has been enabled for a few minutes. If you are not seeing network, please ensure that the robot is turned on and the radios are enabled.
  2. Click on the "2656" network, and select "Connect"
  3. Once connected, the WiFi settings will state there is no internet. This is correct.

Screenshot 2021-10-14 195451

Deploying Code

  1. Please ensure the robot is turned on and the radios are enabled.
  2. Double-click on the VS Code icon on the desktop. Please make sure it is correct for the respective year of FRC.

Capture

  1. Navigate to the top right side of the screen and select the "W" icon outlined in red. If no "W" is present, do ctrl + shift + p.

Screenshot 2021-10-14 193933

  1. Once selected, type "Deploy" into the search bar that appears. Screenshot 2021-10-14 194020
  2. Click the option named "WPILib: Deploy Robot Code"
  3. The program will begin to build the code, and will proceed to deploy the code if build is successful. Screenshot 2021-10-14 194100