From df523385cad8c6c8d26d5f5ba804151bfb1304f9 Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Fri, 1 Nov 2024 11:15:21 -0700 Subject: [PATCH] ci: fix simulator test for github runner (#33910) * try * try * test * try * fix * back --- tools/sim/bridge/metadrive/metadrive_world.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/sim/bridge/metadrive/metadrive_world.py b/tools/sim/bridge/metadrive/metadrive_world.py index a34d270994..c5111289d0 100644 --- a/tools/sim/bridge/metadrive/metadrive_world.py +++ b/tools/sim/bridge/metadrive/metadrive_world.py @@ -105,7 +105,7 @@ class MetaDriveWorld(World): if x_dist >= dist_threshold or y_dist >= dist_threshold: # position not the same during staying still, > threshold is considered moving self.distance_moved += x_dist + y_dist - time_check_threshold = 15 + time_check_threshold = 29 current_time = time.monotonic() since_last_check = current_time - self.last_check_timestamp if since_last_check >= time_check_threshold: