Probabilistic Roadmaps. The complexity of the robot’s free space is overwhelming.

Slides:



Advertisements
Similar presentations
NUS CS5247 Motion Planning for Car- like Robots using a Probabilistic Learning Approach --P. Svestka, M.H. Overmars. Int. J. Robotics Research, 16: ,
Advertisements

Rapidly Exploring Random Trees Data structure/algorithm to facilitate path planning Developed by Steven M. La Valle (1998) Originally designed to handle.
Complete Motion Planning
Motion Planning for Point Robots CS 659 Kris Hauser.
PRM and Multi-Space Planning Problems : How to handle many motion planning queries? Jean-Claude Latombe Computer Science Department Stanford University.
Sampling Techniques for Probabilistic Roadmap Planners
Probabilistic Path Planner by Someshwar Marepalli Pratik Desai Ashutosh Sahu Gaurav jain.
By Lydia E. Kavraki, Petr Svestka, Jean-Claude Latombe, Mark H. Overmars Emre Dirican
NUS CS5247 The Gaussian Sampling Strategy for Probalistic Roadmap Planners Valdrie Boor, Mark H. Overmars, A. Frank van der Stappen, 1999 Wai.
Sampling Strategies By David Johnson. Probabilistic Roadmaps (PRM) [Kavraki, Svetska, Latombe, Overmars, 1996] start configuration goal configuration.
Presented By: Aninoy Mahapatra
Probabilistic Roadmap
Probabilistic Roadmaps Sujay Bhattacharjee Carnegie Mellon University.
Randomized Kinodynamics Motion Planning with Moving Obstacles David Hsu, Robert Kindel, Jean-Claude Latombe, Stephen Rock.
Sampling and Connection Strategies for PRM Planners Jean-Claude Latombe Computer Science Department Stanford University.
1 Last lecture  Configuration Space Free-Space and C-Space Obstacles Minkowski Sums.
David Hsu, Robert Kindel, Jean- Claude Latombe, Stephen Rock Presented by: Haomiao Huang Vijay Pradeep Randomized Kinodynamic Motion Planning with Moving.
1 On the Probabilistic Foundations of Probabilistic Roadmaps Jean-Claude Latombe Stanford University joint work with David Hsu and Hanna Kurniawati National.
“Visibility-based Probabilistic Roadmaps for Motion Planning” Siméon, Laumond, Nissoux Presentation by: Mathieu Bredif CS326A: Paper Review Winter 2004.
CS 326 A: Motion Planning Probabilistic Roadmaps Basic Techniques.
“Visibility-based Probabilistic Roadmaps for Motion Planning” Siméon, Laumond, Nissoux Presentation by: Eric Ng CS326A: Paper Review Spring 2003.
1 Probabilistic Roadmaps CS 326A: Motion Planning.
1 Single Robot Motion Planning - II Liang-Jun Zhang COMP Sep 24, 2008.
1 Motion Planning (It’s all in the discretization) R&N: Chap. 25 gives some background.
CS 326A: Motion Planning ai.stanford.edu/~latombe/cs326/2007/index.htm Probabilistic Roadmaps: Sampling Strategies.
On Delaying Collision Checking in PRM Planning--Application to Multi-Robot Coordination Gildardo Sanchez & Jean-Claude Latombe Presented by Chris Varma.
1 On the Probabilistic Foundations of Probabilistic Roadmaps D. Hsu, J.C. Latombe, H. Kurniawati. On the Probabilistic Foundations of Probabilistic Roadmap.
1 Finding “Narrow Passages” with Probabilistic Roadmaps: The Small-Step Retraction Method Mitul Saha and Jean-Claude Latombe Research supported by NSF,
Sampling Strategies for Narrow Passages Presented by Irena Pashchenko CS326A, Winter 2004.
CS 326A: Motion Planning ai.stanford.edu/~latombe/cs326/2007/index.htm Probabilistic Roadmaps: Basic Techniques.
Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces Kavraki, Svestka, Latombe, Overmars 1996 Presented by Dongkyu, Choi.
CS 326 A: Motion Planning Probabilistic Roadmaps Sampling and Connection Strategies.
1 Path Planning in Expansive C-Spaces D. HsuJ. –C. LatombeR. Motwani Prepared for CS326A, Spring 2003 By Xiaoshan (Shan) Pan.
Sampling Strategies for Probabilistic Roadmaps Random Sampling for capturing the connectivity of the C-space:
RRT-Connect path solving J.J. Kuffner and S.M. LaValle.
NUS CS 5247 David Hsu1 Last lecture  Multiple-query PRM  Lazy PRM (single-query PRM)
Randomized Motion Planning for Car-like Robots with C-PRM Guang Song, Nancy M. Amato Department of Computer Science Texas A&M University College Station,
Robot Motion Planning Bug 2 Probabilistic Roadmaps Bug 2 Probabilistic Roadmaps.
Path Planning in Expansive C-Spaces D. HsuJ.-C. LatombeR. Motwani CS Dept., Stanford University, 1997.
CS 326A: Motion Planning Basic Motion Planning for a Point Robot.
Chapter 5: Path Planning Hadi Moradi. Motivation Need to choose a path for the end effector that avoids collisions and singularities Collisions are easy.
Workspace-based Connectivity Oracle An Adaptive Sampling Strategy for PRM Planning Hanna Kurniawati and David Hsu Presented by Nicolas Lee and Stephen.
CS 326A: Motion Planning Probabilistic Roadmaps: Sampling and Connection Strategies.
CS 326 A: Motion Planning Probabilistic Roadmaps Basic Techniques.
Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces Kavraki, Svestka, Latombe, Overmars 1996 Presented by Chris Allocco.
Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces Lydia E. Kavraki Petr Švetka Jean-Claude Latombe Mark H. Overmars Presented.
A Randomized Approach to Robot Path Planning Based on Lazy Evaluation Robert Bohlin, Lydia E. Kavraki (2001) Presented by: Robbie Paolini.
Path Planning for a Point Robot
Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces (1996) L. Kavraki, P. Švestka, J.-C. Latombe, M. Overmars.
Narrow Passage Problem in PRM Amirhossein Habibian Robotic Lab, University of Tehran Advanced Robotic Presentation.
On Delaying Collision Checking in PRM Planning – Application to Multi-Robot Coordination By: Gildardo Sanchez and Jean-Claude Latombe Presented by: Michael.
Introduction to Motion Planning
UNC Chapel Hill M. C. Lin Introduction to Motion Planning Applications Overview of the Problem Basics – Planning for Point Robot –Visibility Graphs –Roadmap.
Sampling-Based Planners. The complexity of the robot’s free space is overwhelming.
Tree-Growing Sample-Based Motion Planning
Robotics Chapter 5 – Path and Trajectory Planning
Randomized Kinodynamics Planning Steven M. LaVelle and James J
NUS CS 5247 David Hsu Sampling Narrow Passages. NUS CS 5247 David Hsu2 Narrow passages.
Filtering Sampling Strategies: Gaussian Sampling and Bridge Test Valerie Boor, Mark H. Overmars and A. Frank van der Stappen Presented by Qi-xing Huang.
Instructor Prof. Shih-Chung Kang 2008 Spring
CS 326A: Motion Planning Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces (1996) L. Kavraki, P. Švestka, J.-C. Latombe,
Artificial Intelligence Lab
Last lecture Configuration Space Free-Space and C-Space Obstacles
Probabilistic Roadmap Motion Planners
Presented By: Aninoy Mahapatra
Algorithmic Robotics Lab Seminar
Sampling and Connection Strategies for Probabilistic Roadmaps
Configuration Space of an Articulated Robot
Robotics meet Computer Science
Classic Motion Planning Methods
Presentation transcript:

