allow steer if minSteerSpeed is <= 0

pull/23998/head
Shane Smiskol 3 years ago
parent 7eb9416f6b
commit fef4b0c428
  1. 2
      selfdrive/car/mazda/carstate.py

@ -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…
Cancel
Save