RRT RRT and Recent Advancements d R t Ad t Sung-Eui Yoon ( ) ( - - PowerPoint PPT Presentation

rrt rrt and recent advancements d r t ad t
SMART_READER_LITE
LIVE PREVIEW

RRT RRT and Recent Advancements d R t Ad t Sung-Eui Yoon ( ) ( - - PowerPoint PPT Presentation

RRT RRT and Recent Advancements d R t Ad t Sung-Eui Yoon ( ) ( ) C Course URL: URL http://sglab.kaist.ac.kr/~sungeui/MPA Class Objectives Class Objectives Understand the RRT technique and its Understand the RRT


slide-1
SLIDE 1

RRT d R t Ad t RRT and Recent Advancements

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

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

slide-2
SLIDE 2

Class Objectives Class Objectives

Understand the RRT technique and its

  • Understand the RRT technique and its

recent advancements

2

slide-3
SLIDE 3

RRT-Connect: An Efficient Approach to Single-Query Path Planning Planning

James Kuffner, Steven LaValle I CRA 2000 # of citation: more 600

  • c tat o
  • e 600

3

Initial slides from TaeJoon Kim

slide-4
SLIDE 4

Goal Goal

Present an efficient randomized path

  • Present an efficient randomized path

planning algorithm for single-query problems problems

  • Converges quickly
  • Probabilistically complete

y p

  • Works well in high-dimensional C-space

4

slide-5
SLIDE 5

Motivation – Performance vs Reliability Performance vs. Reliability

Complete algorithms [Schwartz and M

  • Complete algorithms [Schwartz and M.

Sharir 83, Canny 88]

  • Most reliable needs high computational power
  • Most reliable, needs high computational power
  • Only used to low-dimensional C-space
  • Randomized potential field [Barraquand
  • Randomized potential field [Barraquand

and Latombe 91]

  • Greedy & relaxation approach

y pp

  • Fast in many cases, but not in every case
  • Probabilistic roadmap [Kavraki et al. 96]

p [ ]

  • Reliable, but needs preprocessing
  • Good for multiple-query problems

5

slide-6
SLIDE 6

Approach Approach

Design a simple reliable and fast

  • Design a simple, reliable, and fast

algorithm for single-query problems

  • Use RRT (Rapidly-exploring Random Trees)
  • Use RRT (Rapidly-exploring Random Trees)

[LaValle 98] for reliability

  • Develop a greedy heuristic to converge quickly

p g y g q y

6

slide-7
SLIDE 7

Rapidly Exploring Random Tree Rapidly-Exploring Random Tree

A growing tree from an initial state

  • A growing tree from an initial state

7

slide-8
SLIDE 8

RRT Construction Algorithm RRT Construction Algorithm

Extend a new vertex in each iteration

  • Extend a new vertex in each iteration

ε qnew q qnear qinit

8

slide-9
SLIDE 9

Advantages of RRT Advantages of RRT

Biased toward unexplored space

  • Biased toward unexplored space
  • Probabilistically complete
  • Always connected
  • Can handle nonholonomic constraints and

hi h d f f d high degrees of freedom

9

slide-10
SLIDE 10

Outline Outline

I ntroduction

  • I ntroduction
  • Rapidly-exploring Random Tree
  • Overview
  • RRT-Connect Algorithm
  • Demo
  • Results
  • Conclusion

10

slide-11
SLIDE 11

Overview Planning with RRT Overview – Planning with RRT

Extend RRT until a nearest vertex is close

  • Extend RRT until a nearest vertex is close

enough to the goal state

  • Probabilistically complete but converge
  • Probabilistically complete, but converge

slowly

11

slide-12
SLIDE 12

Overview With Dual RRT Overview – With Dual RRT

Extend RRTs from both initial and goal

  • Extend RRTs from both initial and goal

states

  • Find path much more quickly
  • Find path much more quickly

12

737 nodes are used

slide-13
SLIDE 13

Overview With RRT Connect

Aggressively connect the dual trees using a

Overview – With RRT-Connect

  • Aggressively connect the dual trees using a

greedy heuristic

  • Extend & connect trees alternatively
  • Extend & connect trees alternatively

13

42 nodes are used

slide-14
SLIDE 14

RRT Connect Algorithm RRT-Connect Algorithm

Starting from both initial and goal states

  • Starting from both initial and goal states
  • Extend a tree and try to connect the new

vertex and another tree vertex and another tree

  • Alternatively repeat until two trees are

actually connect actually connect

qinit qgoal

14

slide-15
SLIDE 15

Variations of RRT Connect Variations of RRT-Connect

Extend & Extend

  • Extend & Extend
  • Less aggressive, but works well on

nonholonomic constrains nonholonomic constrains

  • Connect & Connect
  • Stronger greedy
  • Stronger greedy

15

slide-16
SLIDE 16

Voronoi Region Voronoi Region

An RRT is biased by large Voronoi regions

  • An RRT is biased by large Voronoi regions

to rapidly explore, before uniformly covering the space covering the space

16

slide-17
SLIDE 17

RRT Construction Algorithm RRT Construction Algorithm

17

slide-18
SLIDE 18

RRT Connect Algorithm RRT Connect Algorithm

18

slide-19
SLIDE 19

Results Results

0 13s 1 52s and

  • 0.13s, 1.52s, and

1.02s on 270MHz

  • I mproves performance

by a factor of three or by a factor of three or four in uncluttered environments

  • Slightly improves in

Slightly improves in very cluttered environments

19

slide-20
SLIDE 20

Results Results

  • Translations &
  • Translations &

rotations

  • 12s
  • 6-DOF
  • 4s

20

slide-21
SLIDE 21

Conclusions Conclusions

Reasonably balanced path planning

  • Reasonably balanced path planning

between greedy exploration (as in a potential field) and uniform exploration (as potential field) and uniform exploration (as in a probabilistic roadmap)

  • Simple and practical method

p p

  • The huge performance improvements
  • The huge performance improvements

happen in relatively open spaces only

  • Theoretical convergence ratio is not given

Theoretical convergence ratio is not given

21

slide-22
SLIDE 22

Randomized Kinodynamic Planning Planning

Steven LaValle James Kuffner I CRA 1999 # of citation: more than 400

  • c tat o
  • e t a

00

22

Initial slides from TaeJoon Kim

slide-23
SLIDE 23

Goal Goal

Present an efficient randomized path

  • Present an efficient randomized path

planning algorithm on the kinodynamic planning problem planning problem

23

slide-24
SLIDE 24

Holonomic Path Planning Holonomic Path Planning

24

slide-25
SLIDE 25

Nonholonomic Path Planning Nonholonomic Path Planning

  • Consider kinematic constraints

25

slide-26
SLIDE 26

Kinodynamic Path Planning Kinodynamic Path Planning

  • Consider kinematic + dynamic constraints

26

slide-27
SLIDE 27

Kinodynamic Path Planning Kinodynamic Path Planning

Conventional planning: Decouple problems

  • Conventional planning: Decouple problems
  • Solve basic path planning
  • Find trajectory and controller that satisfies the
  • Find trajectory and controller that satisfies the

dynamics and follows the path

  • [Bobrow et al. 85, Latombe 91, Shiller and Dubowsky 91]

[ , , y ]

  • PSPACE-hard in general [Reif 79]

27

slide-28
SLIDE 28

Outline Outline

I ntroduction

  • I ntroduction
  • Kinodynamic Planning
  • Problem Formulation
  • Randomized Kinodynamic Planning
  • Rapidly-Exploring Random Trees (RRTs)
  • Demo
  • Results
  • Conclusion
  • Conclusion

28

slide-29
SLIDE 29

State Space Formulation State Space Formulation

Kinodynamic planning → 2n dimensional

  • Kinodynamic planning → 2n-dimensional

state space

space the denote C- C space state the denote X X x C q q q x    , for ), , (  dq dq dq ] [

2 1 2 1

dt dq dt dq dt dq q q q x

n n

  

29

slide-30
SLIDE 30

Constraints in State Space Constraints in State Space

x x G q q q h ) ( becomes ) (     n m ,m , i x x G q q q h

i i

2 and 1 for , ) , ( becomes ) , , (     

  • Constraints can be written in:

) , ( u x f x   ) , ( f inputs

  • r

controls allowable

  • f

Set : , U U u 

30

slide-31
SLIDE 31

Solution Trajectory Solution Trajectory

Defined as a time parameterized

  • Defined as a time-parameterized

continuous path

t i t th ti fi ] [ X T

Obt i d b i t ti

s constraint the satisfies , ] , [ :

free

X T   ) ( f 

  • Obtained by integrating
  • Solution: Finding a control function

) , ( u x f x   U T u  ] , [ :

31

slide-32
SLIDE 32

Randomized Kinodynamic Planning Randomized Kinodynamic Planning

Randomized potential fields

  • Randomized potential fields
  • [Barraquand and Latombe 91, Challou et al. 95]
  • Set u which reduces the potential
  • Set u which reduces the potential
  • Leads oscillations
  • Hard to design good potential fields
  • Hard to design good potential fields
  • Randomized roadmap
  • [Amato and Wu 96 Kavraki et al 96]
  • [Amato and Wu 96, Kavraki et al. 96]
  • Hard to connect two configurations (or states),

except for specific environments [Svestka and p p

Overmars 95, Reeds and Schepp 90, Bushnell et al. 95…]

32

slide-33
SLIDE 33

Rapidly Exploring Random Tree Rapidly-Exploring Random Tree

A growing tree from initial state

  • A growing tree from initial state

33

slide-34
SLIDE 34

Rapidly Exploring Random Tree Rapidly-Exploring Random Tree

Extend a new vertex in each iteration

  • Extend a new vertex in each iteration

qnew u q qnear qinit

34

slide-35
SLIDE 35

Results 200MHz 128MB Results – 200MHz, 128MB

  • Planar translating
  • Planar translating
  • X= 4 DOF
  • Four different
  • Four different

controls: up, down, left, right , , g forces

  • 500~ 2,500 nodes
  • 5~ 15sec
  • Planar TR+ RO
  • Planar TR+ RO
  • X= 6 DOF

13 600 d

36

  • 13,600 nodes
  • 4.2min
slide-36
SLIDE 36

Results 200MHz 128MB Results – 200MHz, 128MB

3D t l ti

  • 3D translating
  • X= 6 DOF
  • 16,300 nodes
  • 4.1min
  • 3D TR+ RO
  • 3D TR+ RO
  • X= 12 DOF

23 800 d

  • 23,800 nodes
  • 8.4min

37

slide-37
SLIDE 37

Conclusions Conclusions

Take advantages from both randomized

  • Take advantages from both randomized

potential fields and roadmaps

  • “Drives forward” like potential fields
  • Drives forward like potential fields
  • Quickly and uniformly explores like roadmaps
  • Efficient and reliable method
  • Efficient and reliable method
  • Practical!

38

slide-38
SLIDE 38

Dynamic-Domain RRTs: Efficient E l ti b C t lli th S li Exploration by Controlling the Sampling Domain

Anna Yershova Léonard Jaillet Thierry Siméon Steven M LaValle Anna Yershova Léonard Jaillet Thierry Siméon Steven M. LaValle I CRA 05 I CRA 05 Citation: more than 80

39

From author’s slides

slide-39
SLIDE 39

A R idl l i R d T (RRT) A Rapidly-exploring Random Tree (RRT)

40

slide-40
SLIDE 40

V i Bi d E l ti Voronoi Biased Exploration

41

Is this always a good idea?

slide-41
SLIDE 41

V i Di i R 2 Voronoi Diagram in R 2

42

slide-42
SLIDE 42

V i Di i R 2 Voronoi Diagram in R 2

43

slide-43
SLIDE 43

V i Di i R 2 Voronoi Diagram in R 2

44

slide-44
SLIDE 44

R fi t E i Refinement vs. Expansion

refinement expansion Wh ill th d l f ll? H t t l th b h i f RRT?

45

Where will the random sample fall? How to control the behavior of RRT?

slide-45
SLIDE 45

D t i i th B d Determining the Boundary

Expansion Balanced refinement and Expansion dominates Balanced refinement and expansion

46

The tradeoff depends on the size of the bounding box

slide-46
SLIDE 46

C t lli th V i Bi Controlling the Voronoi Bias

  • Refinement is good when multiresolution search

is needed

  • Expansion is good when the tree can grow and

not blocked by obstacles Main motivation:

  • Voronoi bias does not take into account obstacles
  • How to incorporate the obstacles into Voronoi

bias?

47

slide-47
SLIDE 47

B T Bug Trap

Small Bounding Box Large Bounding Box

Which one will perform better?

Small Bounding Box Large Bounding Box

48

Which one will perform better?

slide-48
SLIDE 48

V i Bi f th O i i l RRT Voronoi Bias for the Original RRT

49

slide-49
SLIDE 49

Vi ibilit B d Cli i f th V i R i Visibility-Based Clipping of the Voronoi Regions

50

Nice idea, but how can this be done in practice? Even better: Voronoi diagram for obstacle-based metric

slide-50
SLIDE 50

A B d N d A Boundary Node

(a) Regular RRT, unbounded Voronoi region ( ) g , g (b) Visibility region (c) Dynamic domain

51

(c) Dynamic domain

slide-51
SLIDE 51

A N B d N d A Non-Boundary Node

(a) Regular RRT, unbounded Voronoi region ( ) g , g (b) Visibility region (c) Dynamic domain

52

(c) Dynamic domain

slide-52
SLIDE 52

D i D i RRT Bi Dynamic-Domain RRT Bias

53

slide-53
SLIDE 53

D i D i RRT C t ti Dynamic-Domain RRT Construction

54

slide-54
SLIDE 54

D i D i RRT Bi Dynamic-Domain RRT Bias

55

Tradeoff between nearest neighbor calls and collision detection calls

slide-55
SLIDE 55

E i t Experiments

  • 333 Mhz machine

Two kinds of experiments:

  • Controlled experiments for toy problems
  • Controlled experiments for toy problems
  • Challenging benchmarks from industry and biology

56

slide-56
SLIDE 56

Sh i ki B T Shrinking Bug Trap

Large Medium Small

57

slide-57
SLIDE 57

Sh i ki B T Shrinking Bug Trap

58

The smaller the bug trap, the better the improvement

slide-58
SLIDE 58

Wi M t ( t f KINEO) Wiper Motor (courtesy of KINEO)

 6 dof problem  CD calls are expensive

59

expensive

slide-59
SLIDE 59

Molecule Molecule

60

slide-60
SLIDE 60

L b i th Labyrinth

 3 dof problem  CD calls are not expensive

61

expensive

slide-61
SLIDE 61

C l i Conclusions

  • Controlling Voronoi bias is important in RRTs
  • Provides dramatic performance improvements
  • Provides dramatic performance improvements
  • n some problems
  • Does not incur much penalty for unsuitable

Does not incur much penalty for unsuitable problems Work in Progress:

  • There is a radius parameter; adaptive tuning is
  • There is a radius parameter; adaptive tuning is

possible

62

slide-62
SLIDE 62

Class Objectives were: Class Objectives were:

Understand the RRT technique and its

  • Understand the RRT technique and its

recent advancements

63