ZZZ(Old) Deploying code to the RoboRio (Pre 2019) - quasics/quasics-frc-sw-2015 GitHub Wiki

Assumptions

  • Deployment is taking place using the drive station laptop.
    • You can do this from other machines, but information like the user name, etc., will then be different.
  • You have some basic familiarity with the Eclipse IDE.
    • You should be able to open a workspace, identify the Project Explorer panel, the Console panel, etc.
  • You know how to power up the robot.
    • Connecting/configuring the radio, dealing with the battery, etc., are out of scope for this document.

Deployment process

  1. Boot the laptop and log on using the "Developer" account.
  2. Launch Eclipse.
    • If needed, switch to the workspace containing the project/code to be downloaded to the bot.
  3. (Optional) Update the local copy of the project source code.
    1. Connect to a WiFi network with Internet access (e.g., "GSD-Unsecure" in the workshop).
    2. In the "Project Explorer" panel within Eclipse, right-click on the project with the robot's code, and then select "Team | Update" from the context menu.
  4. (Optional) Run a test build of the code to make sure that everything compiles correctly ("Project | Build").
  5. Power up the robot and wait for the radio to be ready.
    • TODO: Write up what to look for that indicates that everything is ready.
  6. Switch the laptop's WiFi connection to the network from the robot's radio (e.g., "2656").
    • Be sure to wait until the connection has been fully established.
  7. Right-click on the project with the robot's code and select "Run | Wpi Deloy".
    • In the "Console" panel (often at the bottom of the main Eclipse window), you should see a series of output, indicating the progress of the deployment.
    • On successful completion, you should see a message saying, "TODO: Add text here."