how to obtain the tree from the manipulatorRRT function

4 visualizzazioni (ultimi 30 giorni)
I’d like to save and visualize the whole tree the function manipulatorRRT creates internally and not only the path connecting the starting point to the goal (interpPath). Can you please help me? Thank you in advance.
rrt = manipulatorRRT(robot, env);
rrt.SkippedSelfCollisions = "parent";
rrt.IgnoreSelfCollision = true;
rrt.MaxIterations = 5000;
start = homePosition;
goal = [2.3907 -1.8148 -1.3379 -3.0796 1.8761 2.3166];
path = rrt.plan(start, goal);
interpPath = interpolate(rrt,path);

Risposta accettata

Karsh Tharyani
Karsh Tharyani il 15 Ago 2023
Hi Bianca, thanks for posting your question. Unfortunately, there is no user facing API that will enable you to do so, and I have conveyed this enhancement request to the internal Development team at MathWorks.
I also suggest that you still reach out to Technical Support with more details around your question and to help us better investigate this issue and should there be a possible workaround.
You can reach them via https://www.mathworks.com/support/contact_us.html to create a service request.
Best,
Karsh

Più risposte (0)

Categorie

Scopri di più su Search Path in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by