Title: Probabilistic Robotics
1Probabilistic Robotics
Bayes Filter Implementations Particle filters
2Sample-based Localization (sonar)
3Importance Sampling
Weight samples w f / g
4Distributions
5Distributions
Wanted samples distributed according to p(x z1,
z2, z3)
6This is Easy!
We can draw samples from p(xzl) by adding noise
to the detection parameters.
7Importance Sampling with Resampling
8Importance Sampling with Resampling
Weighted samples
After resampling
9Particle Filters
10Sensor Information Importance Sampling
11Robot Motion
12Sensor Information Importance Sampling
13Robot Motion
14Particle Filter Algorithm
- Algorithm particle_filter( St-1, ut-1 zt)
-
- For
Generate new samples - Sample index j(i) from the discrete
distribution given by wt-1 - Sample from using
and - Compute importance weight
- Update normalization factor
- Insert
- For
- Normalize weights
15Particle Filter Algorithm
16Resampling
- Given Set S of weighted samples.
- Wanted Random sample, where the probability of
drawing xi is given by wi. - Typically done n times with replacement to
generate new sample set S.
17Resampling Implementation
- Stochastic universal sampling
- Systematic resampling
- Linear time complexity
- Easy to implement, low variance
- Roulette wheel
- Binary search, n log n
18Resampling Algorithm
- Algorithm systematic_resampling(S,n)
-
- For Generate cdf
-
- Initialize threshold
- For Draw samples
- While ( ) Skip until next threshold
reached -
- Insert
-
Increment threshold - Return S
Also called stochastic universal sampling
19Motion Model Reminder
Start
20Proximity Sensor Model Reminder
Sonar sensor
Laser sensor
21(No Transcript)
22(No Transcript)
23(No Transcript)
24(No Transcript)
25(No Transcript)
26(No Transcript)
27(No Transcript)
28(No Transcript)
29(No Transcript)
30(No Transcript)
31(No Transcript)
32(No Transcript)
33(No Transcript)
34(No Transcript)
35(No Transcript)
36(No Transcript)
37(No Transcript)
38(No Transcript)
39(No Transcript)
40Sample-based Localization (sonar)
41Initial Distribution
42After Incorporating Ten Ultrasound Scans
43After Incorporating 65 Ultrasound Scans
44Estimated Path
45Using Ceiling Maps for Localization
46Vision-based Localization
47Under a Light
Measurement z
P(zx)
48Next to a Light
Measurement z
P(zx)
49Elsewhere
Measurement z
P(zx)
50Global Localization Using Vision
51Application Rhino and Albert Synchronized in
Munich and Bonn
Robotics And Automation Magazine, to appear
52Localization for AIBO robots
53Limitations
- The approach described so far is able to
- track the pose of a mobile robot and to
- globally localize the robot.
- How can we deal with localization errors (i.e.,
the kidnapped robot problem)?
54Approaches
- Randomly insert samples (the robot can be
teleported at any point in time). - Insert random samples proportional to the average
likelihood of the particles (the robot has been
teleported with higher probability when the
likelihood of its observations drops).
55Random SamplesVision-Based Localization
- 936 Images, 4MB, .6secs/image
- Trajectory of the robot
56Odometry Information
57Image Sequence
58Resulting Trajectories
Position tracking
59Resulting Trajectories
Global localization
60Global Localization
61Kidnapping the Robot
62Recovery from Failure
63Summary
- Particle filters are an implementation of
recursive Bayesian filtering - They represent the posterior by a set of weighted
samples. - In the context of localization, the particles are
propagated according to the motion model. - They are then weighted according to the
likelihood of the observations. - In a re-sampling step, new particles are drawn
with a probability proportional to the likelihood
of the observation.