Last season · 2025-26

Decode

Decode was our second FTC season, and the one where everything started to come together. Here is a look back at the robot we built, the code that ran it, and the math behind it.

RAYMOND JUNIOR V3

The Robot

Raymond Junior V3 was the result of two years of iteration, calculation, and competition experience. Every subsystem was designed to be fast, reliable, and precise, from intake to outtake.

INTAKE

Mecanum Intake

A row of mecanum wheels let us reliably intake artifacts with no risk of accidentally expelling the balls, while guiding them to our transfer and getting them ready to be sent up the ramp.

RAMP

Powered Ramp

A combination of powered surgical tubing and small wheels funneled the balls through the robot quickly and efficiently, allowing for fast and reliable transitions between intake and outtake.

VISION

Limelight Tracking

A forward-facing Limelight camera tracked goal-mounted AprilTags to automatically align the turret with the goal. Working in tandem with a Pinpoint IMU, this let drivers control the robot without needing to track turret orientation.

OUTTAKE

Rotating Turret

Our turret had an adjustable launch angle with 40 degrees of range and could rotate 180 degrees, giving us ideal shot flexibility during the robot game and the ability to shoot from anywhere on the field.

Mid-Season Upgrades

Partway through the season, we reflected on where we fell short in our first competitions and made enhancements across our mechanical design, fabrication, and software. We redesigned our turret for faster, more accurate targeting, and used our in-house CNC machine to cut custom panels with tighter tolerances.

Combined with refined autonomous routines and better shot accuracy during teleop, these upgrades made our robot more consistent and reliable on the field.

CNC-cut turret panels

How We Coded It

Our codebase is written in Java using the FTC SDK, and we use Git for version control to keep development organized across the whole team.

Our biggest software achievement was our auto-alignment system. The Limelight camera detected AprilTags on the goal and fed position data to our turret controller, which automatically rotated to the correct heading. Combined with a Pinpoint IMU for field-centric orientation, our drivers could focus entirely on strategy rather than manual aiming.

We also wrote fully autonomous routines that handled intake, positioning, and shooting without any driver input, maximizing our score during the autonomous period.

Java
Primary Language
FTC
SDK
Git
Version Control
Auto
Autonomous Routines

The Math Behind It

Before building the robot, we calculated the range of optimal launch angles for our turret, ideal wheel speeds, required motor RPMs, and accurate shots from different field positions.

We organized everything into a Google spreadsheet. We only needed to enter the horizontal and vertical distance from the goal, the height difference from our shooter to the goal, and the wheel diameter, and the spreadsheet instantly output the ideal launch angle, required velocity, and motor RPM.

We also coded a custom simulation of the ball's trajectory from different distances with varying angles to optimize the angle range of our hood. The simulation accounted for the rebound off the backboard of the goal to maximize accuracy.

Ball trajectory simulation graph
See our outreach →