Marcos weather script update

This commit is contained in:
Roel Algaba Brizuela 2021-07-28 10:32:16 +02:00 committed by bernat
parent 792f1ceca0
commit 4151d6a18c
1 changed files with 4 additions and 4 deletions

View File

@ -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],