|
|
@ -317,7 +317,7 @@ class CarInterface(CarInterfaceBase): |
|
|
|
# events |
|
|
|
# events |
|
|
|
events = self.create_common_events(ret) |
|
|
|
events = self.create_common_events(ret) |
|
|
|
|
|
|
|
|
|
|
|
if self.cp_cam.can_invalid_cnt >= 200 and self.CP.enableCamera: |
|
|
|
if self.cp_cam.can_invalid_cnt >= 200 and self.CP.enableCamera and not self.CP.isPandaBlack: |
|
|
|
events.add(EventName.invalidGiraffeToyota) |
|
|
|
events.add(EventName.invalidGiraffeToyota) |
|
|
|
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) |
|
|
|