Skip to content

1. Setup and Quick Start

Prerequisites

  • WPILib VS Code
  • Advantage Scope
  • Elastic

Setup

Advantage Scope

Courtesy

The model is adapted from this design on GrabCAD by Daniel Forsythe.

  1. Click File -> Import Layout... and import from //ascope/layout.json
  2. Click Help -> Show Assets Folder. You will see an assets folder named **/AdvantageScope/userAssets/. Copy //ascope/Robot_Tutorial to **/AdvantageScope/userAssets/Robot_Tutorial
  3. In Help -> Show Preferences (Ctrl+,):
    • Set roboRIO Address to 10.team.number.2
    • Set roboRIO Log Folder to /home/lvuser/logs
    • Set Live Source to NetworkTables 4

TIP

Elastic (Optional)

  • Click File -> Download From Robot (Ctrl + D)
  • Or click File -> Open Layout (Ctrl + O) and manually select //src/main/deploy/elastic-layout.json

Simulation

  1. Run WPILib: Simulate Robot Code in WPILib VS Code
  2. Run Elastic and switch to localhost (127.0.0.1) in Settings -> Network -> IP Address Mode
  3. Click File -> Connect to Simulator (Ctrl+Shift+K) in Advantage Scope and enjoy