frc2609 / rapid-react-robot-code-2022

Other
4 stars 2 forks source link

rapid-react-robot-code-2022

Robot code for First Robotics Challenge for 2022.

The pictures folder is for the embedded photos. Don't delete it.

Prerequisites

Install the latest version of WPILib 2022 from this link

Then, install the NI Game Tools for First Robotics from this link

Deploying code to the robot

First, turn on the robot using the circuit breaker:

Wait until the router light turns yellow (it will take about a minute)

Next, go to Wi-Fi settings and connect to "2609_widetestbot"

After that, press CTRL+SHIFT+P or press the WPILib button in the top right corner and type "Deploy Robot Code", then press enter.

If you get an error saying BUILD FAILED in Xs, you are probably not connected to the robot. Scroll up in the console.

If you see something along the lines of Are you connected to the robot, and is it on? You are likely not connected to the robot's Wi-Fi network.

If you get a message saying BUILD SUCCESSFUL in Xs, your code is now deployed to the robot and ready to be used.