PythonAPI
PythonAPI copied to clipboard
PythonAPI ERROR--Weather Control error
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 you need to use the WeatherState
object to set the weather. See examples in quickstart #18.