From 4151d6a18c55d93d0b0fe6db4773eacd3435ddc3 Mon Sep 17 00:00:00 2001 From: Roel Algaba Brizuela Date: Wed, 28 Jul 2021 10:32:16 +0200 Subject: [PATCH] Marcos weather script update --- PythonAPI/util/environment.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/PythonAPI/util/environment.py b/PythonAPI/util/environment.py index e28c7c723..c254f88ee 100644 --- a/PythonAPI/util/environment.py +++ b/PythonAPI/util/environment.py @@ -20,14 +20,14 @@ except IndexError: import carla SUN_PRESETS = { - 'day': (60.0, 0.0), + 'day': (45.0, 0.0), 'night': (-90.0, 0.0), - 'sunset': (0.5, 180.0)} + 'sunset': (0.5, 0.0)} WEATHER_PRESETS = { 'clear': [10.0, 0.0, 0.0, 5.0, 0.0, 0.0, 0.2, 0.0, 0.0, 0.0, 0.0331], - 'overcast': [80.0, 0.0, 0.0, 50.0, 2.0, 0.0, 0.9, 10.0, 0.0, 0.0, 0.0331], - 'rain': [100.0, 80.0, 90.0, 100.0, 20.0, 0.0, 0.9, 100.0, 0.0, 0.0, 0.0331]} + 'overcast': [80.0, 0.0, 0.0, 50.0, 2.0, 0.75, 0.1, 10.0, 0.0, 0.03, 0.0331], + 'rain': [100.0, 80.0, 90.0, 100.0, 7.0, 0.75, 0.1, 100.0, 0.0, 0.03, 0.0331]} CAR_LIGHTS = { 'None' : [carla.VehicleLightState.NONE],