Mazda: no steer unavailable alert for cars with full range steering (#23998)
* allow steer if minSteerSpeed is <= 0
* need to understand lkas_blocked, can we just use that?
need to understand lkas_blocked, can we just use that?
* Revert "need to understand lkas_blocked, can we just use that?"
This reverts commit 8793fb562d
.
* better
* fix
* little more clear
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
pull/24013/head
parent
15368ec3d1
commit
20085620db
|
@ -72,6 +72,8 @@ class CarState(CarStateBase):
|
|||
self.lkas_allowed_speed = True
|
||||
elif speed_kph < LKAS_LIMITS.DISABLE_SPEED:
|
||||
self.lkas_allowed_speed = False
|
||||
else:
|
||||
self.lkas_allowed_speed = True
|
||||
|
||||
# TODO: the signal used for available seems to be the adaptive cruise signal, instead of the main on
|
||||
# it should be used for carState.cruiseState.nonAdaptive instead
|
||||
|
|
Loading…
Reference in New Issue