lecture6 - kaistsglab.kaist.ac.kr/~sungeui/mpa/slides/lecture6.pdf · 2019. 10. 15. · microsoft...

45
CS686: RRT Sung-Eui Yoon (윤성의) Course URL: http://sgvr.kaist.ac.kr/~sungeui/MPA

Upload: others

Post on 17-Sep-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

CS686:RRT

Sung-Eui Yoon(윤성의)

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

Page 2: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

2

Class Objectives● Understand the RRT technique and its

recent advancements● RRT*● Kinodynamic planning

● Last time● Probabilistic roadmap techniques● Sampling and re-sampling techniques

Page 3: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

3

Question● PRM assumes that we know the global

map, but how can we handle the case where we have only a partial map due to the limited sensor range?● 지난시간에 배운 PRM 기법들은 글로벌 맵을 알고

있어야 문제 해결이 가능한데, 전체 맵의 일부분(센서탐지거리 제약 등으로)만을 알고 있는 상황에서PRM알고리즘을 적용하려면 어떤 방식으로 해야하는지요?

Page 4: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

4

Rapidly-exploring Random Trees (RRT) [LaValle 98]● Present an efficient randomized path

planning algorithm for single-query problems● Converges quickly● Probabilistically complete● Works well in high-dimensional C-space

Page 5: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

5

Rapidly-Exploring Random Tree● A growing tree from an initial state

Page 6: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

6

RRT Construction Algorithm● Extend a new vertex in each iteration

● Alternatively, one can simply connect

qinit

ε

qqnear

qnew

Page 7: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

7

Overview – Planning with RRT● Extend RRT until a nearest vertex is close

enough to the goal state● Can handle nonholonomic constraints and high

degrees of freedom

● Probabilistically complete, but does not converge to the optimal one

Page 8: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

8

RRT Construction Algorithm

Page 9: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

9

Voronoi Region● An RRT is biased by large Voronoi regions

to rapidly explore, before uniformly covering the space

Page 10: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

10

Overview – With Dual RRT● Extend RRTs from both initial and goal

states● Find path much more quickly

737 nodes are used

Page 11: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

11

● Aggressively connect the dual trees using a greedy heuristic

● Extend & connect trees alternatively

Overview – With RRT-Connect

42 nodes are used

Page 12: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

RRT*● RRT does not converge to the optimal

solution

RRT

RRT*

From Sertac’s homepage

Page 13: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

RRT*- Asymptotically optimal without a substantial

computational overhead

- YnRRT* : cost of the best path in the RRT*

- c* : cost of an optimal solution- Mn

RRT : # of steps executed by RRT at iteration n- Mn

RRT*: # of steps executed by RRT* at iteration nFrom DH’s homepage

Page 14: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Key Operation of RRT*● RRT

● Just connect a new node to its nearest neighbor node

● RRT*: refine the connection with re-wiring operation● Given a ball, identify neighbor nodes to the

new node● Refine the connection to have a lower cost

Page 15: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Example: Re-Wiring Operation

From ball tree paper

Page 16: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Example: Re-Wiring Operation

Generate a new sample

From ball tree paper

Page 17: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Example: Re-Wiring Operation

Identify nodes in a ball

From ball tree paper

Page 18: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Example: Re-Wiring Operation

Identify which parent gives the lowest cost

From ball tree paper

Page 19: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Example: Re-Wiring Operation

From ball tree paper

Page 20: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Example: Re-Wiring Operation

Identify which child gives the lowest cost

From ball tree paper

Page 21: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Example: Re-Wiring Operation

From ball tree paper

Video showing benefits with real robot

Page 22: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

22

Kinodynamic Path Planning

● Consider kinematic + dynamic constraints

Gait and Trajectory Optimization for Legged Systems through Phase-based End-Effector Parameterization

Page 23: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

23

State Space Formulation● Kinodynamic planning → 2n-dimensional

state spacespace thedenote C-C

space state thedenote X

