Closed kourong closed 4 years ago
Same, this was mentioned in another issue which was closed by the author. However, the supposed solution of having samples >= 4000 does not solve it. Just for convenience:
` Index in position 2 exceeds array bounds.
Error in RRTstar3D>findMinimumPath (line 653) [tmp,idx] = min(connectingNodes(:,dim+2));
Error in RRTstar3D (line 137) path = findMinimumPath(tree,end_node,dim);
Error in benchmarkRRT (line 149) [n_its path_n,run_time] = RRTstar3D(dim,segmentLength,radius,random_world,show_output,samples); ` MATLAB 2019b
Same, this was mentioned in another issue which was closed by the author. However, the supposed solution of having samples >= 4000 does not solve it. Just for convenience:
` Index in position 2 exceeds array bounds.
Error in RRTstar3D>findMinimumPath (line 653) [tmp,idx] = min(connectingNodes(:,dim+2));
Error in RRTstar3D (line 137) path = findMinimumPath(tree,end_node,dim);
Error in benchmarkRRT (line 149) [n_its path_n,run_time] = RRTstar3D(dim,segmentLength,radius,random_world,show_output,samples); ` MATLAB 2019b
I saw it, is there any other solution now? The version of matlab I use is 2019b
don't think so
Can you please specify more information about the arguments that you are passing to the code
Can you please specify more information about the arguments that you are passing to the code
I set samples=4000 。But still this problem。
Please try the latest commit. Now the issue arises from sample being too low for RRT* to have found a path. Instead of throwing error, the code tells you that it didn't find a path but you really should be giving a high number of samples.
OK,I will try it ,Thank you.
在 2020年3月31日,上午6:31,Adnan Munawar notifications@github.com 写道:
Please try the latest commit. Now the issue arises from sample being too low for RRT* to have found a path. Instead of throwing error, the code tells you that it didn't find a path but you really should be giving a high number of samples.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
@joris997 did you get a chance to try the latest commit out?
Yes, I got it to work and it's now a lot more intuitive as to what is going wrong. Thank you for the help.
出错 RRTstar3D>findMinimumPath (line 656) [tmp,idx] = min(connectingNodes(:,dim+2));
出错 RRTstar3D (line 145) path_500 = findMinimumPath(tree_500,end_node,dim);