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)
|
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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user