Efficient Nearest Neighbor Searching for Motion Planning Anna Atramentov Dept. of Computer Science Iowa State University Ames, IA, USA Steven M. LaValle.

Slides:



Advertisements
Similar presentations
Rapidly Exploring Random Trees Data structure/algorithm to facilitate path planning Developed by Steven M. La Valle (1998) Originally designed to handle.
Advertisements

Complete Motion Planning
Probabilistic Roadmaps. The complexity of the robot’s free space is overwhelming.
Nearest Neighbor Finding Using Kd-tree Ref: Andrew Moore’s PhD thesis (1991)Andrew Moore’s PhD thesis.
PRM and Multi-Space Planning Problems : How to handle many motion planning queries? Jean-Claude Latombe Computer Science Department Stanford University.
Sampling From the Medial Axis Presented by Rahul Biswas April 23, 2003 CS326A: Motion Planning.
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)
Kinodynamic Path Planning Aisha Walcott, Nathan Ickes, Stanislav Funiak October 31, 2001.
DESIGN OF A GENERIC PATH PATH PLANNING SYSTEM AILAB Path Planning Workgroup.
Sampling Methods in Robot Motion Planning Steven M. LaValle Stephen R. Lindemann Anna Yershova Dept. of Computer Science University of Illinois Urbana,
VLSH: Voronoi-based Locality Sensitive Hashing Sung-eui Yoon Authors: Lin Loi, Jae-Pil Heo, Junghwan Lee, and Sung-Eui Yoon KAIST
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.
Tree-Based Planning Nancy M. Amato Parasol Lab,Texas A&M University.
Computational Support for RRTs David Johnson. Basic Extend.
“Visibility-based Probabilistic Roadmaps for Motion Planning” Siméon, Laumond, Nissoux Presentation by: Mathieu Bredif CS326A: Paper Review Winter 2004.
“Visibility-based Probabilistic Roadmaps for Motion Planning” Siméon, Laumond, Nissoux Presentation by: Eric Ng CS326A: Paper Review Spring 2003.
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.
On Experimental Research in Sampling-based Motion Planning Roland Geraerts Workshop on Benchmarks in Robotics Research IROS 2006.
CS 326A: Motion Planning ai.stanford.edu/~latombe/cs326/2007/index.htm Probabilistic Roadmaps: Sampling Strategies.
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 Probabilistic Roadmaps Random Sampling for capturing the connectivity of the C-space:
RRT-Connect path solving J.J. Kuffner and S.M. LaValle.
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,
Sampling and Connection Strategies for PRM Planners Jean-Claude Latombe Computer Science Department Stanford University Abridged and Modified Version (D.H.)
Complete Path Planning for Planar Closed Chains Among Point Obstacles Guanfeng Liu and Jeff Trinkle Rensselaer Polytechnic Institute.
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.
NUS CS5247 Motion Planning for Humanoid Robots Presented by: Li Yunzhen.
A Randomized Approach to Robot Path Planning Based on Lazy Evaluation Robert Bohlin, Lydia E. Kavraki (2001) Presented by: Robbie Paolini.
Dynamic-Domain RRTs: Efficient Exploration by Controlling the Sampling Domain Anna Yershova 1 Léonard Jaillet 2 Thierry Siméon 2 Steven M. LaValle 1 1.
Deterministic Sampling Methods for Spheres and SO(3) Anna Yershova Steven M. LaValle Dept. of Computer Science University of Illinois Urbana, IL, USA.
Anna Yershova Dept. of Computer Science University of Illinois
The Recent Impact of QMC Methods on Robot Motion Planning Steven M. LaValle Stephen R. Lindemann Anna Yershova Dept. of Computer Science University of.
Dynamic-Domain RRTs Anna Yershova, Steven M. LaValle 03/08/2006.
Probabilistic Roadmaps for Path Planning in High-Dimensional Configuration Spaces (1996) L. Kavraki, P. Švestka, J.-C. Latombe, M. Overmars.
Anna Yershova Thesis Defense Dept. of Computer Science, University of Illinois August 5, 2008 Sampling and Searching Methods for Practical Motion Planning.
Narrow Passage Problem in PRM Amirhossein Habibian Robotic Lab, University of Tehran Advanced Robotic Presentation.
Deterministic Sampling Methods for Spheres and SO(3) Anna Yershova Steven M. LaValle Dept. of Computer Science University of Illinois Urbana, IL, USA.
Nonparametric Modeling of Images
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.
Approximate Nearest Neighbors: Towards Removing the Curse of Dimensionality Piotr Indyk, Rajeev Motwani The 30 th annual ACM symposium on theory of computing.
Sampling-Based Planners. The complexity of the robot’s free space is overwhelming.
Tree-Growing Sample-Based Motion Planning
Randomized Kinodynamics Planning Steven M. LaVelle and James J
Department of Computer Science Columbia University rax Dynamically-Stable Motion Planning for Humanoid Robots Paper Presentation James J. Kuffner,
Randomized KinoDynamic Planning Steven LaValle James Kuffner.
29 August 2007 Sampling and Searching Methods for Practical Motion Planning Algorithms Anna Yershova PhD Preliminary Examination Dept. of Computer Science.
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
Near(est) Neighbor in High Dimensions
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
Randomized Kinodynamic Planning S. M
Presentation transcript:

