From 88d986ed8a01d72a6e12ac1546238ced8faa017a Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 22 Nov 2022 22:33:19 -0800 Subject: [PATCH] add resume required alert --- selfdrive/car/toyota/interface.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/selfdrive/car/toyota/interface.py b/selfdrive/car/toyota/interface.py index 3f4edb36d2..f720897b67 100644 --- a/selfdrive/car/toyota/interface.py +++ b/selfdrive/car/toyota/interface.py @@ -247,6 +247,8 @@ class CarInterface(CarInterfaceBase): # events events = self.create_common_events(ret) + if ret.cruiseState.standstill: + events.add(EventName.resumeRequired) if self.CS.low_speed_lockout and self.CP.openpilotLongitudinalControl: events.add(EventName.lowSpeedLockout) if ret.vEgo < self.CP.minEnableSpeed and self.CP.openpilotLongitudinalControl: