controlsd: increase initializing timeout (#31535)

old-commit-hash: d8ce15a869
chrysler-long2
Adeeb Shihadeh 1 year ago committed by GitHub
parent 1e13249c2a
commit b347145c9f
  1. 2
      selfdrive/controls/controlsd.py

@ -519,7 +519,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 4.0) timed_out = self.sm.frame * DT_CTRL > 6.
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