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