A simulation of line follower with PID in Unity using my algorithm for overshoot problem. Robot movement is based on wheel colliders and physics built in Unity.
After 60 seconds from unstopped simulation, application saves three files into main folder: parameters.txt - parameters of Kp, Ki and Kd error.txt - PID error values during simulation time.txt - time stamps between error calculation You can easily plot an error chart using python matplotlib as shown below: