forked from zhuli90799/Fahrsimulator
Spwan_Fahrzeuge.py aktualisiert
This commit is contained in:
parent
ef1bbe57aa
commit
bb135ee12d
@ -67,6 +67,8 @@ map_name = world.get_map().name
|
||||
print("Loaded map name:", map_name)
|
||||
|
||||
|
||||
|
||||
|
||||
##### ###### #######
|
||||
# Vorfahrtregeln festlegen#
|
||||
# #### ##### ######
|
||||
@ -129,10 +131,11 @@ def manage_uncontrolled_intersections():
|
||||
print(f"Vehicle {vehicle.id} is waiting for {vehicle.waiting_time:.1f} sec.")
|
||||
|
||||
|
||||
|
||||
#The Code try to adjusts the position of two colliding vehicles to separate them.
|
||||
#if the adjustment fails, the vehicle that cannot free itself is removed from the
|
||||
#wold
|
||||
|
||||
######## ######### ######### #################
|
||||
# The Code try to adjusts the position of two colliding vehicles to separate them. #
|
||||
# if the adjustment fails, one vehicle is removed from the world #
|
||||
# ######## ######## ######## ######## ########
|
||||
|
||||
collision_status = {} # Statut de collision entre véhicules
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user