Getting Started
This guide will show you how to start contributing to our codebase. Please note that you may experience issues not mentioned in here and we recommend reaching out to our your local nerd.
Getting the Code
Section titled “Getting the Code”This project uses the Pedro Pathing QuickStart as a base. Follow these steps to clone, build, and deploy your code to your Control Hub or Android Phone.
Prerequisites
Section titled “Prerequisites”| Requirement | Details |
|---|---|
| Android Studio | Ladybug (2024.2.1) or newer recommended |
| JDK | 17+ (should be bundled in with android studio) |
| ADB Platform Tool | Required for wireless deployment |
| USB-A to USB-C Cable | Required for First Connect |
Cloning the Repository
Section titled “Cloning the Repository”-
Open Android Studio and click Clone Repository in the upper right corner.
-
In the URL field, paste the team repository link:
Terminal window https://gitlab.com/shhs-2026-robotics/ChicagoStateInvitationals.git -
Click the clone button in the bottom right corner.
First Time Build
Section titled “First Time Build”Build & Deploy
Section titled “Build & Deploy”-
Connect to the Robot You can connect to the Control Hub in one of two ways:
- Option A (USB): Plug a USB-A to USB-C cable directly from your laptop into the Control Hub
- Option B (Wireless via ADB): Connect your laptop to the robot’s Wi-Fi network, open your terminal, and navigate to your platform-tools directory. \n
To connect via ADB on Windows, navigate to your platform tools directory:
Terminal window C:/Users/%your-user%/AppData/Local/Android/Sdk/platform-toolsOnce your terminal is open in your platform tools directory run the connection command
Terminal window ./adb connect 192.168.43.1:5555 -
Deploy the Code
Once your successfully connected to the Robot you should notice that next to your run module the device will say something along the lines of REV Control Hub
This means that you are ready to push your code, just press the run button and wait till it launches on your control hub and you successfully updated the code on your control hub.