XxCqqqx ∈∈= ,for ),,(

] [ 2121 dt

dqdt

dqdtdqqqqx n

n =

Page 24: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

24

Constraints in State Space

● Constraints can be written in:nm,m,i

xxGqqqh ii

2 and 1for ,0),( becomes 0),,(

<===

),( uxfx =

inputsor controls allowable ofSet : , UUu ∈

Page 25: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

25

Rapidly-Exploring Random Tree● Extend a new vertex in each iteration

qinit

qqnear

qnewu

Page 26: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

26

Results – 200MHz, 128MB● 3D translating● X=6 DOF● 16,300 nodes● 4.1min

● 3D TR+RO● X=12 DOF● 23,800 nodes● 8.4min

Page 27: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

RRT at work: Successful Parking Maneuver

Page 28: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Some Works of Our Group● Narrow passages

● Identify narrow passage with a simple one-dimensional line test, and selectively explore such regions

● Selective retraction-based RRT planner for various environments, Lee et al., T-RO 14

● http://sglab.kaist.ac.kr/SRRRT/T-RO.html

Page 29: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

29

Retration-based RRT [Zhang & Manocha 08]

● Retraction-based RRT technique handling narrow passages

● General characteristic: Generates more samples near the boundary of obstacles

image from [Zhang & Manocha 08]

Page 30: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

30

RRRT: Pros and Cons

with narrow passages without narrow passagesimages from [Zhang & Manocha 08]

Page 31: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

31

RRRT: Pros and Cons

with narrow passages without narrow passagesimages from [Zhang & Manocha 08]

Page 32: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

32

Bridge line-test [Lee et al., T-RO 14]● To identify narrow passage regions

● Bridge line-test1. Generate a random line 2. Check whether the line meets any obstacle

Page 33: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

33

Results

Video

Page 34: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

Related Works of Our Group●Handling narrow passages ●Handling uncertainty and dynamic objects

● Anytime RRBT for handling uncertainty and dynamic objects, IROS 16

Page 35: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

35

Handling Sensor Errors● Uncertainty caused by:

● Various sensors● Low-level controllers

Sensor noise Controller noise

Page 36: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

36

Rapidly-exploring Random Belief Tree[Bry et al., ICRA 11]

Use Kalman filter to propagate Gaussian states Improve solutions toward optimal

Number of iteration

500 1000 1500Preserve optimal path

Multiple belief nodes in the same vertex

Page 37: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

37

Main Contribution: Anytime Extension [Yang et al.,IROS 16]

Measurement region

Goalregion

Bigger circle means higher uncertainty

The robot computes better path while

executing the path

Page 38: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

38

Main Contribution:Anytime Extension

Page 39: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

39

Velocity Obstacle:Local Geometric Analysis

“The hybrid reciprocal velocity obstacle” TRO11 J Snape, J van den Berg, SJ Guy“Reciprocal velocity obstacles for real-time multi-agent navigation” J van den Berg“Generalized Velocity Obstacles” IROS09, D Wilkie, J Van den Berg

• Used for collision avoidance among multiple robots• When v for Robot is in the VO, we will have collision

Page 40: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

40

Uncertainty-aware Velocity Obstacle as Local Geometry Analysis

Conservative collision checking

“The hybrid reciprocal velocity obstacle” TRO11 J Snape, J van den Berg, SJ Guy“Reciprocal velocity obstacles for real-time multi-agent navigation” J van den Berg“Generalized Velocity Obstacles” IROS09, D Wilkie, J Van den Berg

Page 41: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

41

Intersection scene – with UVO

Page 42: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

42

Class Objectives were:● Understand the RRT technique and its

recent advancements● RRT* for optimal path planning● Kinodynamic planning● Some related techniques to RRT

Page 43: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

43

Summary

Page 44: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

44

Next Time..● Basic concepts of reinforcement learning

Page 45: Lecture6 - KAISTsglab.kaist.ac.kr/~sungeui/MPA/Slides/Lecture6.pdf · 2019. 10. 15. · Microsoft PowerPoint - Lecture6 Author: Yoon Created Date: 10/15/2019 3:10:04 PM

45

Homework for Every Class● Submit summaries of 2

ICRA/IROS/RSS/CoRL/TRO/IJRR papers● Go over the next lecture slides● Come up with three question before the mid-

term exam