possibly need this (pressing resume with brake held does nothing)

pull/26585/head
Shane Smiskol 3 years ago
parent 88d986ed8a
commit 03d762f45c
  1. 2
      selfdrive/car/toyota/interface.py

@ -247,7 +247,7 @@ class CarInterface(CarInterfaceBase):
# events
events = self.create_common_events(ret)
if ret.cruiseState.standstill:
if ret.cruiseState.standstill and not ret.brakePressed:
events.add(EventName.resumeRequired)
if self.CS.low_speed_lockout and self.CP.openpilotLongitudinalControl:
events.add(EventName.lowSpeedLockout)

Loading…
Cancel
Save