pyrobosim.navigation.rrt.RRTPlanner.try_connect_until

RRTPlanner.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 RRTConnect 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)