C Configuration Space II fi ti S II Sung-Eui Yoon ( ) ( ) C - - PowerPoint PPT Presentation

c configuration space ii fi ti s ii
SMART_READER_LITE
LIVE PREVIEW

C Configuration Space II fi ti S II Sung-Eui Yoon ( ) ( ) C - - PowerPoint PPT Presentation

C Configuration Space II fi ti S II Sung-Eui Yoon ( ) ( ) C Course URL: URL http://sglab.kaist.ac.kr/~sungeui/MPA Class Objectives Class Objectives Configuration space Configuration space Definitions and


slide-1
SLIDE 1

C fi ti S II Configuration Space II

Sung-Eui Yoon (윤성의) (윤성의)

C URL Course URL: http://sglab.kaist.ac.kr/~sungeui/MPA

slide-2
SLIDE 2

Class Objectives Class Objectives

Configuration space

  • Configuration space
  • Definitions and examples
  • Obstacles
  • Obstacles
  • Paths
  • Metrics
  • Metrics

2

slide-3
SLIDE 3

Configuration Space Configuration Space

Definitions and examples

  • Definitions and examples
  • Obstacles
  • Paths
  • Metrics

3

3

slide-4
SLIDE 4

Obstacles in the Config ration Space Obstacles in the Configuration Space

A configuration is collision free or free if

  • A configuration q is collision-free, or free, if

a moving object placed at q does not intersect any obstacles in the workspace intersect any obstacles in the workspace

  • The free space F is the set of free
  • The free space F is the set of free

configurations

  • A configuration space obstacle (C-obstacle)

is the set of configurations where the is the set of configurations where the moving object collides with workspace

  • bstacles

4

slide-5
SLIDE 5

Disc in 2 D Workspace Disc in 2-D Workspace

workspace configuration space

5

slide-6
SLIDE 6

Polygonal Robot Translating in 2-D Workspace Workspace

workspace configuration workspace space

6

slide-7
SLIDE 7

Polygonal Robot Translating & Rotating in 2 D Workspace in 2-D Workspace

workspace configuration workspace space

7

7

slide-8
SLIDE 8

Polygonal Robot Translating & Rotating in 2 D Workspace in 2-D Workspace

 y x

8

8

slide-9
SLIDE 9

Articulated Robot in 2-D Workspace Workspace

workspace configuration space

9

slide-10
SLIDE 10

C Obstacle Construction C-Obstacle Construction

I nput:

  • I nput:
  • Polygonal moving object translating in 2-D

workspace workspace

  • Polygonal obstacles
  • Output: configuration space obstacles
  • Output: configuration space obstacles

represented as polygons

10

slide-11
SLIDE 11

Minkowski Sum Minkowski Sum

The Minkowski sum of two sets P and Q

  • The Minkowski sum of two sets P and Q,

denoted by PQ, is defined as P+Q = { p+q | p P, qQ } P Q { p q | p P, qQ }

p q

  • Similarly, the Minkowski difference is

defined as

p

defined as P – Q = { p–q | pP, qQ } = P + Q = P + -Q

11

slide-12
SLIDE 12

Minkowski Sum of Convex polygons polygons

The Minkowski sum of two convex

  • The Minkowski sum of two convex

polygons P and Q of m and n vertices respectively is a convex polygon P + Q of m respectively is a convex polygon P Q of m + n vertices.

  • The vertices of P + Q are the “sums” of vertices
  • f P and Q.

12

slide-13
SLIDE 13

Observation Observation

I f P is an obstacle in the workspace and M

  • I f P is an obstacle in the workspace and M

is a moving object. Then the C-space

  • bstacle corresponding to P is P – M
  • bstacle corresponding to P is P

M.

M

P

O

13

slide-14
SLIDE 14

Computing C obstacles Computing C-obstacles

14

slide-15
SLIDE 15

Computational efficiency Computational efficiency

  • Running time O(n+m)
  • Running time O(n+m)
  • Space O(n+m)
  • Non-convex obstacles
  • Decompose into convex polygons (e.g.,

triangles or trapezoids) compute the triangles or trapezoids), compute the Minkowski sums, and take the union

  • Complexity of Minkowksi sum O(n2m2)
  • Complexity of Minkowksi sum O(n m )
  • 3-D workspace
  • 3-D workspace
  • Convex case: O(nm)
  • Non-convex case: O(n3m3)

15

  • Non convex case: O(n m )
slide-16
SLIDE 16

Worst case example Worst case example

  • O(n2m2) complexity
  • O(n2m2) complexity

2D example Agarwal et al. 02

16

slide-17
SLIDE 17

444 tris 1 134 tris

17

17 444 tris 1,134 tris

slide-18
SLIDE 18

Union of 66 667 primitives 66,667 primitives

18

slide-19
SLIDE 19

Configuration space Configuration space

Definitions and examples

  • Definitions and examples
  • Obstacles
  • Paths
  • Metrics

19

19

slide-20
SLIDE 20

Paths in the configuration space Paths in the configuration space

