1 Last lecture  Configuration Space Free-Space and C-Space Obstacles Minkowski Sums.

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

Configuration Space. Recap Represent environments as graphs –Paths are connected vertices –Make assumption that robot is a point Need to be able to use.
Probabilistic Roadmaps. The complexity of the robot’s free space is overwhelming.
Motion Planning for Point Robots CS 659 Kris Hauser.
NUS CS5247 Motion Planning for Camera Movements in Virtual Environments By Dennis Nieuwenhuisen and Mark H. Overmars In Proc. IEEE Int. Conf. on Robotics.
By Lydia E. Kavraki, Petr Svestka, Jean-Claude Latombe, Mark H. Overmars Emre Dirican
Slide 1 Robot Lab: Robot Path Planning William Regli Department of Computer Science (and Departments of ECE and MEM) Drexel University.
Visibility Graphs May Shmuel Wimer Bar-Ilan Univ., Eng. Faculty Technion, EE Faculty.
NUS CS5247 The Gaussian Sampling Strategy for Probalistic Roadmap Planners Valdrie Boor, Mark H. Overmars, A. Frank van der Stappen, 1999 Wai.
The Voronoi Diagram David Johnson. Voronoi Diagram Creates a roadmap that maximizes clearance –Can be difficult to compute –We saw an approximation in.
Presented By: Aninoy Mahapatra
Probabilistic Roadmap
Probabilistic Roadmaps Sujay Bhattacharjee Carnegie Mellon University.
Kinodynamic Path Planning Aisha Walcott, Nathan Ickes, Stanislav Funiak October 31, 2001.
DESIGN OF A GENERIC PATH PATH PLANNING SYSTEM AILAB Path Planning Workgroup.
Randomized Kinodynamics Motion Planning with Moving Obstacles David Hsu, Robert Kindel, Jean-Claude Latombe, Stephen Rock.
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:
Presented by David Stavens. Manipulation Planning Before: Want to move the robot from one configuration to another, around obstacles. Now: Want to robot.
CS 326 A: Motion Planning Probabilistic Roadmaps Basic Techniques.
Motion Planning & Robot Planning
CS 326 A: Motion Planning Probabilistic Roadmaps Sampling and Connection Strategies (2/2)
1 Single Robot Motion Planning - II Liang-Jun Zhang COMP Sep 24, 2008.
1 Last lecture  Path planning for a moving Visibility graph Cell decomposition Potential field  Geometric preliminaries Implementing geometric primitives.
1 Finding “Narrow Passages” with Probabilistic Roadmaps: The Small-Step Retraction Method Mitul Saha and Jean-Claude Latombe Research supported by NSF,
CS 326A: Motion Planning Configuration Space. Motion Planning Framework Continuous representation (configuration space and related spaces + constraints)
CS 326A: Motion Planning ai.stanford.edu/~latombe/cs326/2007/index.htm Probabilistic Roadmaps: Basic Techniques.
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.
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,
CS 326 A: Motion Planning robotics.stanford.edu/~latombe/cs326/2003/index.htm Configuration Space – Basic Path-Planning Methods.
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.
Spring 2007 Motion Planning in Virtual Environments Dan Halperin Yesha Sivan TA: Alon Shalita Basics of Motion Planning (D.H.)
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.
1 Single Robot Motion Planning Liang-Jun Zhang COMP Sep 22, 2008.
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.
Robot Motion Planning Computational Geometry Lecture by Stephen A. Ehmann.
Slide 1 Robot Path Planning William Regli Department of Computer Science (and Departments of ECE and MEM) Drexel University.
Constraints-based Motion Planning for an Automatic, Flexible Laser Scanning Robotized Platform Th. Borangiu, A. Dogar, A. Dumitrache University Politehnica.
© Manfred Huber Autonomous Robots Robot Path Planning.
Robotics Chapter 5 – Path and Trajectory Planning
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.
CS B659: Principles of Intelligent Robot Motion Configuration Space.
Narrow Passage Problem in PRM Amirhossein Habibian Robotic Lab, University of Tehran Advanced Robotic Presentation.
UNC Chapel Hill M. C. Lin Introduction to Motion Planning Applications Overview of the Problem Basics – Planning for Point Robot –Visibility Graphs –Roadmap.
Robotics Chapter 5 – Path and Trajectory Planning
Randomized Kinodynamics Planning Steven M. LaVelle and James J
Motion Planning Howie CHoset. Assign HW Algorithms –Start-Goal Methods –Map-Based Approaches –Cellular Decompositions.
NUS CS 5247 David Hsu Sampling Narrow Passages. NUS CS 5247 David Hsu2 Narrow passages.
Randomized KinoDynamic Planning Steven LaValle James Kuffner.
Lecture 4: Improving the Quality of Motion Paths Software Workshop: High-Quality Motion Paths for Robots (and Other Creatures) TAs: Barak Raveh,
NUS CS 5247 David Hsu Configuration Space. 2 What is a path?
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,
Mathematics & Path Planning for Autonomous Mobile Robots
Last lecture Configuration Space Free-Space and C-Space Obstacles
Presented By: Aninoy Mahapatra
Sampling and Connection Strategies for Probabilistic Roadmaps
Configuration Space of an Articulated Robot
Robotics meet Computer Science
Classic Motion Planning Methods
Presentation transcript:

1 Last lecture  Configuration Space Free-Space and C-Space Obstacles Minkowski Sums

2 Free-Space and C-Space Obstacle  How do we know whether a configuration is in the free space?  Computing an explicit representation of the free- space is very hard in practice?