Probabilistic Roadmaps

The complexity of the robot’s free space is overwhelming

 The cost of computing an exact representation of the configuration space of a free-flying 3D object, or a multi- joint articulated object is often prohibitive  But very fast algorithms exist that can check if a rigid or articulated object at a given configuration collides with obstacles (more next lecture)   Basic idea of Probabilistic Roadmaps (PRMs): Compute a very simplified representation of the free space by sampling configurations at random using some probability measure

Initial idea: Potential Field + Random Walk  Attract some points toward their goal  Repulse other points by obstacles  Use collision check to test collision  Escape local minima by performing random walks

But many pathological cases …

Illustration of a Bad Potential “Landscape” U q Global minimum

Probabilistic Roadmap (PRM) 7 Free/feasible space Space  n forbidden space

Probabilistic Roadmap (PRM) 8 Configurations are sampled by picking coordinates at random

Probabilistic Roadmap (PRM) 9 Configurations are sampled by picking coordinates at random

Probabilistic Roadmap (PRM) 10 Sampled configurations are tested for collision

Probabilistic Roadmap (PRM) 11 The collision-free configurations are retained as milestones

Probabilistic Roadmap (PRM) 12 Each milestone is linked by straight paths to its nearest neighbors

Probabilistic Roadmap (PRM) 13 Each milestone is linked by straight paths to its nearest neighbors

