Path Planning for a Point Robot Main Concepts Reduction to point - - PowerPoint PPT Presentation

path planning for a point robot
SMART_READER_LITE
LIVE PREVIEW

Path Planning for a Point Robot Main Concepts Reduction to point - - PowerPoint PPT Presentation

COMP 790-058: Fall 2013 (Based on slides from J. Latombe @ Stanford & David Hsu @ Singapore) Path Planning for a Point Robot Main Concepts Reduction to point robot Search problem Graph search Configuration spaces


slide-1
SLIDE 1

COMP 790-058:

Fall 2013 (Based on slides from J. Latombe @ Stanford & David Hsu @ Singapore)

Path Planning for a Point Robot

slide-2
SLIDE 2

Main Concepts

  • Reduction to point robot
  • Search problem
  • Graph search
  • Configuration spaces
slide-3
SLIDE 3

Configuration Space: Tool to Map a Robot to a Point

slide-4
SLIDE 4

Problem

free space s g free path

slide-5
SLIDE 5

Problem

semi-free path

slide-6
SLIDE 6

Types of Path Constraints

§ Local constraints:

lie in free space

§ Differential constraints:

have bounded curvature

§ Global constraints:

have minimal length

slide-7
SLIDE 7

Homotopy of Free Paths

http://en.wikipedia.org/wiki/Homotopy

slide-8
SLIDE 8

Motion-Planning Framework

Continuous representation Discretization Graph searching

(blind, best-first, A*)

slide-9
SLIDE 9

Path-Planning Approaches

  • 1. Roadmap

Represent the connectivity of the free space by a network of 1-D curves

  • 2. Cell decomposition

Decompose the free space into simple cells and represent the connectivity of the free space by the adjacency graph of these cells

  • 3. Potential field

Define a function over the free space that has a global minimum at the goal configuration and follow its steepest descent

slide-10
SLIDE 10

Roadmap Methods

§ Visibility graph

Introduced in the Shakey project at SRI in the late 60s. Can produce shortest paths in 2- D configuration spaces

g s

slide-11
SLIDE 11

Simple Algorithm

1. Install all obstacles vertices in VG, plus the start and goal positions 2. For every pair of nodes u, v in VG 3. If segment(u,v) is an obstacle edge then 4. insert (u,v) into VG 5. else 6. for every obstacle edge e 7. if segment(u,v) intersects e 8. then goto 2 9. insert (u,v) into VG

  • 10. Search VG using A*
slide-12
SLIDE 12

Complexity

§ Simple algorithm: O(n3) time § Rotational sweep: O(n2 log n) § Optimal algorithm: O(n2) § Space: O(n2)

slide-13
SLIDE 13

Rotational Sweep

slide-14
SLIDE 14

Rotational Sweep

slide-15
SLIDE 15

Rotational Sweep

slide-16
SLIDE 16

Rotational Sweep

slide-17
SLIDE 17

Rotational Sweep

slide-18
SLIDE 18

Reduced Visibility Graph

tangent segments

à Eliminate concave obstacle vertices

can’t be shortest path

slide-19
SLIDE 19

Generalized (Reduced) Visibility Graph

tangency point

slide-20
SLIDE 20

Three-Dimensional Space

Computing the shortest collision-free path in a polyhedral space is NP-hard

Shortest path passes through none of the vertices locally shortest path homotopic to globally shortest path

slide-21
SLIDE 21

Roadmap Methods

§ Voronoi diagram

Introduced by Computational Geometry

  • researchers. Generate

paths that maximizes clearance. O(n log n) time O(n) space

slide-22
SLIDE 22

Roadmap Methods

§ Visibility graph § Voronoi diagram § Silhouette

First complete general method that applies to spaces of any dimension and is singly exponential in # of dimensions [Canny, 87]

§ Probabilistic roadmaps

slide-23
SLIDE 23

Path-Planning Approaches

  • 1. Roadmap

Represent the connectivity of the free space by a network of 1-D curves

  • 2. Cell decomposition

Decompose the free space into simple cells and represent the connectivity of the free space by the adjacency graph of these cells

  • 3. Potential field

Define a function over the free space that has a global minimum at the goal configuration and follow its steepest descent

slide-24
SLIDE 24

Cell-Decomposition Methods

