You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hellschwalex
changed the title
[Feature]: Further testing of VelocityController's PID
[Feature]: Further tuning and testing of VelocityController's PID
Dec 6, 2023
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:
overshooting a little if target velocity is higher than 50km/h (maximum constant error /offset is 0.8 m/s = 2.88km/h at 100km/h)
undershooting if target velocity is lower than 50km/h (maximum constant error/offset is 0.5m/s = 1.8km/h at 10 km/h)
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.
Test switching between constant target velocities (10 -> 50 -> 10 , 30 -> 100 -> 50 -> 10)
Test linearly changing target velocities (optional)
Definition of Done
The text was updated successfully, but these errors were encountered: