From: Mark M. <mm...@ri...> - 2021-08-05 18:25:50
|
Hi Cemal, On Aug 4, 2021, at 2:59 PM, E. Cemal Gonen <emr...@sa...> wrote: > I am using GoalSampleableRegion for my planning problem. The SpaceInformation is extracted from a constrained problem definition. Then, I set goal using setGoal() method. Is there a way to get each goal samples sampled by the GoalSampleableRegion, and how? Please look at the GoalSampleableRegion-derived class GoalLazySamples <https://ompl.kavrakilab.org/classompl_1_1base_1_1GoalLazySamples.html> as an example of how this could be done. That class allows you to specify a callback function that gets called anytime a new goal state is generated. Best, Mark |