From b347145c9f3e034bcac1aacf042d5f757e02d173 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 21 Feb 2024 16:23:43 -0800 Subject: [PATCH] controlsd: increase initializing timeout (#31535) old-commit-hash: d8ce15a86910972bc066aa378a80c499a924de3d --- selfdrive/controls/controlsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index 2959c9729c..bd3dd08179 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -519,7 +519,7 @@ class Controls: if not self.initialized: all_valid = CS.canValid and self.sm.all_checks() - timed_out = self.sm.frame * DT_CTRL > (6. if REPLAY else 4.0) + timed_out = self.sm.frame * DT_CTRL > 6. if all_valid or timed_out or (SIMULATION and not REPLAY): available_streams = VisionIpcClient.available_streams("camerad", block=False) if VisionStreamType.VISION_STREAM_ROAD not in available_streams: