Place cars on road during driving

This commit is contained in:
Tobias Eidelpes 2021-06-13 23:01:38 +02:00
parent 66a058956f
commit 843b1d63e1

View File

@ -17,7 +17,7 @@ from pika.exceptions import AMQPConnectionError
STARTING_POINT = geopy.Point(47.89053, 16.20703) STARTING_POINT = geopy.Point(47.89053, 16.20703)
# Driving direction in degrees: 0=N, 90=E, 180=S, 270=W # Driving direction in degrees: 0=N, 90=E, 180=S, 270=W
BEARING = 0 BEARING = 2
# Scale speed of vehicles by factor x # Scale speed of vehicles by factor x
SCALING = 1 SCALING = 1
# in km/h # in km/h
@ -29,7 +29,7 @@ NCE_KM = 2.4
# Time in seconds to recover from NCE (will be scaled) # Time in seconds to recover from NCE (will be scaled)
TIME_TO_RECOVER = 15 TIME_TO_RECOVER = 15
# Resets vehicle at km x # Resets vehicle at km x
RESET_KM = 4 RESET_KM = 4.3
class Vehicle: class Vehicle: