path planning for point robots
play

Path Planning for Point Robots Jane Li Assistant Professor - PowerPoint PPT Presentation

RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON S RBE 550 Path Planning for Point Robots Jane Li Assistant Professor Mechanical Engineering & Robotics Engineering http://users.wpi.edu/~zli11 Presentation Topic Preferences due


  1. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Path Planning for Point Robots Jane Li Assistant Professor Mechanical Engineering & Robotics Engineering http://users.wpi.edu/~zli11

  2.  Presentation Topic Preferences due today!  Make sure you have voted on piazza

  3. Path Planning for Point Robots

  4. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Path Planning for Point Robots  Problem setup  Point robot  2D environment, with polygonal obstacles  Objective  Find a collision-free path from start to goal goal start

  5. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Method  Roadmaps  Visibility graph  Voronoi graph  Cell decomposition  Potential field goal start

  6. Modified based on Slides by Prof. David Hsu, University of Singapore Framework

  7. Modified based on Slides by Prof. David Hsu, University of Singapore Framework Continuous representation • Discretization • Graph searching •

  8. Modified based on Slides by Prof. David Hsu, University of Singapore Continuous representation goal start

  9. Modified based on Slides by Prof. David Hsu, University of Singapore Framework Continuous representation • Discretization • Sampling (random, with bias) • Processing critical geometric features • Graph searching •

  10. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Discretization – Visibility Graph  If a collision-free path exists  There must be a piecewise linear path that bends only at the obstacles vertices

  11. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Visibility Graph  Nodes  q init , q goal , obstacle vertices  Edges  Obstacle edges  No intersection with obstacles

  12. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Naïve Algorithm for Computing Visibility Graph Input : q init , q goal , polygonal obstacles Output : visibility graph G 1: for every pair of nodes u,v 2: if segment(u,v) is an obstacle edge then 3: insert edge(u,v) into G; 4: else 5: for every obstacle edge e 6: if segment(u,v) intersects e 7: go to (1); 8: insert edge(u,v) into G.

  13. RBE 550 MOTION PLANNING BASED ON DR. DMITRY BERENSON ’S RBE 550 Running time? O ( n 2 ) 1: for every pair of nodes u,v 2: if segment(u,v) is an obstacle edge then O ( n ) 3: insert edge(u,v) into G; 4: else 5: for every obstacle edge e O ( n ) 6: if segment(u,v) intersects e 7: go to (1); 8: insert edge(u,v) into G.  Running time? O(n^3)  More efficient algorithm?  Sweep-line algorithm – O(n^2 log n) (see Principles 5.1.2)  Optimal –Using line arrangement – O(n^2)

  14. Reduced Visibility Graph  Construct visibility graph from  Supporting lines  Separating lines

  15. Framework Continuous representation • Discretization • Sampling (random, with bias) • Processing critical geometric features • Graph searching • Breadth first, depth first, A*, Dijkstra, etc •

  16. Modified based on Slides by Prof. David Hsu, University of Singapore Breadth-first search A B C F E D

  17. Modified based on Slides by Prof. David Hsu, University of Singapore Breadth-first search A B C F E D

  18. Modified based on Slides by Prof. David Hsu, University of Singapore Breadth-first search A B C F E D

  19. Modified based on Slides by Prof. David Hsu, University of Singapore Breadth-first search A B C F E D

  20. Modified based on Slides by Prof. David Hsu, University of Singapore Breadth-first search A B C F E D

  21. Modified based on Slides by Prof. David Hsu, University of Singapore Breadth-first search A B C F E D

  22. Modified based on Slides by Prof. David Hsu, University of Singapore Breadth-first search A B C F E D

  23. Modified based on Slides by Prof. David Hsu, University of Singapore Breadth-first search Input: q init , q goal , visibility graph G Output: a path between q init and q goal A 1: Q = new queue; 2: Q.enqueue(q init ); B C 3: mark q init as visited; 4: while Q is not empty 5: curr = Q.dequeue(); F E D 6: if curr == q goal then 7: return curr; 8: for each w adjacent to curr 10: if w is not visited 11: w.parent = curr; 12: Q.enqueue(w) 13: mark w as visited

  24. Modified based on Slides by Prof. David Hsu, University of Singapore Other graph search algorithms  Depth-first  Explore newly-discovered nodes first  Guaranteed to generate shortest path in the graph? No  Dijkstra’s Search  Find shortest paths to the goal node in the graph from the start  A*  Heuristically-guided search  Guaranteed to find shortest path

  25. Modified based on Slides by Prof. David Hsu, University of Singapore Recap Continuous representation • Discretization • Visibility graph • Graph searching • Breadth first search • A B C F E D

  26. Modified based on Slides by Prof. David Hsu, University of Singapore Recap  Running time  Compute the visibility graph – Naïve method – O(n^3)  An optimal O ( n 2 ) time algorithm exists.  Space?  Store graph as adjacency list or adjacency matrix O(n^2)

  27. Modified based on Slides by Prof. David Hsu, University of Singapore Classic path planning approaches  Roadmap  Represent the connectivity of the free space by a network of 1-D curves  Cell decomposition  Decompose the free space into simple cells and represent the connectivity of the free space by the adjacency graph of these cells  Potential field  Define a potential function over the free space that has a global minimum at the goal and follow the steepest descent of the potential function

  28. Modified based on Slides by Prof. David Hsu, University of Singapore Roadmap

  29. Modified based on Slides by Prof. David Hsu, University of Singapore Roadmaps  Visibility Graph  Shakey robot, SRI [Nilsson, 1969]  Voronoi graph  Introduced by computational geometry researchers.  Generate paths that maximizes clearance .

  30. Modified based on Slides by Prof. David Hsu, University of Singapore Cell decomposition

  31. Modified based on Slides by Prof. David Hsu, University of Singapore Cell decomposition  Exact methods  2D - Trapezoids, triangles, etc.  Adjacency map

  32. Modified based on Slides by Prof. David Hsu, University of Singapore Cell decomposition  Approximate methods  Decompose space into cells usually have simple, regular shapes, e.g., rectangles, squares.  Facilitate hierarchical space decomposition

  33. Modified based on Slides by Prof. David Hsu, University of Singapore Quadtree decomposition empty mixed full

  34. Modified based on Slides by Prof. David Hsu, University of Singapore Hierarchical Decomposition  Strategy  Decompose the free space into cells.  Search for a sequence of mixed or empty cells that connect the initial and goal positions.  Further decompose the mixed .  Repeat (2) and (3) until a sequence of empty cells is found.

  35. Modified based on Slides by Prof. David Hsu, University of Singapore Octree decomposition

  36. Modified based on Slides by Prof. David Hsu, University of Singapore Potential Field

  37. Modified based on Slides by Prof. David Hsu, University of Singapore Potential field 1 φ = − 2 k ( x x ) att att goal 2 + k att , k rep : positive scaling factors  2   1 1 1 x : position of the robot    − ρ ≤ ρ k if ,   φ =  ρ : distance to the obstacle ρ ρ rep 0   2 rep  0 ρ 0 : distance of influence ρ > ρ  0 if 0 37

  38. Modified based on Slides by Prof. David Hsu, University of Singapore Attractive & repulsive fields = −∇ φ = − − F k ( x x ) att att att goal goal    ∂ ρ 1 1 1    − ρ ≤ ρ k if ,   = −∇ φ =  ρ ρ ρ ∂ rep 0 F 2   x rep rep 0  ρ > ρ  0 if 0 goal force k att , k rep : positive scaling factors x : position of the robot robot ρ : distance to the obstacle resulting m otion ρ 0 : distance of influence repulsion force [Khatib, 1986] 38

  39. Modified based on Slides by Prof. David Hsu, University of Singapore Local minima  How to get out of local minima?  Back up  Random Walk  Wall following

  40. Modified based on Slides by Prof. David Hsu, University of Singapore Note that …  A potential field is a scalar function over the free space.  To navigate, the robot applies a force proportional to gradient of the potential field, in the opposite direction .  Ideally potential field function?  has global minimum at the goal  has no local minima  grows to infinity near obstacles  is smooth

  41. Modified based on Slides by Prof. David Hsu, University of Singapore Completeness  A complete motion planner always returns a solution when one exists and indicates that no such solution exists otherwise.  Is the visibility graph algorithm complete?  Is the exact cell decomposition algorithm complete?  Is the approximate cell decomposition algorithm complete?  Is the potential field algorithm complete?

  42. Homework  Read Principles CH 3 – Configuration space

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend