diff --git a/selfdrive/selfdrived/selfdrived.py b/selfdrive/selfdrived/selfdrived.py index 4f79770634..6e87bb1777 100755 --- a/selfdrive/selfdrived/selfdrived.py +++ b/selfdrive/selfdrived/selfdrived.py @@ -248,6 +248,7 @@ class SelfdriveD: else: safety_mismatch = pandaState.safetyModel not in IGNORED_SAFETY_MODES + # TODO-SP: add controlsMismatchLat for controlsAllowedLat # safety mismatch allows some time for pandad to set the safety mode and publish it back from panda if (safety_mismatch and self.sm.frame*DT_CTRL > 10.) or pandaState.safetyRxChecksInvalid or self.mismatch_counter >= 200: self.events.add(EventName.controlsMismatch)