Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PythonAPI ERROR--Weather Control error #48

Open
WhoAmI-kai opened this issue Jul 17, 2021 · 1 comment
Open

PythonAPI ERROR--Weather Control error #48

WhoAmI-kai opened this issue Jul 17, 2021 · 1 comment

Comments

@WhoAmI-kai
Copy link

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

@hadiTab
Copy link
Contributor

hadiTab commented Aug 29, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants