|
|
@ -247,8 +247,8 @@ class CarInterface(CarInterfaceBase): |
|
|
|
# events |
|
|
|
# events |
|
|
|
events = self.create_common_events(ret) |
|
|
|
events = self.create_common_events(ret) |
|
|
|
|
|
|
|
|
|
|
|
if ret.cruiseState.standstill and not ret.brakePressed: |
|
|
|
# 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) |
|
|
|
if ret.vEgo < self.CP.minEnableSpeed and self.CP.openpilotLongitudinalControl: |
|
|
|
if ret.vEgo < self.CP.minEnableSpeed and self.CP.openpilotLongitudinalControl: |
|
|
|