Probabilistic Robotics
This document discusses the implementation of particle filters in probabilistic robotics, focusing on sample-based localization using sonar data. It covers the concepts of importance sampling, including weight adjustment and resampling techniques, to refine the estimate of a robot's position based on sensor data. The algorithm is designed to generate new samples, compute importance weights, and normalize these weights effectively. Additionally, the paper outlines systematic resampling methods and the utilization of ultrasonic scans to enhance localization accuracy, demonstrating practical applications in robotics.
Probabilistic Robotics
E N D
Presentation Transcript
Probabilistic Robotics Bayes Filter Implementations Particle filters
Importance Sampling Weight samples: w = f / g
Distributions Wanted: samples distributed according to p(x| z1, z2, z3)
This is Easy! We can draw samples from p(x|zl) by adding noise to the detection parameters.
Importance Sampling with Resampling Weighted samples After resampling
Particle 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
draw xit-1from Bel(xt-1) draw xitfrom p(xt | xit-1,ut-1) Importance factor for xit: Particle Filter Algorithm
Resampling • 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’.
w1 wn w2 Wn-1 w1 wn w2 Wn-1 w3 w3 Resampling Implementation • Stochastic universal sampling • Systematic resampling • Linear time complexity • Easy to implement, low variance • Roulette wheel • Binary search, n log n
Resampling Algorithm • Algorithm systematic_resampling(S,n): • For Generate cdf • Initialize threshold • For Draw samples … • While ( ) Skip until next threshold reached • Insert • Increment threshold • ReturnS’ Also called stochastic universal sampling
Motion Model Reminder Start
Proximity Sensor Model Reminder Sonar sensor Laser sensor
P(z|x) z h(x) Vision-based Localization
Under a Light Measurement z: P(z|x):
Next to a Light Measurement z: P(z|x):
Elsewhere Measurement z: P(z|x):
Application: Rhino and Albert Synchronized in Munich and Bonn [Robotics And Automation Magazine, to appear]