Skip to content

Commit 2008562

Browse files
Mazda: no steer unavailable alert for cars with full range steering (commaai#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 8793fb5. * better * fix * little more clear Co-authored-by: Adeeb Shihadeh <[email protected]>
1 parent 15368ec commit 2008562

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

selfdrive/car/mazda/carstate.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ def update(self, cp, cp_cam):
7272
self.lkas_allowed_speed = True
7373
elif speed_kph < LKAS_LIMITS.DISABLE_SPEED:
7474
self.lkas_allowed_speed = False
75+
else:
76+
self.lkas_allowed_speed = True
7577

7678
# TODO: the signal used for available seems to be the adaptive cruise signal, instead of the main on
7779
# it should be used for carState.cruiseState.nonAdaptive instead

0 commit comments

Comments
 (0)