-
Notifications
You must be signed in to change notification settings - Fork 7
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
Sampler for this object is not defined #5
Comments
This seems to be an issue with A quick fix would be to add the following to the top of the "ped_crosswalk_with_blindspot.jl" file: using Random
Base.rand(rng::AbstractRNG, s::Scene) = rand(rng, s.entities) or using Random
Base.rand(rng::AbstractRNG, s::Scene) = s if it shouldn't sample an entity, but deterministically return the But @ancorso should comment on whether this is a fix that should live in AdversarialDriving.jl or AutomotiveSimulator.jl. |
I think running that file creates a "blindspot.gif" file, no? |
Yes, it does (my bad). Thanks a lot for the help. Looking forward to contributing to this great work :) |
No worries! Happy to help :) |
I'll leave it open so we can resolve it for everyone else |
Thanks for tracking the issue down @mossr. It looks like this new requirement stems from a POMDPs.jl v0.9, where |
Fixed by #6 |
Hi,
I am trying to run the current repo for example in pedestrians crosswalk. After installing all the packages, I am getting this error.
The issue has been raised before but is closed now. Any help would be appreciated
Thanks.
The text was updated successfully, but these errors were encountered: