Narrow Passage Problem in PRM Amirhossein Habibian Robotic Lab, University of Tehran Advanced Robotic Presentation.

Slides:



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

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
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 for PRMs modified from slides of T.V.N. Sri Ram.
Sampling Strategies By David Johnson. Probabilistic Roadmaps (PRM) [Kavraki, Svetska, Latombe, Overmars, 1996] start configuration goal configuration.
Presented By: Aninoy Mahapatra
Probabilistic Roadmap
A Comparative Study of Probabilistic Roadmap Planners Roland Geraerts Mark Overmars.
Probabilistic Roadmap Methods (PRMs)
Probabilistic Roadmaps Sujay Bhattacharjee Carnegie Mellon University.
DESIGN OF A GENERIC PATH PATH PLANNING SYSTEM AILAB Path Planning Workgroup.
Iterative Relaxation of Constraints (IRC) Can’t solve originalCan solve relaxed PRMs sample randomly but… start goal C-obst difficult to sample points.
Randomized Kinodynamics Motion Planning with Moving Obstacles David Hsu, Robert Kindel, Jean-Claude Latombe, Stephen Rock.
Geometric Algorithms for Conformational Analysis of Long Protein Loops J. Cortess, T. Simeon, M. Remaud- Simeon, V. Tran.
Randomized Motion Planning for Car-like Robots with C-PRM Guang Song and Nancy M. Amato Department of Computer Science Texas A&M University College Station,
Sampling and Connection Strategies for PRM Planners Jean-Claude Latombe Computer Science Department Stanford University.
Multi-Robot Motion Planning Jur van den Berg. Outline Recap: Configuration Space for Single Robot Multiple Robots: Problem Definition Multiple Robots:
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.
Sampling Strategies for Narrow Passages Presented by Rahul Biswas April 21, 2003 CS326A: Motion Planning.
Finding Narrow Passages with Probabilistic Roadmaps: The Small-Step Retraction Method Presented by: Deborah Meduna and Michael Vitus by: Saha, Latombe,
1 Probabilistic Roadmaps CS 326A: Motion Planning.
1 Single Robot Motion Planning - II Liang-Jun Zhang COMP Sep 24, 2008.
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.
Multi-Robot Motion Planning #2 Jur van den Berg. Outline Recap: Composite Configuration Space Prioritized Planning Planning in Dynamic Environments Application:
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.
Providing Haptic ‘Hints’ to Automatic Motion Planners Providing Haptic ‘Hints’ to Automatic Motion Planners Burchan Bayazit Joint Work With Nancy Amato.
Randomized Planning for Short Inspection Paths Tim Danner Lydia E. Kavraki Department of Computer Science Rice University.
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:
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,
A General Framework for Sampling on the Medial Axis of the Free Space Jyh-Ming Lien, Shawna Thomas, Nancy Amato {neilien,
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.
Chapter 5: Path Planning Hadi Moradi. Motivation Need to choose a path for the end effector that avoids collisions and singularities Collisions are easy.
Sampling and Connection Strategies for PRM Planners Jean-Claude Latombe Computer Science Department Stanford University Abridged and Modified Version (D.H.)
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.
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.
Motion Planning in Games Mark Overmars Utrecht University.
On Delaying Collision Checking in PRM Planning – Application to Multi-Robot Coordination By: Gildardo Sanchez and Jean-Claude Latombe Presented by: Michael.
Deterministic Sampling Methods for Spheres and SO(3) Anna Yershova Steven M. LaValle Dept. of Computer Science University of Illinois Urbana, IL, USA.
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.
Lecture 4: Improving the Quality of Motion Paths Software Workshop: High-Quality Motion Paths for Robots (and Other Creatures) TAs: Barak Raveh,
Autonomous Robots Robot Path Planning (2) © Manfred Huber 2008.
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
Sampling and Connection Strategies for Probabilistic Roadmaps
Configuration Space of an Articulated Robot
Presentation transcript:

Narrow Passage Problem in PRM Amirhossein Habibian Robotic Lab, University of Tehran Advanced Robotic Presentation

Outline – A brief overview on PRM – What’s Narrow Passage Problem? – Solutions of Narrow Passage Problem Workspace-guided strategies Filtering strategies Adaptive strategies Deformation strategies

A brief overview on PRM Basic idea of PRMs is: –Compute a very simplified representation of the free space by sampling configurations at random A brief overview on PRM

Basic PRM Algorithm: Input: geometry of the moving object & obstacles Output: roadmap G = (V, E) 1: V   and E  . 2: repeat 3: q  a configuration sampled uniformly at random from C. 4: if CLEAR(q)then 5: Add q to V. 6: N q  a set of nodes in V that are close to q. 6: for each q’  N q 7: if LINK(q’,q)then 8: Add an edge between q and q’ to E. CLEAR( q ) Is configuration q collision free or not? LINK( q, q’) Is the straight-line path between q and q’ collision-free ? A brief overview on PRM

PRM planner ignores the exact shape of Free Space. So, it acts like a robot building a map of an unknown environment with limited sensors The goal is to minimize the expected number of remaining iterations to connect source to goal Why is PRM planning probabilistic? A brief overview on PRM

Experimental Convergence Rate of Basic PRM: The graph plots the percentage of unsuccessful outcomes out of 100 independent runs for the same query A brief overview on PRM

But sometimes Basic PRM doesn’t converge  The plot shows the average running time for Basic PRM to connect the two query configurations q1 and q2, as the corridor width decreases. A brief overview on PRM

Why? If Free Space is expansive, then Basic PRM answers planning queries correctly with high probability. poorly expansive, then there exist queries for which we cannot expect Basic PRM to work well. Now we’ll see definition of expansiveness A brief overview on PRM

The visibility set of q є F is the set V(q), V(q) = {q’ є F | FreePath(q, q’) is true} Intuitively, є-good free space is a space in which every configuration q has a relatively large visibility set. Let є be a constant in (0, 1]. A point q є F is є-good if it sees at least an є-fraction of F. Some definitions: A brief overview on PRM

Some definitions: β-LOOKOUT: Let F’ be a connected component of F and G be any subset of F’. Let β be a constant in (0, 1]. The β-LOOKOUT of G is the set of all points in G such that each point sees at least a β-fraction of the complement of G: β-LOOKOUT(G) = {q є G | μ(V(q)\G) ≥ β*μ(F’\G)}. A brief overview on PRM

Some definitions: Let є, α, and β be constants in (0, 1]. A connected component F’ of F is (є, α, β)-expansive, if every point q є F’ is є-good for any set M of points in F’ μ(β-LOOKOUT(V(M))) ≥ α*μ(V(M)). The free space F is (є, α, β)-expansive, if its connected components are all (є, α, β)- expansive. A brief overview on PRM

Outline – A brief overview on PRM – What’s Narrow Passage Problem? – Solutions of Narrow Passage Problem Workspace-guided strategies Filtering strategies Adaptive strategies Deformation strategies

What’s Narrow Passage Problem? Loosely speaking, narrow passages are small regions in free space, which are crucial and whose removal will changes the overall connectivity of the free space q init q goal Configuration Space What’s Narrow Passage Problem?

As mentioned, Narrow Passage occurs when the free space is poorly expansive. In Narrow Passages: For relatively large amount of є, most of the configurations aren’t є-good. For relatively large amount of α, β the below relation isn’t consistent: μ(β-LOOKOUT(V(M))) ≥ α*μ(V(M)). So, when the free space is poorly expansive, we are faced with Narrow Passage Problem. What’s Narrow Passage Problem?

Outline – A brief overview on PRM – What’s Narrow Passage Problem? – Solutions of Narrow Passage Problem Workspace-guided strategies Filtering strategies Adaptive strategies Deformation strategies

Solutions to Narrow Passage Problem Probabilistic Roadmap Methods Uniform Sampling (original) [Kavraki, Latombe, Overmars, Svestka, 92, 94, 96] Obstacle-based PRM (OBPRM) [Amato et al, 98] PRM Roadmaps in Dilated Free space [Hsu et al, 98] Gaussian Sampling PRMs [Boor/Overmars/van der Steppen 99] PRM for Closed Chain Systems [Lavalle/Yakey/Kavraki 99, Han/Amato 00] PRM for Flexible/Deformable Objects [Kavraki et al 98, Bayazit/Lien/Amato 01] Visibility Roadmaps [Laumond et al 99] Using Medial Axis [Kavraki et al 99, Lien/Thomas/Wilmarth/Amato/Stiller 99, 03, Lin et al 00] Generating Contact Configurations [Xiao et al 99] Single Shot [Vallejo/Remmler/Amato 01] Bio-Applications: Protein Folding [Song/Thomas/Amato 01,02,03, Apaydin et al 01,02] Lazy Evaluation Methods : [Nielsen/Kavraki 00 Bohlin/Kavraki 00, Song/Miller/Amato 01, 03] Related Methods Ariadnes Clew Algorithm [Ahuactzin et al, 92] RRT (Rapidly Exploring Random Trees) [Lavalle/Kuffner 99] Previous Works Index Solutions to Narrow Passage Problem

Basic PRM planner employ uniform distribution for sample point generation. Most PRM planners employ non-uniform measures that dramatically improve Performance. How Important is the Sampling Method? Solutions to Narrow Passage Problem

Comparison of three strategies with different sampling measures. The plot shows the average running time over 30 runs. How Important is the Sampling Method? Solutions to Narrow Passage Problem

What is the source of information? Robot and environment geometry Previous generated Samples How to exploit it? Workspace-guided strategies Filtering strategies Adaptive strategies Deformation strategies How to find the Sampling Method? Solutions to Narrow Passage Problem

Outline – A brief overview on PRM – What’s Narrow Passage Problem? – Solutions of Narrow Passage Problem Workspace-guided strategies Filtering strategies Adaptive strategies Deformation strategies Solutions to Narrow Passage Problem

Narrow passages in Configuration space, are often caused by narrow passages in the workspace So, we can find Narrow Passages by searching in workspace Cell decomposition Medial-axis transform [J.P. van den Berg and M. H. Overmars. Using Workspace Information as a Guide to Non-Uniform Sampling in Probabilistic Roadmap Planners. IJRR, 24(12): , Dec. 2005] [H. Kurniawati and D. Hsu. Workspace importance sampling for probabilistic roadmap planning. In Proc. IEEE/RSJ Int. Conf. on Intelligent Robots & Systems, pp. 1618–1623, 2004] Workspace-guided strategies Solutions to Narrow Passage Problem Workspace-guided strategies

Solutions to Narrow Passage Problem Cell decomposition: In this method, the environment is decomposed into black and white cells Narrow Passages can be found regarding to this cells, e.g. by image processing algorithms It is only applicable to configuration spaces with few dimensions Workspace-guided strategies Solutions to Narrow Passage Problem Workspace-guided strategies

Solutions to Narrow Passage Problem Cell decomposition: Workspace-guided strategies A cell decomposition of the workspace of a two dimensional example scene Solutions to Narrow Passage Problem Workspace-guided strategies Cell decomposition

Solutions to Narrow Passage Problem After finding Narrow Passages in workspace we can simply find them in Configuration Space, e.g. Inverse Kinematic Use this information to generate more sample points near to Narrow Passages Workspace-guided strategies Solutions to Narrow Passage Problem Workspace-guided strategies

Solutions to Narrow Passage Problem Input: geometry of the moving object & obstacles Output: roadmap G = (V, E) 1: V   and E  . 2: repeat 3: NP = FIND //Find Narrow Passages in workspace 4: NP_Q = CONVERT(NP)//Convert NPs to Configuration Space 5: GENERATE(NP_Q) //Generate Sample points regarding to NP_Q 6: CONTINUE //Similar to BASIC_PRM Workspace-guided strategies Solutions to Narrow Passage Problem Workspace-guided strategies

Outline – A brief overview on PRM – What’s Narrow Passage Problem? – Solutions of Narrow Passage Problem Workspace-guided strategies Filtering strategies Adaptive strategies Deformation strategies

Solutions to Narrow Passage Problem Filtering strategies FreePath, which checks the connection between two configurations, has much higher computational cost than FreeConf Filtering increases the number of calls to FreeConf, but yields a smaller set of better placed roadmap nodes and thus reduces the number of calls to FreePath It often leads to significant savings in computational time Solutions to Narrow Passage Problem Filtering strategies

Solutions to Narrow Passage Problem Filtering strategies 1: WHILE TRUE 2: Sample a Configuration in the same region 3: IF generated sample follows desired pattern 4: Retain generated sample as a milestone 5: ELSE 6: Discard generated sample 7: END WHILE More sampling work, but better distribution of nodes Less time is wasted in connecting nodes Solutions to Narrow Passage Problem Filtering strategies

Solutions to Narrow Passage Problem Filtering strategies Some Filtering Strategy Sampling method: Gaussian Sampling Bridge Test Hybrid Solutions to Narrow Passage Problem Filtering strategies

Solutions to Narrow Passage Problem Gaussian Sampling 1: Sample a configuration q uniformly at random from configuration space 2: Sample a real number x at random with Gaussian distribution N [0,s] (x) 3: Sample a configuration q’ in the ball B(q,|x|) uniformly at random 4: IF only one of q and q’ is in free space 5:retain the one in free space as a node 6: ELSE 7:retain none The gain is not in sampling fewer milestones, but in connecting fewer pairs of milestones Solutions to Narrow Passage Problem Filtering strategies Gaussian Sampling

Solutions to Narrow Passage Problem Uniform vs. Gaussian Sampling 13,000 Milestones created by uniform sampling before the narrow passage was adequately sampled 150 Milestones created by Gaussian sampling Solutions to Narrow Passage Problem Filtering strategies Gaussian Sampling

Solutions to Narrow Passage Problem Gaussian Sampling This strategy tries to locate the boundary of Free Space and sample more densely there The rationale is that configurations with poor visibility often lie close to the boundary of Free Space Solutions to Narrow Passage Problem Filtering strategies Gaussian Sampling

Solutions to Narrow Passage Problem Bridge Test 1: Sample two conformations q and q’ using Gaussian sampling technique 2: If none is in free space 3: IF q m = (q+q’)/2 is in free space 4: retain q m as a milestone 5:ELSE 6:retain none Solutions to Narrow Passage Problem Filtering strategies Bridge Test

Solutions to Narrow Passage Problem Bridge Test Main idea is: “Building short bridges is much easier in narrow passages than in wide-open free space” Gaussian Bridge test Solutions to Narrow Passage Problem Filtering strategies Bridge Test

Solutions to Narrow Passage Problem Bridge Test Bridge Test tries to capture a different kind of geometric pattern Solutions to Narrow Passage Problem Filtering strategies Bridge Test

Solutions to Narrow Passage Problem Hybrid 1: Sample two configurations q and q’ using Gaussian sampling technique 2: IF both are in free space 3:retain one (any of the two) as a node with low probability (e.g., 0.1) 4: ELSE IF only one is in free space 5:retain it as a node with intermediate probability (e.g., 0.5) 6: ELSE IF q m = (q+q’)/2 is in free space 7:retain it as a node with high probability (e.g., 1) Solutions to Narrow Passage Problem Filtering strategies Hybrid

Solutions to Narrow Passage Problem Hybrid Uniform Sampling Bridge Test Hybrid Sampling Solutions to Narrow Passage Problem Filtering strategies Hybrid

Outline – A brief overview on PRM – What’s Narrow Passage Problem? – Solutions of Narrow Passage Problem Workspace-guided strategies Filtering strategies Adaptive strategies Deformation strategies

Solutions to Narrow Passage Problem Adaptive strategies Use intermediate sampling results to identify regions of the free space whose connectivity is more difficult to capture Greater density of milestones in “difficult” regions of the feasible space Solutions to Narrow Passage Problem Adaptive strategies

Solutions to Narrow Passage Problem Adaptive strategies Two-phase connectivity expansion Tree expansion Unsupervised on-line learning Solutions to Narrow Passage Problem Adaptive strategies

Solutions to Narrow Passage Problem Adaptive strategies Two-phase connectivity expansion: 1: Construct initial PRM with uniform sampling 2: Identify milestones that have few connections to their close neighbors \* Performed by counting the numbers of successful and unsuccessful connections of nodes while generation of random samples*\ 3: Sample more configurations around them Solutions to Narrow Passage Problem Adaptive strategies Two-phase

Solutions to Narrow Passage Problem Adaptive strategies Two-phase connectivity expansion: (a)the Gaussian strategy (b)the two-phase connectivity expansion strategy Solutions to Narrow Passage Problem Adaptive strategies Two-phase

Solutions to Narrow Passage Problem Adaptive strategies Try to expand each portion of Free Space, independently hypothesize the location of the boundary of the portion of Free Space represented by the current roadmap In each sampling step, try to expand this boundary by sampling new configurations around a node of the roadmap believed to be close to the boundary Tree expansion: Solutions to Narrow Passage Problem Adaptive strategies Tree Expansion

Solutions to Narrow Passage Problem Adaptive strategies Probability measure for sampling a new configuration is conditioned on the existing roadmap nodes Automatically adapts over time Do not intentionally try to sample more densely in regions with poor visibility Tree expansion: Solutions to Narrow Passage Problem Adaptive strategies Tree Expansion

Solutions to Narrow Passage Problem Adaptive strategies Unsupervised on-line learning: Closest form to the strategy for constructing optimal sampling measures Creates and updates an approximate model of Free Space in the form of a collection of Gaussian functions Uses this model to sample configurations so that the expected value of a utility function is maximized Solutions to Narrow Passage Problem Adaptive strategies Unsupervised

Solutions to Narrow Passage Problem Adaptive strategies Unsupervised on-line learning: Works as Expectation Maximization Optimization algorithm Has a quasi static approach Solutions to Narrow Passage Problem Adaptive strategies Unsupervised

Outline – A brief overview on PRM – What’s Narrow Passage Problem? – Solutions of Narrow Passage Problem Workspace-guided strategies Filtering strategies Adaptive strategies Deformation strategies

Solutions to Narrow Passage Problem Deformation strategies We observed that slightly widening difficult narrow passages dramatically improves the efficiency of PRM planning decreasing width of the narrow passage planning time easy narrow passages difficult narrow passages Solutions to Narrow Passage Problem Deformation strategies

Solutions to Narrow Passage Problem Deformation strategies Main Idea: Deform the free space to make it more expansive Method: Free space dilatation Solutions to Narrow Passage Problem Deformation strategies

Solutions to Narrow Passage Problem Deformation strategies free space c-obstacle start goal fattened free space widened passage Fattening (1) Roadmap construction and repair (2 & 3) 1.Slightly fatten the robot’s free space 2.Construct a roadmap in fattened free space 3.Repair the roadmap into original free space Solutions to Narrow Passage Problem Deformation strategies Free space dilatation

Solutions to Narrow Passage Problem Deformation strategies Free space can be “indirectly” fattened by reducing the scale of the geometries in the 3D workcell with respect to their medial axis This can be pushed into the pre-processing phase Solutions to Narrow Passage Problem Deformation strategies Free space dilatation

Solutions to Narrow Passage Problem Deformation strategies Deformation strategies are very efficient at finding Narrow Passages and still works well when there is none The main drawback is that there is an additional pre-computation step F A milestone with small penetration Solutions to Narrow Passage Problem Deformation strategies Free space dilatation

Questions ?

References All references and other useful materials are available in: Main references: 1. On the Probabilistic Foundations of Probabilistic Roadmap Planning, David Hsu, Jean-Claude Latombe, Hanna Kurniawati 2. Using Workspace Information as a Guide to Non-uniform Sampling in Probabilistic Roadmap Planners, Jur P. van den Berg, Mark H. Overmars 3. The Gaussian Sampling Strategy for Probabilistic Roadmap Planners, Valkrie Boor, Mark H. Overmars, A. Frank van der Stappen 4. The Bridge Test for Sampling Narrow Passages with Probabilistic Roadmap Planners 5. Smoothed Analysis of Probabilistic Roadmaps, Siddhartha Chaudhuri,Vladlen Koltun