8
Dave Lattanzi’s RRT Algorithm

Dave Lattanzi’s RRT Algorithm

  • Upload
    lesley

  • View
    40

  • Download
    0

Embed Size (px)

DESCRIPTION

Dave Lattanzi’s RRT Algorithm. General Concept. Use dictionaries for trees Create a randomized stack of nodes Iterate through stack “Extend” each tree towards last node Check for intersections at each step. Main Function. “Extend” Function. - PowerPoint PPT Presentation

Citation preview

Page 1: Dave  Lattanzi’s  RRT Algorithm

Dave Lattanzi’s RRT Algorithm

Page 2: Dave  Lattanzi’s  RRT Algorithm

General Concept

• Use dictionaries for trees• Create a randomized stack of nodes• Iterate through stack• “Extend” each tree towards last node• Check for intersections at each step

Page 3: Dave  Lattanzi’s  RRT Algorithm

Main Function

Page 4: Dave  Lattanzi’s  RRT Algorithm

“Extend” Function

• Build a dictionary of nodes in tree and their distances to the random node

• Search dictionary to get nearest node – Almost certainly not optimal

• Call “step” until trapped, goal, or found path• Check for intersections after each step– Doesn’t return for intersection

Page 5: Dave  Lattanzi’s  RRT Algorithm

“Extend” Function

Page 6: Dave  Lattanzi’s  RRT Algorithm

“Step” Function

• Finds all neighbors of a node & their distances to random node

• Finds the neighbor with the minimum distance, passes that to Extend as new node

• If the specified node is the closer than all neighbors to the random node, the tree is declared “trapped”

Page 7: Dave  Lattanzi’s  RRT Algorithm

“Step” and “FindIntersection”

Page 8: Dave  Lattanzi’s  RRT Algorithm

Conclusions:

• Tight corners are an issue

• Fast (usually)– Time is random

• Could be optimized