FunSetpointGameByHamza

Setpoint Chase – Tune Your Controller

A cart must follow a moving setpoint on a track.

• The target position jumps: 0 → 1 → −0.5 → 0.5.
• The cart is a 2nd order system.
• You tune Kp, Ki, Kd (P / PI / PD / PID).

Press Play and try to keep the cart close to the target. The score is based on average |error|.
Controller type:
Run time: 0.00 s
Avg |error|: 0.00
Score: 100 / 100
Teaching idea: x(t) is cart position, r(t) is setpoint.
Good tuning → cart tracks jumps quickly without too much overshoot.