Skip to content

Commit

Permalink
fix for prius v
Browse files Browse the repository at this point in the history
  • Loading branch information
Edison-CBS committed Aug 17, 2024
1 parent 7fab7e4 commit 31d0170
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion selfdrive/car/car_specific.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 31d0170

Please sign in to comment.