plannerBiRRT seems to extend search tree only in one direction?!

4 ビュー (過去 30 日間)
Fabian Vacha
Fabian Vacha 2024 年 6 月 28 日
編集済み: Fabian Vacha 2025 年 1 月 23 日 10:22
Hello everybody,
i need to plan a path for a robot manipulator. The movement should be done between sections at a constant operating height. (see Picture) I used this example to realize it: https://de.mathworks.com/help/robotics/ug/plan-paths-with-end-effector-constraints.html
The start is the big red dot on the far left and the goal is the big green one. As you can see does the plannerBiRRT take the longer way around the left corner but it should in my opinion find the shorter path around the right corner faster and be able to move that way. The positions on this way are definitly reachable for the robot. But it seems that the start and goal tree both extend in the left direction. I've also looked into the the plannerBiRRT class and it's superclass matlabshared.planning.internal.BiRRT. I've found a variable extendsReversly in line 262 of the superclass code. Could this be the reason why? Or are there any other reasons why the trees seems to move/search only in one direction.
I would appreciate any information that solves or explains this problem!
Thank you very much!

採用された回答

Fabian Vacha
Fabian Vacha 2025 年 1 月 23 日 9:55
編集済み: Fabian Vacha 2025 年 1 月 23 日 10:22
For anyone wondering, i solved this problem a few months ago.
It was because the bounds of the y- and x-rotation of the state space were constrained to zero. After i gave the state space full rotational freedom from -pi to pi for the z-, y- and x-rotation it worked.

その他の回答 (1 件)

Kaustab Pal
Kaustab Pal 2024 年 7 月 11 日
The performance of the plannerBiRRT can be influenced by various parameters. You can try increasing the value of the "MaxConnectionDistance" parameter, this could resolve the issue you are encountering. I confirmed this through testing the provided example within the plannerBiRRT package, which is accessible here: Create bidirectional RRT planner for geometric planning - MATLAB - MathWorks
By default, the generated path tends to be longer. However, upon adjusting the "MaxConnectionDistance" value to 0.3, a shorter path was successfully obtained.
Path generated with default parameters:
Path generated after increasing “MaxConnectionDistance” from 0.1 to 0.3:
Hope this helps.
  1 件のコメント
Fabian Vacha
Fabian Vacha 2024 年 7 月 15 日
thank you for your answer! Unfortunately this doesn't solve the problem. The planner still takes the longer way :(

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeRobotics についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by