Metric Planning: Overview

Similar documents
Navigation and Metric Path Planning

10 Metric Path Planning

EE631 Cooperating Autonomous Mobile Robots

Motion Planning, Part IV Graph Search Part II. Howie Choset

Motion Planning. Howie CHoset

Path Planning. Marcello Restelli. Dipartimento di Elettronica e Informazione Politecnico di Milano tel:

Roadmaps. Vertex Visibility Graph. Reduced visibility graph, i.e., not including segments that extend into obstacles on either side.

ECE276B: Planning & Learning in Robotics Lecture 5: Configuration Space

Motion Planning, Part III Graph Search, Part I. Howie Choset

Introduction to Information Science and Technology (IST) Part IV: Intelligent Machines and Robotics Planning

Robot Motion Planning

Configuration Space of a Robot

Collision Detection. Jane Li Assistant Professor Mechanical Engineering & Robotics Engineering

6.141: Robotics systems and science Lecture 10: Implementing Motion Planning

Path Planning. Ioannis Rekleitis

Motion Planning. Howie CHoset

Autonomous Robotics 6905

CS 354R: Computer Game Technology

Autonomous Mobile Robots, Chapter 6 Planning and Navigation Where am I going? How do I get there? Localization. Cognition. Real World Environment

Unit 5: Part 1 Planning

Planning: Part 1 Classical Planning

Lesson 1 Introduction to Path Planning Graph Searches: BFS and DFS

Framed-Quadtree Path Planning for Mobile Robots Operating in Sparse Environments

6.141: Robotics systems and science Lecture 10: Motion Planning III

Geometric Path Planning for General Robot Manipulators

Navigation methods and systems

Planning in Mobile Robotics

Advanced Robotics Path Planning & Navigation

Visibility Graph. How does a Mobile Robot get from A to B?

Robotic Motion Planning: A* and D* Search

Pathfinding. Artificial Intelligence for gaming

University of Nevada, Reno. Dynamic Path Planning and Replanning for Mobile Robot Team Using RRT*

Geometric Path Planning McGill COMP 765 Oct 12 th, 2017

Autonomous and Mobile Robotics Prof. Giuseppe Oriolo. Motion Planning 1 Retraction and Cell Decomposition

Planning Techniques for Robotics Planning Representations: Skeletonization- and Grid-based Graphs

Path Planning for the Cye Personal Robot

Recent Results in Path Planning for Mobile Robots Operating in Vast Outdoor Environments

Path Planning. Jacky Baltes Dept. of Computer Science University of Manitoba 11/21/10

Motion Planning for a Point Robot (2/2) Point Robot on a Grid. Planning requires models. Point Robot on a Grid 1/18/2012.

Computer Game Programming Basic Path Finding

4 INFORMED SEARCH AND EXPLORATION. 4.1 Heuristic Search Strategies

Introduction to Mobile Robotics Path Planning and Collision Avoidance. Wolfram Burgard, Maren Bennewitz, Diego Tipaldi, Luciano Spinello

Informed search. Soleymani. CE417: Introduction to Artificial Intelligence Sharif University of Technology Spring 2016

6. Parallel Volume Rendering Algorithms

Robotics. CSPP Artificial Intelligence March 10, 2004

Advanced Robotics Path Planning & Navigation

Coverage. Ioannis Rekleitis

Efficient Interpolated Path Planning of Mobile Robots based on Occupancy Grid Maps

Introduction to Mobile Robotics Path Planning and Collision Avoidance

Informed Search. CS 486/686 University of Waterloo May 10. cs486/686 Lecture Slides 2005 (c) K. Larson and P. Poupart

ON THE DUALITY OF ROBOT AND SENSOR PATH PLANNING. Ashleigh Swingler and Silvia Ferrari Mechanical Engineering and Materials Science Duke University

Coverage. Ioannis Rekleitis

Topological Navigation and Path Planning

Lecture 3: Motion Planning (cont.)

Elastic Bands: Connecting Path Planning and Control

Graph-based Planning Using Local Information for Unknown Outdoor Environments

Robot Motion Planning and (a little) Computational Geometry