Two classes of methods: § Exact cell decomposition The free space F is represented by a collection of non-overlapping cells whose union is exactly F Example: trapezoidal decomposition

slide-25
SLIDE 25

Trapezoidal decomposition

slide-26
SLIDE 26

Trapezoidal decomposition

slide-27
SLIDE 27

Trapezoidal decomposition

slide-28
SLIDE 28

Trapezoidal decomposition

slide-29
SLIDE 29

Trapezoidal decomposition

critical events à criticality-based decomposition

slide-30
SLIDE 30

Trapezoidal decomposition

Planar sweep à O(n log n) time, O(n) space

slide-31
SLIDE 31

Cell-Decomposition Methods

Two classes of methods: § Exact cell decomposition § Approximate cell decomposition F is represented by a collection of non-overlapping cells whose union is contained in F Examples: quadtree, octree, 2n-tree

slide-32
SLIDE 32

Octree Decomposition

slide-33
SLIDE 33

Sketch of Algorithm

1. Compute cell decomposition down to some resolution

  • 2. Identify start and goal cells
  • 3. Search for sequence of empty/mixed cells

between start and goal cells

  • 4. If no sequence, then exit with no path
  • 5. If sequence of empty cells, then exit with

solution

  • 6. If resolution threshold achieved, then exit

with failure

  • 7. Decompose further the mixed cells
  • 8. Return to 2
slide-34
SLIDE 34

Path-Planning Approaches

  • 1. Roadmap

Represent the connectivity of the free space by a network of 1-D curves

  • 2. Cell decomposition

Decompose the free space into simple cells and represent the connectivity of the free space by the adjacency graph of these cells

  • 3. Potential field

Define a function over the free space that has a global minimum at the goal configuration and follow its steepest descent

slide-35
SLIDE 35

Potential Field Methods

Goal G

  • a

l F

  • r

c e Obstacle Force Motion Robot

) (

Goal p Goal

x x k F − − =

⎪ ⎩ ⎪ ⎨ ⎧ > ≤ ∂ ∂ ⎟ ⎟ ⎠ ⎞ ⎜ ⎜ ⎝ ⎛ − =

2

, 1 1 1 ρ ρ ρ ρ ρ ρ ρ ρ η if if x FObstacle

Goal Robot

§ Approach initially proposed for real-time collision avoidance [Khatib, 86]. Hundreds of papers published on it.

slide-36
SLIDE 36

Attractive and Repulsive fields

slide-37
SLIDE 37

Local-Minimum Issue

§

Perform best-first search (possibility of combining with approximate cell decomposition)

§

Alternate descents and random walks

§

Use local-minimum-free potential (navigation function)

slide-38
SLIDE 38

Sketch of Algorithm (with best-first search)

  • 1. Place regular grid G over space
  • 2. Search G using best-first search

algorithm with potential as heuristic function

slide-39
SLIDE 39

Simple Navigation Function

1 1 1 2 2 2 2 3 3 3 4 4 5

slide-40
SLIDE 40

Simple Navigation Function

1 1 2 2 2 3 3 3 4 5 2 1 4

slide-41
SLIDE 41

Simple Navigation Function

1 1 2 2 2 3 3 3 4 5 2 1 4

slide-42
SLIDE 42

Completeness of Planner

§ A motion planner is complete if it finds a

collision-free path whenever one exists and return failure otherwise.

§ Visibility graph, Voronoi diagram, exact cell

decomposition, navigation function provide complete planners

§ Weaker notions of completeness, e.g.:

  • resolution completeness

(PF with best-first search)

  • probabilistic completeness

(PF with random walks)

slide-43
SLIDE 43

§ A probabilistically complete planner

returns a path with high probability if a path exists. It may not terminate if no path exists.

§ A resolution complete planner discretizes

the space and returns a path whenever

  • ne exists in this representation.
slide-44
SLIDE 44

Preprocessing / Query Processing

§ Preprocessing:

Compute visibility graph, Voronoi diagram, cell decomposition, navigation function

§ Query processing:

  • Connect start/goal configurations to

visibility graph, Voronoi diagram

  • Identify start/goal cell
  • Search graph
slide-45
SLIDE 45

Issues for Future Classes

§ Space dimensionality § Geometric complexity of the free space § Constraints other than avoiding collision § The goal is not just a position to reach § Etc …