Probabilistic Roadmap (PRM) 14 The collision-free links are retained as local paths to form the PRM

Probabilistic Roadmap (PRM) 15 s g The start and goal configurations are included as milestones

Probabilistic Roadmap (PRM) 16 The PRM is searched for a path from s to g s g

Multi- vs. Single-Query PRMs Multi-query roadmaps  Pre-compute roadmap  Re-use roadmap for answering queries Single-query roadmaps  Compute a roadmap from scratch for each new query

This answer may occasionally be incorrect Sampling strategy Procedure BasicPRM(s,g,N) 1.Initialize the roadmap R with two nodes, s and g 2.Repeat: a.Sample a configuration q from C with probability measure  b.If q  F then add q as a new node of R c.For some nodes v in R such that v  q do If path (q,v)  F then add (q,v) as a new edge of R Until s and g are in the same connected component of R or R contains N+2 nodes 3.If s and g are in the same connected component of R then Return a path between them 4.Else Return NoPath

Requirements of PRM Planning 1.Checking sampled configurations and connections between samples for collision can be done efficiently.  Hierarchical collision detection 2.A relatively small number of milestones and local paths are sufficient to capture the connectivity of the free space.  Non-uniform sampling strategies

PRM planners work well in practice. Why?

Why are they probabilistic? What does their success tell us? How important is the probabilistic sampling measure  ? 21

Why is PRM planning probabilistic?  A PRM planner ignores the exact shape of F. So, it acts like a robot building a map of an unknown environment with limited sensors  At any moment, there exists an implicit distribution (H,s), where H is the set of all consistent hypotheses over the shapes of F For every x  H, s (x) is the probability that x is correct  The probabilistic sampling measure  reflects this uncertainty. [Its goal is to minimize the expected number of remaining iterations to connect s and g, whenever they lie in the same component of F.]

So...  PRM planning trades the cost of computing F exactly against the cost of dealing with uncertainty  This choice is beneficial only if a small roadmap has high probability to represent F well enough to answer planning queries correctly  Under which conditions is this the case?

Relation to Monte Carlo Integration x f(x) a b A = a × b x1x1 x2x2 (x i,y i )

Relation to Monte Carlo Integration x f(x) a b A = a × b x1x1 x2x2 (x i,y i ) But a PRM planner must construct a path The connectivity of F may depend on small regions Insufficient sampling of such regions may lead the planner to failure

Visibility in F Two configurations q and q’ see each other if path(q,q’)  F The visibility set of q is V(q) = {q’ | path(q,q’)  F}

ε-Goodness of F Let μ(X) stand for the volume of X  F Given ε  (0,1], q  F is ε-good if it sees at least an ε-fraction of F, i.e., if μ(V(q))  ε  μ(F) F is ε-good if every q in F is ε-good Intuition: If F is ε-good, then with high probability a small set of configurations sampled at random will see most of F q F V(q)V(q) Here, ε ≈ 0.18

