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!
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 throughtesting 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, uponadjusting 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:
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.