increase timeout for controls init (#21680)

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 7c3b7b53485069e1402f7351d9f032909c581021
This commit is contained in:
Adeeb Shihadeh
2021-07-22 00:04:00 -07:00
committed by GitHub
parent 444649d4f6
commit 4df47022d5
+1 -1
View File
@@ -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 > 2.0):
if not self.initialized and (all_valid or self.sm.frame * DT_CTRL > 3.0):
self.CI.init(self.CP, self.can_sock, self.pm.sock['sendcan'])
self.initialized = True
Params().put_bool("ControlsReady", True)