controlsd: increase initializing timeout

pull/31493/head
Adeeb Shihadeh 1 year ago
parent 0723c2bc5f
commit b218abcaa3
  1. 2
      selfdrive/controls/controlsd.py

@ -434,7 +434,7 @@ class Controls:
if not self.initialized: if not self.initialized:
all_valid = CS.canValid and self.sm.all_checks() all_valid = CS.canValid and self.sm.all_checks()
timed_out = self.sm.frame * DT_CTRL > (6. if REPLAY else 3.5) timed_out = self.sm.frame * DT_CTRL > (6. if REPLAY else 4.0)
if all_valid or timed_out or (SIMULATION and not REPLAY): if all_valid or timed_out or (SIMULATION and not REPLAY):
available_streams = VisionIpcClient.available_streams("camerad", block=False) available_streams = VisionIpcClient.available_streams("camerad", block=False)
if VisionStreamType.VISION_STREAM_ROAD not in available_streams: if VisionStreamType.VISION_STREAM_ROAD not in available_streams:

Loading…
Cancel
Save