forked from zhuli90799/Fahrsimulator
Spwan_Fahrzeuge.py aktualisiert
This commit is contained in:
parent
f3654821a3
commit
ef1bbe57aa
@ -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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user