Motion Planning 2D. Corso di Robotica Prof. Davide Brugali Università degli Studi di Bergamo

Search : Lecture 2. September 9, 2003

CS 771 Artificial Intelligence. Informed Search

Informed search strategies (Section ) Source: Fotolia

Visual Navigation for Flying Robots. Motion Planning

Geometric Representations. Stelian Coros

Lecture Schedule Week Date Lecture (W: 3:05p-4:50, 7-222)

A New Performance-Based Motion Planner for Nonholonomic Mobile Robots

Outline. Best-first search

CONSTRUCTION OF THE VORONOI DIAGRAM BY A TEAM OF COOPERATIVE ROBOTS

Chapter 5.4 Artificial Intelligence: Pathfinding

Spring 2010: Lecture 9. Ashutosh Saxena. Ashutosh Saxena

Dependency Tracking for Fast Marching. Dynamic Replanning for Ground Vehicles

Robot Motion Planning

Jane Li. Assistant Professor Mechanical Engineering Department, Robotic Engineering Program Worcester Polytechnic Institute

CS Path Planning

Off-Line and On-Line Trajectory Planning

Informed/Heuristic Search

Heuristic (Informed) Search

Simulation in Computer Graphics Space Subdivision. Matthias Teschner

MEM380 Applied Autonomous Robots Fall Depth First Search A* and Dijkstra s Algorithm

Goal-Directed Navigation

Introduction to Mobile Robotics Path and Motion Planning. Wolfram Burgard, Cyrill Stachniss, Maren Bennewitz, Diego Tipaldi, Luciano Spinello

Foundations of AI. 4. Informed Search Methods. Heuristics, Local Search Methods, Genetic Algorithms. Wolfram Burgard & Bernhard Nebel

Prediction-Based Path Planning with Obstacle Avoidance in Dynamic Target Environment

Foundations of AI. 4. Informed Search Methods. Heuristics, Local Search Methods, Genetic Algorithms

Informed Search Algorithms

Planning, Execution and Learning Application: Examples of Planning for Mobile Manipulation and Articulated Robots

Wave front Method Based Path Planning Algorithm for Mobile Robots

Sampling-based Planning 2

1 Introduction and Examples

EE631 Cooperating Autonomous Mobile Robots

Collision Detection based on Spatial Partitioning

Cluster Subgraphs Example, With Tile Graphs. Alternatives. Cluster Subgraphs. Cluster Subgraphs Example, With Tile Graphs

COMP9414/ 9814/ 3411: Artificial Intelligence. 5. Informed Search. Russell & Norvig, Chapter 3. UNSW c Alan Blair,

Heuristic Search. Heuristic Search. Heuristic Search. CSE 3401: Intro to AI & LP Informed Search

Heuristic (Informed) Search

Informed Search A* Algorithm

Outline for today s lecture. Informed Search. Informed Search II. Review: Properties of greedy best-first search. Review: Greedy best-first search:

Manipula0on Algorithms Mo0on Planning. Mo#on Planning I. Katharina Muelling (NREC, Carnegie Mellon University) 1

Chapter 12. Path Planning. Beard & McLain, Small Unmanned Aircraft, Princeton University Press, 2012,

A* Optimality CS4804

Informed Search and Exploration for Agents

Transcription:

Also called quantitative planning Tries to find optimal path to goal Metric Planning: Overview As opposed to some path as per qualitative approach Usually plans path as series of subgoals (waypoints) Optimal/best implies there exists a metric of comparison Optimal path algorithms computationally expensive Want to make as efficient as possible This approach requires 2 components: 1. Representation Data structure to represent world Must be usable by planning algorithm Should only represent what s necessary for planning 2. Algorithm 2 general types: (a) Ones that treat planning as graph problem (b) Ones that treat planning as a color-fill algorithm Hybrid model must address problem of interleaving deliberation and reaction 1

