PythonAPI icon indicating copy to clipboard operation
PythonAPI copied to clipboard

PythonAPI ERROR--Weather Control error

Open WhoAmI-kai opened this issue 3 years ago • 1 comments

When I run: w = sim.weather w.rain = 0.5 # set rain to 50% sim.weather = w I get this error: Traceback (most recent call last): File "E:/Fight/My_verifAI/core/lgsvl_scenic_task.py", line 47, in <module> w.rain = 0.5 # set rain to 50% AttributeError: can't set attribute

WhoAmI-kai avatar Jul 17 '21 02:07 WhoAmI-kai

@WhoAmI-kai you need to use the WeatherState object to set the weather. See examples in quickstart #18.

hadiTab avatar Aug 29 '21 07:08 hadiTab