Closed sea-bass closed 1 year ago
Are there any specific examples of where the second issue happened?
I am able to replicate the first issue
start = Pose(x=-2.2, y=2.8)
goal = Pose(x=-2.2, y=3.0)
I suspect this is a combination of using bidirectional RRT and RRT for path shortening, in that the RRT step isn't shortening the connection between start and goal trees.
I found 2 annoying things about the RRT implementation in testing other stuff:
We don't check if we can immediately connect to the goal over short distances. So some trees will look silly like this:
Furthermore, in a bidirectional RRT* implementation we don't try rewire the tree once we connect the start and end nodes. You can see that in the kink here, for example:
This second one might be a little trickier to do in that in may actually require the solution path to be added to the start tree and then running a rewire on all the newly connected nodes.