Metric Planning: CSpace Intro Configuration Space (CSpace): Data structure that represents world Usd to situate robot and obstacles in world Degrees of freedom: parameters needed to situate robot in space Need 6 in 3D: 1. 3 Cartesian coordinates (x, y, z) 2. 3 Euler angles (φ, θ, γ: pitch, yaw, roll) Want to use as few as possible to minimize storage 2 (x, y) often sufficient Holonomic robot: one that can turn in place Can be considered round Orientation not a factor in this case Simplifies DOF There are a number of CSpace representations: 1. Meadow map (hybrid vertex-graph free-space model) 2. Generalized Voronoi graph (GVG) 3. Regular grid 4. Quadtree (Octree) Each represents free (unoccupied) space differently 2

Metric Planning: CSpace Representations - Meadow Maps Generates CSpace from existing detailed map Expand boundaries of obstacles by radius of robot Can then treat robot as a point without need to worry about collisions Based on convex polygons Can travel from any point on perimeter to any other point on perimeter of convex poly without ever leaving poly If poly encloses free space, robot traveling such a path will have no collisions 3 general steps: 1. Make basic unit/ pixel size = size of robot 3

Metric Planning: CSpace Representations - Meadow Maps (2) 2. Create polygons Connect interesting features (corners, door frames,...) Identify useful polygons for partition 3. Create path Need to id points on perimeters of polys that connect polys Collection of these points and edges between result in a graph of free space One possibility: Choose midpoint of perimeter edges that are shared between 2 polys Given a start node and goal node, search graph for path Nodes on path become waypoints (subgoals) 4

Metric Planning: CSpace Representations - Meadow Maps (3) Problems: 1. Path is jagged Use path relaxation to alleviate 2. Polygon id computationally complex 3. Path not based on features that can be sensed, but on map artifacts i.e., robot must use self-localization 4. Hard to update CSpace if original map inaccurate 5

Metric Planning: CSpace Representations - Generalized Voronoi Graph (GVG) Path follows lines that are equidistant from all obstacles Such lines called Voronoi edges Points of convergence called Voronoi vertices Often correspond to features that can be sensed in environment Collection of Voronoi edges and vertices create a graph of free space By following edges, robot guaranteed not to collide with obstacle Can be created as robot navigates - do not necessarily need a priori map 6

Metric Planning: CSpace Representations - Regular (Occupancy) Grid World divided into regular rectangular cells If any part of cell occupied, entire cell is considered occupied Consider center of each cell a node Collection of nodes and edges between create a graph of free space 4-connected cell links to neighbors thru sides 8-connected cell links to neighbors thru sides and vertices Problems: 1. Digitation bias: Cell is considered filled if only a small fraction is actually occupied Results in wasted space Solution: Make cells small 2. Small cells require more storage 7

Metric Planning: CSpace Representations - Quadtree (Octree) Developed to solve problems of regular grid approach Grid uses large cells If grid partially occupied, subdivide grid into 4 equal subcells Recursively apply subdivision to partially filled subcells Centers of free cells represented as graph nodes Adjacent free nodes connected by graph edges Minimizes wasted free space, maximizes storage efficiency 8

Metric Planning: A Algorithm Given a graph, want to find optimal path from start to goal node Do not want algorithm to visit every node in graph: computationally expensive One solution is to use branch-and-bound algorithms: Those that only consider a path that looks promising When path becomes less promising (more expensive) than others, temporarily abandon it and pursue the more attractive ones A algorithm Basis of A Searches a state space for an optimal path State space is entire graph: all nodes and edges between them From a given node, need to decide which leaving edge is best one to take Decision based on following equation: f(n) = g(n) + h(n), where g(n) is cost of getting from start state to node n h(n) is cost of getting from node n to goal state f(n) is total cost of going from start to goal state via node n Note that h(n) and g(n) are known values Hence, selecting the node n with minimal f(n) as next node to visit from start to goal node, will generate optimal (minimal cost) path Problem: Since assumes h(n) known, can only have been determined by visiting all nodes in the graph, which is what want to avoid 9

Metric Planning: A Algorithm Same basic algorithm as A, but uses different evaluation function: f (n) = g (n) + h (n), where * means value is estimated g (n) g(n) since always know actual cost of getting from start to node n h (n) is heuristic function - rule of thumb for estimating cost to goal f(n) is total cost of going from start to goal state via node n Since f (n) is an estimate, how can optimal path be guaranteed? If h (n) h(n), path guaranteed optimal Any algorithm for which this relation is true is called admissible (hence algorithm A) 10

