pyrobosim.navigation.rrt.RRTPlannerPolygon.try_connect_until

RRTPlannerPolygon.try_connect_until(graph, n_curr, n_tgt)

Try to connect a node n_curr to a target node n_tgt. This will keep extending the current node towards the target if RRT-Connect is enabled, or else will just try once.

Parameters:
Returns:

A tuple containing connection success and final node added.

Return type:

(bool, pyrobosim.utils.search_graph.Node)