Common Mistakes and Troubleshooting
Most lost matches trace to a handful of recurring software faults: a default command that throws because it forgot its requirement, a loop overrun from chatty logging or CAN queries, a brown-out that silently kills your outputs, a CAN ID conflict, or a control loop with integral windup. This module is a field guide to those failure modes -- how to recognize each one fast, the exact tools to diagnose it (Driver Station log viewer, AdvantageScope, Glass, the scheduler watchdog), and the concrete fix. Treat it as the debugging playbook you reach for when the robot misbehaves at 11pm before a competition.
Common Mistakes and Troubleshooting is module 11 of 13 in the Programming, Controls & Sensors guide. It picks up where Worked Examples and Mini-Projects left off and hands over to Advanced Techniques and Case Studies. Its 5 lessons are about 175 minutes of the guide's ~30 hours.
In this module
5 lessons
Jargon check
FRC terms used in Common Mistakes and Troubleshooting
- CAN busController Area Network — the wiring/protocol that lets motor controllers, sensors, and the roboRIO communicate on one daisy-chained bus.
- Driver Station DSThe NI software (and the physical station) that connects driver inputs to the robot and reports status during matches.
- Command-Based ProgrammingWPILib's recommended structure that organizes robot code into Subsystems and Commands for clean, reusable behavior.
Not the one you wanted?
10 other departments use this module name
This is the Programming, Controls & Sensors one — 5 lessons, about 175 minutes. The departments below run a module by the same name over completely different material.
Longer reads
Articles that go deeper on this
All 13 modules in Programming, Controls & Sensors
Department overview- PreProgramming Foundations: A Java Primer4
- 01Foundations: Tools, Languages, and Your First Robot Program4
- 02The Robot Program: Lifecycle and Command-Based Architecture4
- 03Motors, Sensors, and Closed-Loop Control4
- 04Autonomous: Odometry, Trajectories, and Simulation4
- 05Sensing Fundamentals: Digital, Analog, and CAN Inputs3
- 06Encoders: Measuring Position and Velocity3
- 07Gyros, IMUs, and Orientation3
- 08Closed-Loop Control: PID, Feedforward, and SysId4
- 09Computer Vision and Pose Estimation3
- 10Worked Examples and Mini-Projects5
- 11Common Mistakes and Troubleshooting5
- 12Advanced Techniques and Case Studies5