Metric Planning: A Algorithm (2) Example: Edges are labeled with the costs of moving between nodes. The following table lists the h values for each node. Node h A 15 B 13 C 9 D 15 E 13 F 12 G 1 H 7 I 9 J 0 Initial state is A Goal state is J 11

Partial plan generation: 1. Queue: A(15) Pop A f(b) = 3 + 13 = 16 f(c) = 9 + 9 = 18 f(d) = 2 + 15 = 17 2. Queue: B(16)D(17)C(18) Pop B f(e) = 3 + 8 + 13 = 24 f(f ) = 3 + 4 + 12 = 19 3. Queue: D(17)C(18)F(19)E(24) Pop D f(h) = 2 + 4 + 7 = 13 f(i) = 2 + 7 + 9 = 18 Metric Planning: A Algorithm (3) 4. Queue: H(13)D(17)C(18)I(18)F(19)E(24) Pop H f(c) = 2 + 4 + 1 + 9 = 16 Found a shorter path to C - update queue 5. Queue: C(16)D(17)I(18)F(19)E(24) Pop C f(g) = 2 + 4 + 1 + 8 + 1 = 16 6. Queue: G(16)D(17)I(18)F(19)E(24) etc. 12

Metric Planning: A Algorithm (4) For planning where optimal path is shortest, can let h (n) = Euclidean distance between node n and goal Note that since using a metric map, will know coordinates of all nodes Points of interest: Edges cannot have negative costs Algorithm must account for cycles New path to a node may be cheaper than one previously found Can include additional factors in path cost: terrain, presence of enemies, etc. 13

Metric Planning: Wavefront Approach Based on concept of heat propagation through solids (or CG color-fill algorithms) Create regular grid From start node, propagate outward Propagation rate dependent on nature of cell If free, conductivity = infinite If occupied, conductivity = 0 Can model types of terrain, etc. by assigning low values to those least desirable Path that reaches goal first is optimal 14

Metric Planning: Wavefront Approach (2) 15

Metric Planning: Wavefront Approach (3) 16

Metric Planning: Wavefront Approach (4) 17

Metric Planning: Wavefront Approach (5) 18

Metric Planning: Wavefront Approach (6) Trulla developed variant that uses this approach to generate potential field like vectors in each cell Side effect is optimal path to goal from any cell in world 19

Metric Planning: Interleaving Planning and Execution Hybrid planners tend to generate paths in terms of waypoints, which are passed to reactive component one-by-one 2 problems can arise during reactive execution of metric path: 1. Subgoal obsession (1) Result of goal-satisfaction requirements that are too strict Observed behavior is robot making lots of fine positioning adjustments at subgoal Problem worse for non-holonomic robots Wastes time and effort Can alleviate by easing satisfaction requirements e.g., use tolerance of 1 robot diameter 2. Subgoal obsession (2) Subgoal is unreachable Since in reactive mode, robot may not recognize is stuck Remedy: Impose time limit on subgoal satisfaction 3. Lack of opportunistic improvements Recognizing when current plan should be abandoned in favor of revised plan: Abandoning current subgoal in favor of subsequent one Replanning current path to subgoal 20

Metric Planning: Interleaving Planning and Execution (2) Solutions to subgoal obsession and opportunistic improvement 1. D algorithm (Stentz) Uses A to compute optimal path from every node in map 2. Trulla s wavefront algorithm Generates optimal path from every node as part of basic algorithm 3. In both cases, if robot diverted from optimal path, will know optimal path from current location if it can localize itself 4. Problems: (a) May cause excessive wandering or entrapment if many obstacles 5. Solutions to problems: (a) Continuous replanning When encounter unexpected obstacle, update map and adjust paths affected (D ) Problems: i. Computationally expensive ii. Dependent on sensor quality - may result in erratic paths (b) Event-driven replanning Event triggered by sensor readings causes replanning (Trulla) Problems: i. Cannot take advantage of favorable differences 21