diff --git a/selfdrive/modeld/modeld.py b/selfdrive/modeld/modeld.py index 5363b638f..253a11e52 100755 --- a/selfdrive/modeld/modeld.py +++ b/selfdrive/modeld/modeld.py @@ -593,7 +593,10 @@ def main(demo=False): mt2 = time.perf_counter() model_execution_time = mt2 - mt1 - if model_output is not None: + if model_output is not None and vipc_dropped_frames > 0: + cloudlog.error(f"suppressing model output after dropping {vipc_dropped_frames} frames") + + if model_output is not None and vipc_dropped_frames == 0: modelv2_send = messaging.new_message('modelV2') starpilot_modelv2_send = messaging.new_message('starpilotModelV2') drivingdata_send = messaging.new_message('drivingModelData')