From 8e8edfe185380c4b4b9415d1f7ec535b0a601d72 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 28 Jul 2021 15:50:40 -0700 Subject: [PATCH] increase controls initializing timeout a bit old-commit-hash: 03255d83bea80c92d3bd5739ea20f7c510417646 --- 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 3154e4155e..a56ac18a5c 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -324,7 +324,7 @@ class Controls: self.sm.update(0) all_valid = CS.canValid and self.sm.all_alive_and_valid() - if not self.initialized and (all_valid or self.sm.frame * DT_CTRL > 3.0): + if not self.initialized and (all_valid or self.sm.frame * DT_CTRL > 3.5): self.CI.init(self.CP, self.can_sock, self.pm.sock['sendcan']) self.initialized = True Params().put_bool("ControlsReady", True)