03 / Code

Debug
creatively.

Our software combines reliable driver control, thoughtful autonomous routines, and constant testing on the field.

Our team code

Explore our
software.

Our library

Meet Volt.

Volt is our open-source Kotlin library for FIRST Tech Challenge teams. It takes an object-oriented approach to FTC code, so robots are built from modular, readable pieces.

Volt on GitHub
Pedro Pathing visualizer showing a planned autonomous path for a robot on the FTC field

Tech stack

The tools behind our code.

Android Studio
Where we write, build and deploy our robot code to the Control Hub.
Volt
Our own library, so every OpMode is built from the same modular pieces.
Pedro Pathing
Plans and follows our autonomous paths. We map out and check each route in its visualizer before running it on the field.

Code logic

How our autonomous thinks.

This flowchart is one of our autonomous routines. The robot strafes to its launch position, reads the motif with getMotif(), and turns the launcher on.

The motif ID (21, 22 or 23) sets the order: the classifier releases one green and two purple pieces, with green first, second or last to match. Then the launcher turns off.

Flowchart: begin, strafeTo(launchPos), getMotif(), launcher.enable(), then motif ID 21, 22 or 23 selects the order the classifier releases one green and two purple pieces, then launcher.disable()