Efficient Nearest Neighbor Searching for Motion Planning Anna Atramentov Dept. of Computer Science Iowa State University Ames, IA, USA Steven M. LaValle Dept. of Computer Science University of Illinois Urbana, IL, USA Support provided in part by an NSF CAREER award.

Motivation Statistics Pattern recognition Machine Learning Nearest neighbor searching is a fundamental problem in many applications: PRM-based methods RRT-based methods In motion planning the following algorithms rely heavily on nearest neighbor algorithms:

Basic Motion Planning Problem Given:  2D or 3D world  Geometric models of a robot and obstacles  Configuration space  Initial and goal configurations Task:  Compute a collision free path that connects initial and goal configurations

Probabilistic roadmap approaches (Kavraki, Svestka, Latombe, Overmars, 1994) The precomputation phase consists of the following steps: 1. Generate vertices in configuration space at random 2. Connect close vertices 3. Return resulting graph Obstacle-Based PRM (Amato, Wu, 1996); Sensor-based PRM (Yu, Gupta, 1998); Gaussian PRM (Boor, Overmars, van der Stappen, 1999); Medial axis PRMs (Wilmarth, Amato, Stiller, 1999; Psiula, Hoff, Lin, Manocha, 2000; Kavraki, Guibas, 2000); Contact space PRM (Ji, Xiao, 2000); Closed-chain PRMs (LaValle, Yakey, Kavraki, 1999; Han, Amato 2000); Lazy PRM (Bohlin, Kavraki, 2000); PRM for changing environments (Leven, Hutchinson, 2000); Visibility PRM (Simeon, Laumond, Nissoux, 2000). The query phase: 1.Connect initial and goal to graph 2.Search the graph

Rapidly-exploring random tree approaches GENERATE_RRT(x init, K,  t) 1. T.init(x init ); 2. For k = 1 to K do 3. x rand  RANDOM_STATE(); 4. x near  NEAREST_NEIGHBOR(x rand, T); 5. u  SELECT_INTPUT(x rand, x near ); 6. x new  NEW_STATE(x near, u,  t); 7. T.add_vertex(x new ); 8. T.add_edge(x near, x new, u); 9. Return T; x near x rand x init x new LaValle, 1998; LaValle, Kuffner, 1999, 2000; Frazzoli, Dahleh, Feron, 2000; Toussaint, Basar, Bullo, 2000; Vallejo, Jones, Amato, 2000; Strady, Laumond, 2000; Mayeux, Simeon, 2000; Karatas, Bullo, 2001; Li, Chang, 2001; Kuffner, Nishiwaki, Kagami, Inaba, Inoue, 2000, 2001; Williams, Kim, Hofbaur, How, Kennell, Loy, Ragno, Stedl, Walcott, 2001; Carpin, Pagello, The result is a tree rooted at x init :

Goals Existing nearest neighbor packages:  ANN (U. of Maryland)  Ranger (SUNY Stony Brook) Problem: They only work for R n. Configuration spaces that usually arise in motion planning are products of R, S 1 and projective spaces. Theoretical results: Problem: Difficulty of implementation P. Indyk, R. Motwani, 1998; P. Indyk, 1998, 1999; Our goal: Design simple and efficient algorithm for finding nearest neighbor in these topological spaces

