increase controls initializing timeout a bit
old-commit-hash: 03255d83bea80c92d3bd5739ea20f7c510417646
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user