F1F1 F2F2 Connectivity Issue

F1F1 F2F2 Lookout of F 1

F1F1 F2F2 Connectivity Issue Lookout of F 1 The β-lookout of a subset F 1 of F is the set of all configurations in F 1 that see a β-fraction of F 2 = F\ F 1 β-lookout(F1) = {q  F 1 | μ( V (q)  F 2 )  β  μ(F 2 )}

F1F1 F2F2 Connectivity Issue Lookout of F 1 The β-lookout of a subset F 1 of F is the set of all configurations in F 1 that see a β-fraction of F 2 = F\ F 1 β-lookout(F1) = {q  F 1 | μ( V (q)  F 2 )  β  μ(F 2 )} F is (ε,α,β)-expansive if it is ε-good and each one of its subsets X has a β-lookout whose volume is at least α  μ(X) Intuition: If F is favorably expansive, it should be relatively easy to capture its connectivity by a small network of sampled configurations

Comments Expansiveness only depends on volumetric ratios It is not directly related to the dimensionality of the configuration space E.g., in 2-D the expansiveness of the free space can be made arbitrarily poor

Thanks to the wide passage at the bottom this space is favorably expansive Many narrow passages might be better than a single one This space’s expansiveness is worse than if the passage was straight A convex set is maximally expansive, i.e., ε = α = β = 1

Theoretical Convergence of PRM Planning Theorem 1 Let F be (ε,α,β)-expansive, and s and g be two configurations in the same component of F. BasicPRM(s,g,N) with uniform sampling returns a path between s and g with probability converging to 1 at an exponential rate as N increases g = Pr(Failure)  Experimental convergence

Linking sequence

Theoretical Convergence of PRM Planning Theorem 1 Let F be (ε,α,β)-expansive, and s and g be two configurations in the same component of F. BasicPRM(s,g,N) with uniform sampling returns a path between s and g with probability converging to 1 at an exponential rate as N increases Theorem 2 For any ε > 0, any N > 0, and any g in (0,1], there exists α o and β o such that if F is not (ε,α,β)-expansive for α > α 0 and β > β 0, then there exists s and g in the same component of F such that BasicPRM(s,g,N) fails to return a path with probability greater than g.

What does the empirical success of PRM planning tell us? It tells us that F is often favorably expansive despite its overwhelming algebraic and geometric complexity

In retrospect, is this property surprising?  Not really! Narrow passages are unstable features under small random perturbations of the robot/workspace geometry  Poorly expansive space are unlikely to occur by accident

Most narrow passages in F are intentional … … but it is not easy to intentionally create complex narrow passages in F Alpha puzzle

PRM planners work well in practice. Why?  Why are they probabilistic?  What does their success tell us?  How important is the probabilistic sampling measure π?

How important is the probabilistic sampling measure π?  Visibility is usually not uniformly favorable across F  Regions with poorer visibility should be sampled more densely (more connectivity information can be gained there) small visibility setssmall lookout sets good visibility poor visibility

Impact s g Gaussian [Boor, Overmars, van der Stappen, 1999] Connectivity expansion [Kavraki, 1994]

 But how to identify poor visibility regions? What is the source of information?  Robot and workspace geometry How to exploit it?  Workspace-guided strategies  Filtering strategies  Adaptive strategies  Deformation strategies

Conclusion The success of PRM planning depends mainly and critically on favorable visibility in F The probability measure used for sampling F derives from the uncertainty on the shape of F By exploiting the fact that visibility is not uniformly favorable across F, sampling measures have major impact on the efficiency of PRM planning

How important is the randomness of the sampling source? Sampler = Uniform source S + Measure π  Random  Pseudo-random  Deterministic [LaValle, Branicky, and Lindemann, 2004]

Choice of the Source S  Adversary argument in theoretical proof  Efficiency  Practical convenience s g