πŸ† Competition Β· All Roles Β· Intermediate

Auton Failure Diagnosis

πŸ—ΊοΈ Flowchart β€” Autonomous failure mode tree

When auton goes wrong, the first question is WHERE it went wrong. Each branch points to the most likely cause.

flowchart TD
    Start([Autonomous didn't work
as expected]) --> Q1{Where did
it fail?} Q1 -->|"Didn't move at all"| NotMove[Wrong program selected on Brain?
Battery low?
Competition switch wired incorrectly?] Q1 -->|"Moved wrong distance"| Wrong[Wheel diameter wrong in chassis builder?
External gear ratio wrong?
Floor surface different from practice?] Q1 -->|"Drifted off course"| Drift[IMU not calibrated?
Robot bumped during init?
Drive motors mismatched cartridges?] Q1 -->|"Mechanism stalled"| Stall[Soft limit triggered early?
Battery sag under load?
Motor overheated?
Physical jam?] Q1 -->|"Didn't grab/score"| Grab[Optical threshold wrong
for venue lighting?
Object not at expected position?
Pneumatic pressure low?] style Start fill:#1e293b,stroke:#22d3ee,stroke-width:2px,color:#e2e8f0 style Q1 fill:#fbbf24,color:#0f172a,stroke:#fbbf24 style NotMove fill:#7f1d1d,color:#fecaca,stroke:#ef4444 style Wrong fill:#1e293b,color:#e2e8f0,stroke:#334155 style Drift fill:#1e293b,color:#e2e8f0,stroke:#334155 style Stall fill:#1e293b,color:#e2e8f0,stroke:#334155 style Grab fill:#1e293b,color:#e2e8f0,stroke:#334155

Your auton worked perfectly in practice. Then it failed at the tournament. This guide covers the 6 reasons this happens β€” and the 3-minute pre-match protocol that prevents most of them.

This is not PID Diagnostics. PID Diagnostics covers mechanical and tuning failures. This guide covers match-day failures in code that worked fine before β€” different causes, different fixes.
🚨 The 6 Match-Day Failure Modes
❌ 1 β€” Field tile variation
Your practice field has different friction or tile height from the competition field. The robot drives the same inches but ends up in a different position.
Fix: Use sensors, not time/distance alone. Add a drive_imu_reset() after wall contact. Use distance sensors to verify position at the start. Never trust raw drive distances at tournaments without a position check.
❌ 2 β€” Starting position drift
The robot was placed 2 inches off its intended start. Every subsequent movement is now 2 inches wrong. By mid-auton, the error compounds into a miss.
Fix: Use a physical reference β€” tile edge, corner, or field wall β€” to position the robot identically every match. Add a tape mark to your robot showing where the tile edge should land. Brief your driver on the exact placement before every match.
❌ 3 β€” IMU not calibrated
The robot was picked up or bumped after the Brain powered on. The IMU calibrated wrong. Every turn is now off by a fixed angle β€” usually 5–20Β°.
Fix: Set the robot down, power on, and don't touch it until the Brain screen shows your auton selector. Add a pros::delay(2000) at the start of initialize() as a forced quiet period before calibration begins. See IMU Setup & Calibration.
❌ 4 β€” Wrong auton selected
Driver selected the wrong slot in the auton selector. Red-side auton runs on blue side, or skills routine runs in a match. This is a process failure, not a code failure.
Fix: Add a color indicator to the Brain screen β€” display "RED" or "BLUE" in the auton name. Add to your pre-match checklist: Strategist reads the auton name aloud, Driver confirms. Make it a two-person verbal confirmation.
❌ 5 β€” Battery power drop
Motor speeds are battery-voltage-dependent. A 60% battery drives differently than a 90% battery. Your auton was tuned on a full battery.
Fix: Only use batteries above 80% for competition autons. Add battery level to your pre-match checklist: check pros::battery::get_capacity() in your Brain screen display. See Battery Management.
❌ 6 β€” Opponent robot interference
The opponent's robot crossed into your auton path. Your robot hit them, lost position, and finished the auton in the wrong place.
Fix: Design autons to avoid the opponent's side of the field in the first 5 seconds. Watch opponent autons in your scouting notes β€” if they cross your path, use your backup auton. Brief the Strategist to scout opponent auton paths specifically.
⏱ 3-Minute Pre-Match Auton Protocol
Run this at every competition match, every time. Most auton failures are preventable with a consistent process.
1
Check battery level on Brain before queuing. Under 80%? Swap batteries now, not in the queue.
2
Confirm auton selection β€” Strategist reads the Brain screen auton name aloud. Driver confirms by nodding. Both names match alliance color and strategy agreed in briefing.
3
Power cycle if needed β€” if robot was moved since last match, power off, set on field, power on, wait for Brain to show auton selector before touching robot again.
4
Place to reference β€” use the physical landmark (tile edge, field wall) to position the robot. Engineer checks placement, not the driver who is focused on the controller.
5
Say the call β€” Strategist says the match call (one sentence: what we're doing in the first 10 seconds). Drive team repeats it. Queue.
⚙ STEM Highlight Engineering: Root Cause Analysis & Fault Isolation
Autonomous failure diagnosis applies root cause analysis (RCA) — the engineering methodology used in aerospace and manufacturing to trace failures to their fundamental cause rather than surface symptoms. The five-step RCA process: observe symptom, isolate variable, form hypothesis, test hypothesis, verify fix. Each step eliminates a category of causes. Skipping to fixes without RCA produces solutions that address symptoms and leave root causes active.
🎤 Interview line: “We use structured root cause analysis for every autonomous failure. When our auton drifted left at competition but worked in practice, we isolated the variable systematically: field tile friction differed. We added a surface-specific friction coefficient to our EZ Template config, and auton success rate went from 60% to 92% by addressing the actual cause.”
Your auton works in practice but fails at competition, drifting left consistently. What variable should you isolate first?
⬛ Reduce all drive constants by 20% to compensate for the drift
⬛ Test on competition tiles — tile friction often differs from practice mats and causes IMU-correction errors
⬛ Rewrite the entire autonomous from scratch
📝
Notebook entry tip: Test & Evaluate — Cyan slide — Log every auton failure as a diagnostic test entry: symptom, variable isolated, root cause found, fix applied, and result verified. A failure log showing the debugging process across multiple events is strong Test & Evaluate evidence — it proves systematic engineering, not guesswork.
← ALL GUIDES