Robot Mapping Short Introduction to Particle Filters and Monte - - PowerPoint PPT Presentation

robot mapping short introduction to particle filters and
SMART_READER_LITE
LIVE PREVIEW

Robot Mapping Short Introduction to Particle Filters and Monte - - PowerPoint PPT Presentation

Robot Mapping Short Introduction to Particle Filters and Monte Carlo Localization Cyrill Stachniss 1 Gaussian Filters The Kalman filter and its variants can only model Gaussian distributions 2 Motivation Goal: approach for


slide-1
SLIDE 1

1

Robot Mapping Short Introduction to Particle Filters and Monte Carlo Localization

Cyrill Stachniss

slide-2
SLIDE 2

2

Gaussian Filters

§ The Kalman filter and its variants can

  • nly model Gaussian distributions
slide-3
SLIDE 3

3

Motivation

§ Goal: approach for dealing with arbitrary distributions

slide-4
SLIDE 4

4

Key Idea: Samples

§ Use multiple samples to represent arbitrary distributions

samples

slide-5
SLIDE 5

5

Particle Set

§ Set of weighted samples § The samples represent the posterior

state hypothesis importance weight

slide-6
SLIDE 6

6

Particles for Approximation

§ Particles for function approximation § The more particles fall into an interval, the higher its probability density

How to obtain such samples?

slide-7
SLIDE 7

7

Importance Sampling Principle

§ We can use a different distribution g to generate samples from f § Account for the “differences between g and f ” using a weight w = f / g § target f § proposal g § Pre-condition: f(x)>0 à g(x)>0

7

slide-8
SLIDE 8

8

Importance Sampling Principle

slide-9
SLIDE 9

9

Particle Filter

§ Recursive Bayes filter § Non-parametric approach § Models the distribution by samples § Prediction: draw from the proposal § Correction: weighting by the ratio

  • f target and proposal

The more samples we use, the better is the estimate!

slide-10
SLIDE 10

10

Particle Filter Algorithm

  • 1. Sample the particles using the

proposal distribution

  • 2. Compute the importance weights
  • 3. Resampling: “Replace unlikely

samples by more likely ones”

slide-11
SLIDE 11

11

Particle Filter Algorithm

slide-12
SLIDE 12

12

Monte Carlo Localization

§ Each particle is a pose hypothesis § Proposal is the motion model § Correction via the observation model

slide-13
SLIDE 13

13

Particle Filter for Localization

slide-14
SLIDE 14

14

Application: Particle Filter for Localization (Known Map)

slide-15
SLIDE 15

15

Resampling

§ Survival of the fittest: “Replace unlikely samples by more likely ones” § “Trick” to avoid that many samples cover unlikely states § Needed as we have a limited number

  • f samples
slide-16
SLIDE 16

16

w2 w3 w1 wn Wn-1

Resampling

w2 w3 w1 wn Wn-1

§ Roulette wheel § Binary search § O(n log n) § Stochastic universal sampling § Low variance § O(n)

slide-17
SLIDE 17

17

Low Variance Resampling

slide-18
SLIDE 18

18

initialization

slide-19
SLIDE 19

19

  • bservation
slide-20
SLIDE 20

20

resampling

slide-21
SLIDE 21

21

motion update

slide-22
SLIDE 22

22

measurement

slide-23
SLIDE 23

23

weight update

slide-24
SLIDE 24

24

resampling

slide-25
SLIDE 25

25

motion update

slide-26
SLIDE 26

26

measurement

slide-27
SLIDE 27

27

weight update

slide-28
SLIDE 28

28

resampling

slide-29
SLIDE 29

29

motion update

slide-30
SLIDE 30

30

measurement

slide-31
SLIDE 31

31

weight update

slide-32
SLIDE 32

32

resampling

slide-33
SLIDE 33

33

motion update

slide-34
SLIDE 34

34

measurement

slide-35
SLIDE 35

35

Summary – Particle Filters

§ Particle filters are non-parametric, recursive Bayes filters § Posterior is represented by a set of weighted samples § Not limited to Gaussians § Proposal to draw new samples § Weight to account for the differences between the proposal and the target § Work well in low-dimensional spaces

slide-36
SLIDE 36

36

Summary – PF Localization

§ Particles are propagated according to the motion model § They are weighted according to the likelihood of the observation § Called: Monte-Carlo localization (MCL) § MCL is the gold standard for mobile robot localization today