-
Notifications
You must be signed in to change notification settings - Fork 0
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
Deterministic planning for OMPL #1
Comments
I tried this: from ompl import util as ou
ou.RNG().setSeed(1) But that gives the following error, even when you run it in the first cell of a notebook.
|
Ok some progress, you can set the seed of the However, I don't know yet if and how I can change the I'm still missing two things:
Additionally, there is a Python example on how to inherit from |
A bit more progress, apparent
I've tried setting the allocator of the def allocDeterministicStateSampler(space: ob.StateSpace) -> ob.StateSampler:
return ob.RealVectorDeterministicStateSampler(space)
space.setStateSamplerAllocator(ob.StateSamplerAllocator(allocDeterministicStateSampler)) But I'm still not getting deterministic plans. When I create two different |
Any updates on this issue? |
Hi Kaiyu, no we haven't had the time to figure this out yet, but this definitely still something we want in the future for repeatable testing. |
would be nice to have a convenient way to fix the seed (or maybe have this as default) so that generated plans are deterministic
The text was updated successfully, but these errors were encountered: