+ All Categories
Home > Documents > Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and...

Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and...

Date post: 28-Jul-2020
Category:
Upload: others
View: 5 times
Download: 0 times
Share this document with a friend
47
1 © 2019 The MathWorks, Inc. Evaluate Path Planner and Controller for Automated Parking Shusen Zhang Application Engineering, MathWorks
Transcript
Page 1: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

1© 2019 The MathWorks, Inc.

Evaluate Path Planner and Controller for Automated

Parking

Shusen Zhang

Application Engineering, MathWorks

Page 2: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

2

Learn about path planning with these examples

MATLAB

example

Simulink test

bench

Page 3: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

3

Learn about path planning with these examples

How robust is the

algorithm?

How can I handle

moving pedestrian

How can I automate

the tests?

Page 4: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

4

Evaluate Path Planner and Controller for Automated Parking

▪ Explore system robustness with simulation

▪ Improve design to handle moving pedestrian

▪ Test automation for regression tests

Page 5: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

5

Requirement 1: vehicle can only move forward

Page 6: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

6

Requirement 2: vehicle can’t cross parking lanes

Page 7: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

7

Requirement 3: algorithm must be able to handle loop.

Page 8: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

8

Baseline model in the product

Page 9: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

9

Single test case in the baseline model

Page 10: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

10

Software model

Page 11: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

11

Main modules

Planning

Inflation

Collision

Checking

Page 12: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

12

Main modules

PlanningControlPath

Analyzer

Page 13: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

13

Explore baseline behavior with multiple goal poses

Page 14: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

14

Explore behavior with single goal pose

Page 15: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

15

Explore behavior with single goal pose

Page 16: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

16

Changing testing condition

Page 17: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

17

Explore behavior with goal pose that generates a loop in path

Page 18: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

18

Isolate issue based on simulation results

Planner

finds the

goal

Controller

is mostly

tracking

Path

Analyzer

Page 19: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

19

Existing path analyzer

▪ Find a point on the path for the vehicle to follow

Minimum

distance to entire

path

Page 20: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

20

Existing path analyzer

Page 21: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

21

Modified path analyzer

▪ Find a point on the path for the vehicle to follow

Incremental

projection

Ref Path

i

i+1

i+2

i-1

u

u = 1

Page 22: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

22

Modified path analyzer

Page 23: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

23

Explore behavior with improved path analyzer

Page 24: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

24

Reduce turning radius and speed

Page 25: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

25

Evaluate Path Planner and Controller for Automated Parking

▪ Explore system robustness with simulation

– Remove intermedia points

– Specify different parking maps and spots

– Identify design issue and improve the design.

▪ Improve design to handle moving pedestrian

▪ Test automation for regression tests

Page 26: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

26

Build test bench to test dynamic scenario

Scenario Authoring

Page 27: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

27

Identify changes to react to pedestrian 1. Update map

based on

scenario

2. Aware of

potential

collision3. React to

imminent

collision

Page 28: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

28

Update map based on scenario1. Update map

based on

scenario

2. Aware of

potential

collision3. React to

imminent

collision

Page 29: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

29

Update map based on scenario

Page 30: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

30

Identify changes to react to pedestrian 1. Update map

based on

scenario

2. Awareness of

potential

collision3. Action with

potential

collision

Page 31: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

31

Awareness of potential collision

Time-to-

collision

calculation

Page 32: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

32

Time-to-collision with known path

Reference

Actual

Page 33: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

33

Identify changes to react to pedestrian 1. Update map

based on

scenario

2. Awareness of

potential

collision3. Action with

potential

collision

Page 34: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

34

Action with potential collision

▪ Reduce speed when TTC is low

Time to collision

Input

Page 35: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

35

Test in dynamic environment

Page 36: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

36

Improve design to handle pedestrians

Page 37: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

37

Evaluate Path Planner and Controller for Automated Parking

▪ Explore system robustness with simulation

– Remove intermedia points

– Specify different parking maps and spots

– Identify design flaws and improve the design.

▪ Improve design to handle moving pedestrian

– Add moving pedestrian

– Create costmap from ground truth

– Reduce speed based on time-to-collision

▪ Test automation for regression tests

Page 38: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

38

Automate regression testing

Page 39: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

39

Test assessment metrics

Page 40: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

40

Test assessment metrics

Trajectory

Reference

PointDistance

Metric

Yaw Metric

TTC Metric

Pedestrian

Page 41: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

41

Test iteration

▪ Tests definition and test management

Page 42: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

42

Testing multiple goal poses

Pedestrian

Page 43: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

43

Automate regression testing

▪ Use test manager to inspect reason of failed test. Yaw Metric

Page 44: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

44

Automate regression testing

Less deviation

with higher

gain

Page 45: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

45

Automate regression testing

Re-planning

and latency

Environment

model

uncertainty

Complex

parking lot

Backward

motion

Page 46: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

46

Automate regression testing

……………………….

Page 47: Evaluate path planner and vehicle controller for automated parking · 37 Evaluate Path Planner and Controller for Automated Parking Explore system robustness with simulation –Remove

47

Evaluate Path Planner and Controller for Automated Parking

▪ Explore system robustness with simulation

– Remove intermediate points

– Specify different parking maps and spots

– Identify design flaws and improve the design

▪ Improve design to handle moving pedestrians

– Add moving pedestrian

– Create costmap from ground truth

– Reduce speed based on time-to-collision

▪ Test automation for regression tests

– Add metrics for planner and controller

– Add test case definition/ management


Recommended