Closed pfeiferj closed 4 weeks ago
I don't think we want this in panda. You can achieve something similar by making latActive go low under high angle rate events in openpilot. With the doubling of the curvature rate limits in https://github.com/commaai/panda/pull/2065, we are now almost fully limited by the EPS's wind down limits after turns (but it's still much better).
Currently if the driver manually steers faster than the angle rate limits for Ford (and others) then openpilot will not be able to resume from the current curvature/steering angle until the rate limit catches up to the actual state.
This resets the steering angle with the previous measured angle upon detecting the user has stopped overriding. This means that rate limit clips will be centered on the currently measured angle for the first frame after done overriding.