diff --git a/Spwan_Fahrzeuge.py b/Spwan_Fahrzeuge.py index ef4a1e6..028542b 100644 --- a/Spwan_Fahrzeuge.py +++ b/Spwan_Fahrzeuge.py @@ -67,6 +67,9 @@ map_name = world.get_map().name print("Loaded map name:", map_name) +##### ###### ####### +# Vorfahrtregeln festlegen# +# #### ##### ###### # Define uncontrolled intersections (add more coordinates if needed) INTERSECTION_ZONES = [ @@ -83,8 +86,7 @@ def handle_simultaneous_arrival(vehicles): for v in vehicles: delay = random.uniform(0.5 , 1.5) v.wait(delay) - - + # Manage uncontrolled intersections def manage_uncontrolled_intersections():