Replies: 4 comments
-
In the ompl_default_plan_profile.cpp there is an example of using the a weighted state sampler, let me know if this is not what you are looking for.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok. So I think this would work. Is this the expected usage?
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Yea, I believe so. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Ok. I might make a utility that returns the correct function. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
At some point the OMPL planner got refactored to take a StateSamplerAllocator instead of a weights vector. Do we have an example of a StateSamplerAllocator that generates a WeightedRealVectorStateSampler? If so, it might be nice to put that in a utility somewhere where users can just assign it.
This does bring up the difficulty that it assumes the same dof will always be used for this profile, but I don't know of an easy way around that.
Beta Was this translation helpful? Give feedback.
All reactions