|
|
@ -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: |
|
|
|