From 9a7fd90cb13f84f368cfe96643a5b4920ef0b4f6 Mon Sep 17 00:00:00 2001 From: ZwX1616 Date: Wed, 22 May 2024 15:18:06 -0700 Subject: [PATCH] controlsd: explicitly ignore camera states in process replay (#32515) * explicitly ignore * Update selfdrive/controls/controlsd.py Co-authored-by: Shane Smiskol --------- Co-authored-by: Shane Smiskol old-commit-hash: fa2d5bca57a10bc54667d7e5e3e2ef5fbe80992f --- selfdrive/controls/controlsd.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index 110826d949..1fb7f59496 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -91,6 +91,9 @@ class Controls: ignore = self.sensor_packets + ['testJoystick'] if SIMULATION: ignore += ['driverCameraState', 'managerState'] + if REPLAY: + # no vipc in replay will make them ignored anyways + ignore += ['roadCameraState', 'wideRoadCameraState'] self.sm = messaging.SubMaster(['deviceState', 'pandaStates', 'peripheralState', 'modelV2', 'liveCalibration', 'carOutput', 'driverMonitoringState', 'longitudinalPlan', 'liveLocationKalman', 'managerState', 'liveParameters', 'radarState', 'liveTorqueParameters',