Você está na página 1de 9

Robot Mapping Gaussian Filters

!  The Kalman filter and its variants can


Short Introduction to Particle only model Gaussian distributions
Filters and Monte Carlo
Localization

Cyrill Stachniss

1 2

Motivation Key Idea: Samples


!  Goal: approach for dealing with !  Use multiple samples to represent
arbitrary distributions arbitrary distributions

3
samples 4
Particle Set Particles for Approximation
!  Set of weighted samples !  Particles for function approximation

state importance
hypothesis weight

!  The samples represent the posterior


!  The more particles fall into an interval,
the higher its probability density
How to obtain such samples?
5 6

Importance Sampling Principle 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 7 8
Particle Filter Particle Filter Algorithm
!  Recursive Bayes filter 1.  Sample the particles using the
!  Non-parametric approach proposal distribution
!  Models the distribution by samples
!  Prediction: draw from the proposal 2.  Compute the importance weights
!  Correction: weighting by the ratio
of target and proposal

3.  Resampling: Replace unlikely


The more samples we use, samples by more likely ones
the better is the estimate!
9 10

Particle Filter Algorithm Monte Carlo Localization


!  Each particle is a pose hypothesis
!  Proposal is the motion model

!  Correction via the observation model

11 12
Particle Filter for Localization Application: Particle Filter for
Localization (Known Map)

13 14

Resampling Resampling
!  Survival of the fittest: Replace wn w1 wn w1
w2
w2
unlikely samples by more likely ones Wn-1 Wn-1

!  “Trick” to avoid that many samples w3 w3

cover unlikely states


!  Needed as we have a limited number
of samples

!  Roulette wheel !  Stochastic universal


sampling
!  Binary search
!  Low variance
!  O(n log n)
!  O(n)
15 16
Low Variance Resampling

initialization
17 18

observation resampling
19 20
motion update measurement
21 22

weight update resampling


23 24
motion update measurement
25 26

weight update resampling


27 28
motion update measurement
29 30

weight update resampling


31 32
motion update measurement
33 34

Summary – Particle Filters Summary – PF Localization


!  Particle filters are non-parametric, !  Particles are propagated according to
recursive Bayes filters the motion model
!  Posterior is represented by a set of !  They are weighted according to the
weighted samples likelihood of the observation
!  Not limited to Gaussians !  Called: Monte-Carlo localization (MCL)
!  Proposal to draw new samples !  MCL is the gold standard for mobile
!  Weight to account for the differences robot localization today
between the proposal and the target
!  Work well in low-dimensional spaces
35 36

Você também pode gostar