From 03d762f45cab17b25e0c40955b64a011c2ffaeba Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 22 Nov 2022 22:33:38 -0800 Subject: [PATCH] possibly need this (pressing resume with brake held does nothing) --- selfdrive/car/toyota/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/toyota/interface.py b/selfdrive/car/toyota/interface.py index f720897b67..8505802693 100644 --- a/selfdrive/car/toyota/interface.py +++ b/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)