Hello Joan,

The easiest thing to do is to inspect the final state of the solution path after it is returned by PRM.  In OMPL, paths are completely disjoint (in terms of memory) from the planner that constructed them.  Because of this, the index into the goalM_ array of PRM may not mean much.  PRM does not explicitly keep the goal index of the solution path.  You would have to derive a new planner from PRM if you wanted this information.

Ryan



On Fri, Nov 22, 2013 at 4:41 AM, Joan Fontanals <joan.fontanalsmartinez@dlr.de> wrote:
Hello everybody

I am using PRM with multiple goals.I would like the planner to tell me
which of the goals has it reached the Start configuration. I mean which
index of the goalM_ array is the one that the planner has found a path to.

Thank you very much

Joan

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
ompl-users mailing list
ompl-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ompl-users




--
Ryan Luna
Luna.Ryan@gmail.com