🤖 PID Control in Robots

Control the robot’s position using Proportional, Integral and Derivative feedback.
2.5
0.25
1.2
Target 70%
Robot Position 0%
Error 70%
Control 0%
How it works:
The robot continuously compares its actual position with the target position. P reacts to the present error, I accumulates past errors, and D reacts to how quickly the error is changing. By adjusting Kp, Ki and Kd, you can observe how the robot approaches the target with different amounts of overshoot, oscillation and settling.