Skip to main content

Deploying the Correct Code

It's important to make sure the correct code is deployed to the robot before demos to ensure there are no unwanted bugs (secret features) that could jeopardize the quality of the demo. This page will guide you through selecting and deploying the correct branch.

The team keeps the working and tested code on the main branch, so you first need to navigate to this branch. Do this by opening the terminal by hitting this icon:

Screenshot 2025-06-12 at 12.43.07 PM.png

Then, type in git checkout main to navigate to the main branch:

image.png

Next, type in git pull to update the branch with any changes that may have been made:

image.png

Next, make sure you're connected to the robot's WiFi. It should show up as 3506_[robot name] or something similar. Once this is done, hit the Gradle tab here:

Screenshot 2025-06-12 at 12.51.06 PM.png

Then navigate to deployUtils > deploy and double click deploy:

image.png

Great! Your code is now being deployed to the robot. Wait a couple of seconds, and you should be good to go!