Cupid
A competition robot built to sort and shoot on the move.
3D model
The 3D model couldn’t load.
State estimation
The match code uses a goBILDA Pinpoint localizer with two tracking pods. The field pose drives the autonomous path follower and gives the turret a heading reference.
Our regionals design notes also describe a Kalman filter for autonomous localization. A motion model predicts the next state, then the filter corrects it by how far the measurement is from that prediction.
In this linearized update, P− is the predicted covariance, R is measurement noise covariance, and H maps the state into measurement space. The gain K determines how much the estimate moves toward the new reading z.
Shooting on the move
A game piece leaves the flywheel with both its launch velocity and the chassis velocity. In the field frame, the horizontal correction subtracts chassis motion from the velocity the piece needs. The vertical model relates flight time t to the height difference Δz under gravity g.
On the robot, a fitted range-to-RPM curve and a hood lookup table set the shot. An encoder-based velocity PID loop adds feedforward to hold the flywheel near its setpoint through a burst.
Two servos turn the geared turret. Six bearing-stack modules support its rotation, and a cutout in the turret gear lets the shooter sit lower, shortening the feed path to the flywheel.
Field vision
An OpenCV prototype used the Hough circle transform to find partly obscured game pieces. In autonomous, the zone detector bins purple and green centers into six regions. It scores neighboring pairs and selects the window with the most pieces.
ni counts detections centered in region i.
Passive spindexer
The three-slot wheel sorts in one direction and feeds in the other. Angled guides pinch each piece against a one-way flap and lift it toward the flywheel. In reverse, the flap swings clear for sorting.
The sorting algorithm ranks the three cyclic rotations against the requested color pattern. A finite-state controller handles intake, staging, and feeding, with distance sensors checking which slots are occupied.
Results
Our regionals materials report sorting in under 0.2 s and firing three pieces in about 0.25 s.