3 Free-Space and C-Space Obstacle  How do we know whether a configuration is in the free space?  Computing an explicit representation of the free-space is very hard in practice?  Solution: Compute the position of the robot at that configuration in the workspace. Explicitly check for collisions with any obstacle at that position: If colliding, the configuration is within C-space obstacle Otherwise, it is in the free space  Performing collision checks is relative simple

4 Two geometric primitives in configuration space  C LEAR( q ) Is configuration q collision free or not?  L INK( q, q’) Is the straight-line path between q and q’ collision- free ?

NUS CS 5247 David Hsu Probabilistic Roadmaps

6 Difficulty with classic approaches  Running time increases exponentially with the dimension of the configuration space. For a d -dimension grid with 10 grid points on each dimension, how many grid cells are there?  Several variants of the path planning problem have been proven to be PSPACE-hard. 10 d

7 Completeness  Complete algorithm  Slow A complete algorithm finds a path if one exists and reports no otherwise. Example: Canny’s roadmap method  Heuristic algorithm  Unreliable Example: potential field  Probabilistic completeness Intuition: If there is a solution path, the algorithm will find it with high probability.

8 Probabilistic Roadmap (PRM): multiple queries free space [Kavraki, Svetska, Latombe,Overmars, 96] local path milestone

9 Probabilistic Roadmap (PRM): single query

NUS CS 5247 David Hsu Multiple-Query PRM

11 Classic multiple-query PRM  Probabilistic Roadmaps for Path Planning in High- Dimensional Configuration Spaces, L. Kavraki et al., 1996.

12 Assumptions  Static obstacles  Many queries to be processed in the same environment  Examples Navigation in static virtual environments Robot manipulator arm in a workcell

13 Overview  Precomputation: roadmap construction Uniform sampling Resampling (expansion)  Query processing

14 Uniform sampling 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, in order of increasing d(q,q’) 7: if LINK(q’,q)then 8: Add an edge between q and q’ to E.

15 Some terminology  The graph G is called a probabilistic roadmap.  The nodes in G are called milestones.

16 Difficulty  Many small connected components

17 Resampling (expansion)  Failure rate  Weight  Resampling probability

18 Resampling (expansion)

19 Query processing  Connect q init and q goal to the roadmap  Start at q init and q goal, perform a random walk, and try to connect with one of the milestones nearby  Try multiple times

20 Error  If a path is returned, the answer is always correct.  If no path is found, the answer may or may not be correct. We hope it is correct with high probability.

21 Why does it work? Intuition  A small number of milestones almost “cover” the entire configuration space.  Rigorous definitions and proofs in the next lecture.

22 Smoothing the path

23 Smoothing the path

24 Summary  What probability distribution should be used for sampling milestones?  How should milestones be connected?  A path generated by a randomized algorithm is usually jerky. How can a path be smoothed?

NUS CS 5247 David Hsu Single-Query PRM

26 Lazy PRM  Path Planning Using Lazy PRM, R. Bohlin & L. Kavraki, 2000.

27 Precomputation: roadmap construction  Nodes Randomly chosen configurations, which may or may not be collision-free No call to CLEAR  Edges an edge between two nodes if the corresponding configurations are close according to a suitable metric no call to LINK

28 Query processing: overview 1. Find a shortest path in the roadmap 2. Check whether the nodes and edges in the path are collision. 3. If yes, then done. Otherwise, remove the nodes or edges in violation. Go to (1). We either find a collision-free path, or exhaust all paths in the roadmap and declare failure.

29 Query processing: details  Find the shortest path in the roadmap A* algorithm Dijkstra’s algorithm  Check whether nodes and edges are collisions free CLEAR( q ) LINK( q 0, q 1 )

30 Node enhancement  Select nodes that close the boundary of F

NUS CS 5247 David Hsu Sampling a Point Uniformly at Random

32 Positions  Unit interval Pick a random number from [0,1]  Unit square  Unit cube X = = X X

33 Intervals scaled & shifted  What shall we do? -2 5 If x is a random number from [0,1], then 7x-2.

34  Sampling 1. Pick x uniform at random from [-1,1] 2. Set  Intervals of same widths are sampled with equal probabilities Orientations in 2-D (x,y) x

35 Orientations in 2-D  Sampling 1. Pick  uniformly at random from [0, 2  ] 2. Set x = cos  and y = sin   Circular arcs of same angles are sampled with equal probabilities. (x,y) 

36  Both are uniform in some sense.  For sampling orientations in 2-D, the second method is usually more appropriate.  The definition of uniform sampling depends on the task at hand and not on the mathematics. What is the difference? x

37  Unit quaternion (cos  /2, n x sin  /2, n y sin  /2, n z sin  /2) with n x 2 + n y 2 + n z 2 = 1.  Sample n and  separately  Sample  from [0, 2  ] uniformly at random Orientations in 3-D n = ( n x, n y, n z ) 

38 Sampling a point on the unit sphere  Longitude and latitude x y z  

39 First attempt  Choose  and  uniformly at random from [0, 2  ] and [0,  ], respectively.

40 Better solution  Spherical patches of same areas are sampled with equal probabilities.  Suppose U 1 and U 2 are chosen uniformly at random from [0,1]. x y z  

41 Medial Axis based Planning  Use medial axis based sampling Medial axis: similar to internal Voronoi diagram; set of points that are equidistant from the obstacle Compute approximate Voronoi boundaries using discrete computation 

42 Medial Axis based Planning  Sample the workspace by taking points on the medial axis Medial axis of the workspace (works well for translation degrees of freedom) How can we handle robots with rotational degrees of freedom?