PID Learning Game
Drag the robot anywhere on the field and watch it fight its way back using your PIDF constants. Each round hides a different robot configuration, so you learn to tune by feel.
Drag the robot anywhere, then watch it return
PIDF CONSTANTS
ERROR OVER TIME
TIME ELAPSED 0.0 seconds
How it Works
1. The Challenge
Drag the robot anywhere on the field. When released, it uses your PIDF constants to return to the green target.
2. The Hidden Setup
Each round uses a fresh secret configuration. The robot’s appearance changes so you know it’s different, but the physics are hidden so you have to tune by observing the response.
3. The Constants
- P: Proportional to error — main driving force toward home.
- I: Integral of error — corrects steady-state offsets slowly.
- D: Derivative of error — damps oscillation like a brake.
- F: Feedforward — constant push to overcome static friction.
4. Reading the Graph
The error graph shows distance from the target over time. A well-tuned controller shows a smooth exponential decay to zero.
Want to implement this in code?
Our full PID guide covers the theory and provides a ready-to-use Java implementation for the FTC SDK.
View PID Guide →