Literature on NN searching It is very well studied problem Kd-tree approach is very simple and efficient T. Cover, P. Hart, 1967 D. Dobkin, R. Lipton, 1976 J. Bentley, M. Shamos, 1976 S. Arya, D. Mount, 1993, 1994 M. Bern, 1993 T. Chan, 1997 J. Kleinberg, 1997 K. Clarkson, 1988, 1994, 1997 P. Agarwal, J. Erickson, 1998 P. Indyk, R. Motwani, 1998 E. Kushilevitz, R. Ostrovsky, Y. Rabani, 1998 P. Indyk, 1998, 1999 A. Borodin, R. Ostrovsky, Y. Rabani, 1999

Problem Formulation Given a d-dimensional manifold, T, represented as a polygonal schema, and a set of data points in T. Preprocess these points so that, for any query point q  T, the nearest data point to q can be found quickly. The manifolds of interest: Euclidean one-space, represented by (0,1)  R. Circle, represented by [0,1], in which 0  1 by identification. P 3, represented by [0, 1] 3 with antipodal points identified. Examples of 4-sided polygonal schemas: cylindertorusprojective plane

Example: a torus q

Algorithm presentation Overview of the kd-tree algorithm Modification of kd-tree algorithm to handle topology Analysis of the algorithm Experimental results

Kd-trees The kd-tree is a powerful data structure that is based on recursively subdividing a set of points with alternating axis-aligned hyperplanes. The classical kd-tree uses O(dn lgn) precomputation time, O(dn) space and answers queries in time logarithmic in n, but exponential in d l5l5 l1l1 l9l9 l6l6 l3l3 l 10 l7l7 l4l4 l8l8 l2l2 l1l1 l8l8 1 l2l2 l3l3 l4l4 l5l5 l7l7 l6l6 l9l

Kd-trees. Construction l5l5 l1l1 l9l9 l6l6 l3l3 l 10 l7l7 l4l4 l8l8 l2l2 l1l1 l8l8 1 l2l2 l3l3 l4l4 l5l5 l7l7 l6l6 l9l

Kd-trees. Query l5l5 l1l1 l9l9 l6l6 l3l3 l 10 l7l7 l4l4 l8l8 l2l2 l1l1 l8l8 1 l2l2 l3l3 l4l4 l5l5 l7l7 l6l6 l9l q

Algorithm Presentation l1l1 l8l8 1 l2l2 l3l3 l4l4 l5l5 l7l7 l6l6 l9l9 l q l5l5 l1l1 l9l9 l6l6 l3l3 l 10 l7l7 l4l4 l8l8 l2l2 1 3 l4l4 l8l8 l2l2

Analysis of the Algorithm Proposition 1. The algorithm correctly returns the nearest neighbor. Proof idea: The points of kd-tree not visited by an algorithm will always be further from the query point then some point already visited. Proposition 2. For n points in dimension d, the construction time is O(dn lgn), the space is O(dn), and the query time is logarithmic in n, but exponential in d. Proof idea: This follows directly from the well-known complexity of the basic kd- tree.

Experiments For 50,000 data points 100 queries were made: dimtopologynew algorithm brute force construction time 100 queries time 3S 1 x S 1 x S 1 5.6s0.1s29.2s 6R 3 x P 3 7.1s3.2s68.9s 13R 3 x (S 1 ) 3 x (P 3 ) 2 8.8s9.2s153.1s

Experiments PRM method topology new algorithmbrute force nodestime(s)nodestime(s) R 3 x P 3 11, , , , Success42, ,7141, , ,3081,796.17

Experiments RRT method topology new algorithmbrute force nodestime(s)nodestime(s) R 2 x S 1 37, ,6107,501.4

topology new algorithmbrute force nodestime(s)nodestime(s) (R 3 x P 3 ) 8 17,2714, ,0298,461.6 Experiments RRT method

Conclusion  We extended kd-tree to handle topology of the configuration space  We have presented simple and efficient algorithm  We have developed software for this algorithm which will be included in Motion Strategy Library ( Future Work  Extension to more efficient kd-trees  Extension to different topological spaces  Extension to different metric spaces