workspace configuration space

  • A path in C is a continuous curve connecting two

configurations q and q’ : configurations q and q :

C s s    ) ( ] 1 , [ :  

20

such that q and q’.

slide-21
SLIDE 21

Constraints on paths Constraints on paths

  • A trajectory is a path parameterized by time:
  • A trajectory is a path parameterized by time:

C t T t    ) ( ] , [ :  

  • Constraints
  • Finite length

e e g

  • Bounded curvature
  • Smoothness
  • Minimum length
  • Minimum time
  • Minimum energy

21

21

slide-22
SLIDE 22

Free Space Topology Free Space Topology

A f th li ti l i th f F

  • A free path lies entirely in the free space F.
  • The moving object and the obstacles are

d l d l d b i h modeled as closed subsets, meaning that they contain their boundaries.

  • One can show that the C-obstacles are

closed subsets of the configuration space C ll as well.

  • Consequently, the free space F is an open

b t f subset of C.

22

slide-23
SLIDE 23

Semi Free Space Semi-Free Space

A configuration is semi free if the moving

  • A configuration q is semi-free if the moving
  • bject placed q touches the boundary, but

not the interior of obstacles. not the interior of obstacles.

  • Free, or
  • I n contact
  • The semi-free space is a closed subset of C.

23

slide-24
SLIDE 24

Example Example

24

slide-25
SLIDE 25

Example Example

25

slide-26
SLIDE 26

Homotopic Paths

  • Two paths and ’ (that map from U to V) with the same

Homotopic Paths

  • Two paths and  (that map from U to V) with the same

endpoints are homotopic if one can be continuously deformed into the other: with h(s,0) = (s) and h(s,1) = ’(s).

V U h   ] 1 , [ :

with h(s,0) (s) and h(s,1)  (s).

  • A homotopic class of paths
  • A homotopic class of paths

contains all paths that are homotopic to one another. p

26

slide-27
SLIDE 27

Connectedness of C Space Connectedness of C-Space

C is connected if every two configurations

  • C is connected if every two configurations

can be connected by a path.

  • C is simply-connected if any two paths

connecting the same endpoints are connecting the same endpoints are homotopic.

Examples: R2 or R3

  • Otherwise C is multiply-connected.

Otherwise C is multiply connected.

27

slide-28
SLIDE 28

Connectedness of C Space Connectedness of C-Space

C is connected if every two configurations

  • C is connected if every two configurations

can be connected by a path.

  • C is simply-connected if any two paths

connecting the same endpoints are connecting the same endpoints are homotopic.

Examples: R2 or R3

  • Otherwise C is multiply-connected.

Otherwise C is multiply connected.

Examples: S1 and SO(3) are multiply- connected:

  • I n S1, infinite number of homotopy classes

28

  • I n SO(3), only two homotopy classes
slide-29
SLIDE 29

Configuration space Configuration space

Definitions and examples

  • Definitions and examples
  • Obstacles
  • Paths
  • Metrics

29

slide-30
SLIDE 30

Metric in Configuration Space Metric in Configuration Space

  • A metric or distance function d in a
  • A metric or distance function d in a

configuration space C is a function h h

) ' , ( ) ' , ( :

2

   q q d C q q d

such that

  • d(q, q’) = 0 if and only if q = q’,

d( ’) d( ’ )

) , ( ) , ( q q q q

  • d(q, q’) = d(q’, q),
  • .

) ' , " ( ) " , ( ) ' , ( q q d q q d q q d  

30

slide-31
SLIDE 31

Example Example

Robot A and a point

  • n A
  • Robot A and a point x on A
  • x(q): position of x in the workspace when A

is at configuration q is at configuration q

  • A distance d in C is defined by

d(q q’) = max || x(q)  x(q’) || d(q, q ) = maxxA || x(q)  x(q ) || , where | | x - y| | denotes the Euclidean di b i d i h distance between points x and y in the workspace.

31

slide-32
SLIDE 32

L Metrics Lp Metrics

p n p

x x x x d

1 ' '

| | ) (       

i i i

x x x x d

1

| | ) , (    

  • L2: Euclidean metric
  • L1: Manhattan metric
  • L1: Manhattan metric
  • L∞: Max (| xi – xi |)

32

slide-33
SLIDE 33

Examples in R2 x S1 Examples in R2 x S1

C id R2 S1

  • Consider R2 x S1
  • q = (x, y,), q’ = (x’, y’, ’) with , ’  [0,2)
  •  = min { | 

’ | 2 |  ’| }

  •  = min { |   ’ | , 2- |   | }

  • d(q, q’) = sqrt( (x-x’)2 + (y-y’)2 + 2 ) )

’

(q q ) q ( ( ) (y y ) ) )

33

slide-34
SLIDE 34

Class Objectives were: Class Objectives were:

Configuration space

  • Configuration space
  • Definitions and examples
  • Obstacles
  • Obstacles
  • Paths
  • Metrics
  • Metrics

34

slide-35
SLIDE 35

Next Time Next Time….

Collision detection and distance

  • Collision detection and distance

computation

35