Spwan_Fahrzeuge.py aktualisiert

This commit is contained in:
Claude Valérie Nna 2025-02-26 00:13:37 +00:00
parent f3654821a3
commit ef1bbe57aa

View File

@ -67,6 +67,9 @@ map_name = world.get_map().name
print("Loaded map name:", map_name) print("Loaded map name:", map_name)
##### ###### #######
# Vorfahrtregeln festlegen#
# #### ##### ######
# Define uncontrolled intersections (add more coordinates if needed) # Define uncontrolled intersections (add more coordinates if needed)
INTERSECTION_ZONES = [ INTERSECTION_ZONES = [
@ -85,7 +88,6 @@ def handle_simultaneous_arrival(vehicles):
v.wait(delay) v.wait(delay)
# Manage uncontrolled intersections # Manage uncontrolled intersections
def manage_uncontrolled_intersections(): def manage_uncontrolled_intersections():
vehicles = get_vehicles() vehicles = get_vehicles()