Closed hellschwalex closed 9 months ago
PID is now tuned around workingpoint of 50km/h (14m/s) without overshooting (yippie) and nearly perfect driving at target velocity. Maximum error (after reaching 14m/s) is 0.05 m/s which are 0.18 km/h.
Tested new PID on different target velocities and got following results. Since the PID controller is linearised around 50km/h while the vehicle's velocity obviously is not linear, the results will always be imperfect the further you are from the working point. In this case the newly tuned PID controller seems more than good enough for all velocities we may drive:
With braking controller now implemented, this issue will be finished soon aswell. Testing the whole of velocity control (throttle+braking) now on alternating velocities, and linearly changing ones.
Description
-> From here we need to implement braking first to actually test dropping from a higher to a lower target velocity. So #136 first before continuing.
[x] Test switching between constant target velocities (10 -> 50 -> 10 , 30 -> 100 -> 50 -> 10)
[x] Test linearly changing target velocities (optional)
Definition of Done