Skip to content

Commit

Permalink
reduce sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-desroches committed Oct 9, 2024
1 parent f11e549 commit 1304025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/ui/tests/test_ui/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
from openpilot.tools.lib.framereader import FrameReader
from openpilot.tools.lib.route import Route

UI_DELAY = 0.5 # may be slower on CI?
UI_DELAY = 0.05 # may be slower on CI?
TEST_ROUTE = "a2a0ccea32023010|2023-07-27--13-01-19"

STREAMS: list[tuple[VisionStreamType, CameraConfig, bytes]] = []
Expand Down Expand Up @@ -75,7 +75,7 @@ def setup_onroad(click, pm: PubMaster):
uidebug_received_cnt += 1

packet_id += 1
time.sleep(0.05)
time.sleep(0.01)

def setup_onroad_disengaged(click, pm: PubMaster):
DATA['selfdriveState'].selfdriveState.enabled = False
Expand Down

0 comments on commit 1304025

Please sign in to comment.