From 31d0170dc745c15bda101115bb973d2c4156e41a Mon Sep 17 00:00:00 2001 From: Edison-CBS Date: Sat, 17 Aug 2024 22:30:50 +0800 Subject: [PATCH] fix for prius v --- opendbc_repo | 2 +- selfdrive/car/car_specific.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opendbc_repo b/opendbc_repo index 5d8ad34aae10619..cf473f71b2cf242 160000 --- a/opendbc_repo +++ b/opendbc_repo @@ -1 +1 @@ -Subproject commit 5d8ad34aae106199f41d66780fe84a0701cb6e4b +Subproject commit cf473f71b2cf242376d9c00617d5e44b503524b7 diff --git a/selfdrive/car/car_specific.py b/selfdrive/car/car_specific.py index 899f56beb0f5df9..e51513b232f66b9 100644 --- a/selfdrive/car/car_specific.py +++ b/selfdrive/car/car_specific.py @@ -97,7 +97,7 @@ def update(self, CS: CarStateBase, CS_prev: car.CarState, CC: CarControllerBase, events = self.create_common_events(CS.out, CS_prev) if self.CP.openpilotLongitudinalControl: - if CS.out.cruiseState.standstill and not CS.out.brakePressed: + if CS.out.cruiseState.standstill and not CS.out.brakePressed and not self.CC.standstill_req: events.add(EventName.resumeRequired) if CS.low_speed_lockout: # type: ignore[attr-defined] events.add(EventName.lowSpeedLockout)