Skip to content

Commit

Permalink
Increased CARLA timeout to 180 seconds and kept 10-second sleep to en…
Browse files Browse the repository at this point in the history
…sure startup stability.
  • Loading branch information
lola831 committed Oct 28, 2024
1 parent ebf69fa commit a87a4f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/simulators/carla/test_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def getCarlaSimulator(getAssetPath):
def _getCarlaSimulator(town):
start_connect_time = time.time()
path = os.path.join(base, f"{town}.xodr")
simulator = CarlaSimulator(map_path=path, carla_map=town, timeout=120)
simulator = CarlaSimulator(map_path=path, carla_map=town, timeout=180)
end_connect_time = time.time()
connect_elapsed_time = end_connect_time - start_connect_time
print(f"CARLA connection established in {connect_elapsed_time:.2f} seconds.")
Expand Down

0 comments on commit a87a4f0

Please sign in to comment.