PID TUNINGBETA
"The PID controller remains the workhorse of industrial control, balancing responsiveness, accuracy, and stability in dynamic systems."
ASSUMPTIONS
Light Sensor: Provides an output of 0 (full black) to 100 (full white) with a target of 50.
Error: Zero is balanced, Positive (too white = turn right) and Negative (too black = turn left).
Delta Time: 0.016s steps for responsive updates, like real robot sensors.
Derivative Filtering: Uses 0.05s steps (slower than P/I) to preventing twitchy over correction.
Motor Physics: Wheels accelerate gradually (inertia) like real motors.
Roughness Score: Measures rapid changes in steering (jerkiness).
PID Equation
PID GAIN
ERROR AND TIME
TERM RESULTS
Error History
The line shows how far off-center the sensor is. Zero error is perfect. Positive: too much white (turn left). Negative: too much black (turn right).
Lap History
This table shows your past lap's performance metrics. Higher Score is better (combines time, error, and roughness). Use 'Sort by' to find quickly.
| NO LAP DATA RECORDED YET. |