-
Notifications
You must be signed in to change notification settings - Fork 192
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
simple_example.py is unstable #465
Comments
@GyChou Hello, sorry for the late reply. We are currently dealing with a non-trivial edge case issue regarding SUMO. What this means in this case is that you will be unable to make use of It will mean removing the bubble in There is the potential that this is from a different source so I am going to run your example overnight to see if I can catch it. |
Could you also update your post with your SUMO version and version of SMARTS? You can get the sumo version with Thanks~ |
This crash is interesting, I have not seen it before. It appears like it could be from the number of times resetting SUMO. @liamchzh has the behaviour with resetting SUMO changed? I seem to remember terminating and restarting SUMO before. |
Yes, if we are reusing the same map when resetting, then reload SUMO instead of restart SMARTS/smarts/core/sumo_traffic_simulation.py Lines 230 to 234 in 151c748
|
I have confirmed, SUMO can freeze when reloading too many times.
My device also ended with a surprising error: |
One thing to note here is that this snippet should be:
Or the example will end early. |
Are you able to reproduce this if we force SUMO to restart everytime? |
Closed since we found the cause in #480. |
I run smarts.env:hiway-v0. it will stop unexpectedly.
my error (I clone SMARTS in Nov. 25 ,2020)
mycode:
The text was updated successfully, but these errors were encountered: