pyrobosim.navigation.rrt.RRTPlannerPolygon.extend

RRTPlannerPolygon.extend(n_start, q_target)

Grows the RRT from a specific node towards a sampled pose in the world. The maximum distance to grow the tree is dictated by the max_connection_dist parameter. If the target pose is nearer than this distance, a new node is created at exactly that pose.

Parameters:
Returns:

A new node grown from the start node towards the target pose.

Return type:

pyrobosim.utils.search_graph.Node