L10. PARTICLE FILTERING CONTINUED. NA568 Mobile Robotics: Methods & Algorithms

Similar documents
Practical Course WS12/13 Introduction to Monte Carlo Localization

Probabilistic Robotics

Introduction to Mobile Robotics Bayes Filter Particle Filter and Monte Carlo Localization. Wolfram Burgard

Probabilistic Robotics

Humanoid Robotics. Monte Carlo Localization. Maren Bennewitz

IROS 05 Tutorial. MCL: Global Localization (Sonar) Monte-Carlo Localization. Particle Filters. Rao-Blackwellized Particle Filters and Loop Closing

AUTONOMOUS SYSTEMS. PROBABILISTIC LOCALIZATION Monte Carlo Localization

Robot Mapping. A Short Introduction to the Bayes Filter and Related Models. Gian Diego Tipaldi, Wolfram Burgard

Probabilistic Robotics

This chapter explains two techniques which are frequently used throughout

Introduction to Mobile Robotics SLAM Grid-based FastSLAM. Wolfram Burgard, Cyrill Stachniss, Maren Bennewitz, Diego Tipaldi, Luciano Spinello

Particle Filter in Brief. Robot Mapping. FastSLAM Feature-based SLAM with Particle Filters. Particle Representation. Particle Filter Algorithm

Overview. EECS 124, UC Berkeley, Spring 2008 Lecture 23: Localization and Mapping. Statistical Models

Probabilistic Robotics. FastSLAM

Introduction to Mobile Robotics SLAM Landmark-based FastSLAM

Computer Vision 2 Lecture 8

Computer Vision Group Prof. Daniel Cremers. 11. Sampling Methods

Probabilistic Robotics

L17. OCCUPANCY MAPS. NA568 Mobile Robotics: Methods & Algorithms

Monte Carlo Localization using Dynamically Expanding Occupancy Grids. Karan M. Gupta

Robot Mapping. Grid Maps. Gian Diego Tipaldi, Wolfram Burgard

Tracking Algorithms. Lecture16: Visual Tracking I. Probabilistic Tracking. Joint Probability and Graphical Model. Deterministic methods

Particle Filters. CSE-571 Probabilistic Robotics. Dependencies. Particle Filter Algorithm. Fast-SLAM Mapping

Localization and Map Building

L15. POSE-GRAPH SLAM. NA568 Mobile Robotics: Methods & Algorithms

Adapting the Sample Size in Particle Filters Through KLD-Sampling

Robotics. Chapter 25-b. Chapter 25-b 1

What is the SLAM problem?

From Par(cle Filters to Malliavin Filtering with Applica(on to Target Tracking Sérgio Pequito Phd Student

Adapting the Sample Size in Particle Filters Through KLD-Sampling

ECE276A: Sensing & Estimation in Robotics Lecture 11: Simultaneous Localization and Mapping using a Particle Filter

Final project: 45% of the grade, 10% presentation, 35% write-up. Presentations: in lecture Dec 1 and schedule:

Announcements. Recap Landmark based SLAM. Types of SLAM-Problems. Occupancy Grid Maps. Grid-based SLAM. Page 1. CS 287: Advanced Robotics Fall 2009

Monte Carlo Localization for Mobile Robots

Jurnal Teknologi PARTICLE FILTER IN SIMULTANEOUS LOCALIZATION AND MAPPING (SLAM) USING DIFFERENTIAL DRIVE MOBILE ROBOT. Full Paper

Spring Localization II. Roland Siegwart, Margarita Chli, Juan Nieto, Nick Lawrance. ASL Autonomous Systems Lab. Autonomous Mobile Robots

Autonomous Mobile Robot Design

SLAM: Robotic Simultaneous Location and Mapping

Mobile Robot Mapping and Localization in Non-Static Environments

Robotics. Lecture 5: Monte Carlo Localisation. See course website for up to date information.

Voronoi Tracking: Location Estimation Using Sparse and Noisy Sensor Data

Spring Localization II. Roland Siegwart, Margarita Chli, Martin Rufli. ASL Autonomous Systems Lab. Autonomous Mobile Robots

COS Lecture 13 Autonomous Robot Navigation

Revising Stereo Vision Maps in Particle Filter Based SLAM using Localisation Confidence and Sample History

Probabilistic Robotics

Robot Mapping. Graph-Based SLAM with Landmarks. Cyrill Stachniss

Introduction to Mobile Robotics

Introduction to Mobile Robotics

Artificial Intelligence for Robotics: A Brief Summary

Monte Carlo Localization

Multiple Target Tracking For Mobile Robots Using the JPDAF Algorithm

Robust Monte Carlo Localization for Mobile Robots

Scan Matching. Pieter Abbeel UC Berkeley EECS. Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics

CAMERA POSE ESTIMATION OF RGB-D SENSORS USING PARTICLE FILTERING

Visual Bearing-Only Simultaneous Localization and Mapping with Improved Feature Matching

Advanced Techniques for Mobile Robotics Graph-based SLAM using Least Squares. Wolfram Burgard, Cyrill Stachniss, Kai Arras, Maren Bennewitz

Introduction to Mobile Robotics. SLAM: Simultaneous Localization and Mapping

Monte Carlo Localization for Mobile Robots

7630 Autonomous Robotics Probabilities for Robotics

Localization and Map Building

NERC Gazebo simulation implementation

Particle Attraction Localisation

Using Artificial Landmarks to Reduce the Ambiguity in the Environment of a Mobile Robot

Particle Filters for Visual Tracking

Simultaneous Localization and Mapping! SLAM

Introduction to robot algorithms CSE 410/510

CSE 490R P1 - Localization using Particle Filters Due date: Sun, Jan 28-11:59 PM

EE565:Mobile Robotics Lecture 3

IN recent years, NASA s Mars Exploration Rovers (MERs)

Voronoi Tracking: Location Estimation Using Sparse and Noisy Sensor Data

PROGRAMA DE CURSO. Robotics, Sensing and Autonomous Systems. SCT Auxiliar. Personal

ICRA 2016 Tutorial on SLAM. Graph-Based SLAM and Sparsity. Cyrill Stachniss

A Sample of Monte Carlo Methods in Robotics and Vision. Credits. Outline. Structure from Motion. without Correspondences

USING 3D DATA FOR MONTE CARLO LOCALIZATION IN COMPLEX INDOOR ENVIRONMENTS. Oliver Wulf, Bernardo Wagner

Tracking Multiple Moving Objects with a Mobile Robot

Robot Mapping. Least Squares Approach to SLAM. Cyrill Stachniss

Graphbased. Kalman filter. Particle filter. Three Main SLAM Paradigms. Robot Mapping. Least Squares Approach to SLAM. Least Squares in General

Where s the Boss? : Monte Carlo Localization for an Autonomous Ground Vehicle using an Aerial Lidar Map

AUTONOMOUS SYSTEMS. LOCALIZATION, MAPPING & SIMULTANEOUS LOCALIZATION AND MAPPING Part V Mapping & Occupancy Grid Mapping

Robotics. Chapter 25. Chapter 25 1

arxiv: v1 [cs.ro] 18 Jul 2016

Mobile Robotics. Mathematics, Models, and Methods. HI Cambridge. Alonzo Kelly. Carnegie Mellon University UNIVERSITY PRESS

Evaluation of Moving Object Tracking Techniques for Video Surveillance Applications

Fast Randomized Planner for SLAM Automation

Localization, Mapping and Exploration with Multiple Robots. Dr. Daisy Tang

Real Time Data Association for FastSLAM

Active Monte Carlo Recognition

Humanoid Robotics. Least Squares. Maren Bennewitz

THE classical approach to multiple target tracking (MTT) is

Robust Monte-Carlo Localization using Adaptive Likelihood Models

Passive Differential Matched-field Depth Estimation of Moving Acoustic Sources

Simultaneous Learning of Motion and Sensor Model Parameters for Mobile Robots

Navigation methods and systems

Markov Localization for Mobile Robots in Dynaic Environments

Time Series Analysis by State Space Methods

Efficient particle filter algorithm for ultrasonic sensor based 2D range-only SLAM application

AN IMPROVED PARTICLE FILTER ALGORITHM BASED ON NEURAL NETWORK FOR TARGET TRACKING

Implementation of Odometry with EKF for Localization of Hector SLAM Method

Particle Filter for Robot Localization ECE 478 Homework #1

Segmentation and Tracking of Partial Planar Templates

Transcription:

L10. PARTICLE FILTERING CONTINUED NA568 Mobile Robotics: Methods & Algorithms

Gaussian Filters The Kalman filter and its variants can only model (unimodal) Gaussian distributions Courtesy: K. Arras

Motivation Goal: approach for dealing with arbitrary distributions Courtesy: Cyrill Stachniss

Key Idea: Samples Use multiple samples to represent arbitrary distributions samples Courtesy: Cyrill Stachniss

Particle Set Set of weighted samples state hypothesis importance weight The samples represent the posterior Courtesy: Cyrill Stachniss

Particles for Approximation Particles for function approximation The more particles fall into a region, the higher the probability of the region How to obtain such samples? Courtesy: Cyrill Stachniss

Closed Form Sampling is Only Possible for a Few Distributions Example: Gaussian How to sample from other distributions? Courtesy: Cyrill Stachniss

Importance Sampling Principle We can use a different distribution q to generate samples from p Account for the differences between q and p using a weight w = p / q target p proposal q Pre-condition: p(x)>0 q(x)>0 Courtesy: Cyrill Stachniss 8

Particle Filter Recursive Bayes filter Non-parametric approach Models the distribution by samples Prediction: draw from the proposal Correction: weighting by the ratio of target and proposal The more samples we use, the better the estimate! Courtesy: Cyrill Stachniss

Sequential Importance Sampling (SIS) Algorithm

Degeneracy Problem Ideally, the importance density q(. ) should be the posterior itself, i.e., For the assumed factored form below, it has been shown that the variance of the importance weights can only increase over time. In practical terms, all but one particle will eventually have negligible weight after a fixed number of time steps Effectively, a large computational effort is devoted to updating particles whose contribution to the approximation p(x k z 1:k ) is almost zero A. Doucet, S. Godsill, and C. Andrieu, On sequential Monte Carlo sampling methods for Bayesian filtering, Statistics and Computing, vol. 10, no. 3, pp. 197-208, 2000.

Resampling Resampling eliminates particles with low weights and multiplies particles with high weights Maps random measure {x ki, w ki } to {x k i*, 1/N} Sample with replacement such that P(x k i* = x ki ) = w k i uniform

Resampling w N-1 w N w 1 w 2 w N-1 w N w 1 w 2 w 3 w 3 Roulette wheel Binary search, O(N log N) Stochastic universal sampling Systematic resampling Linear time complexity, O(N) Easy to implement, low variance

Low-Variance Resampling Algorithm Algorithm systematic_resampling(s, N): 1. 1 S ' =, c1 = w 2. For i = 2 N Generate CDF i 3. c c + w i = i 1 1 4. u1 ~ U[0, N ], i = 1 Initialize threshold 5. For j =1 N Draw samples 6. While ( u j > c i ) Skip until next threshold reached 7. i = i +1 8. { i 1 S' = S' < x, N > } Insert 9. 1 u j+ 1 = u j + N Increment threshold 10. Return S Also called stochastic universal sampling

Idea behind low variance sampling 1/N u 1

Comments on Resampling Pros Reduces effects of degeneracy Cons Limits opportunity to parallelize implementation since all particles must be combined Particles with high importance weights are replicated. This leads to loss of diversity among particles, a.k.a. sample impoverishment Diversity of particle paths is reduced, any smoothed estimate based on particles paths degenerates

Trajectory Degeneracy Due to Resampling Implicitly, each particle represents a guess at the realization of the state sequence x 0:k k=0 k=1 k=2 A 0 A 0 A 0 B 0 B 0 B 0 C 0 C 0 C 0 D 0 D 0 C 1 Resampling step causes some particle lineages to die k=3 k=4 A 0 A 0 B 0 A 3 C 0 C 0 C 1 C 1 Trajectories can eventually collapse to a single source node k=5 k=6 A 0 A 0 A 3 A 3 C 0 A 5 C 1 C 1 k=7 A 0 A 3 A 5 C 1 k=8 A 0 A 3 A 5 A 7

Selection of Importance Density Selection of importance density q(. ) is the most critical issue in the design of a PF. The optimal importance density that minimizes the variance of the importance weights conditioned upon x i k-1 and z k is : This yields optimal A. Doucet, S. Godsill, and C. Andrieu, On sequential Monte Carlo sampling methods for Bayesian filtering, Statistics and Computing, vol. 10, no. 3, pp. 197-208, 2000.

Comments on Optimal Importance Density In order to use optimal importance function, one has to be able to: i) Sample from ii) Evaluate (up to a normalizing constant) In general, neither i) nor ii) is straightforward

Suboptimal Importance Density Most popular suboptimal choice is the transitional density This yields suboptimal

Comments on Suboptimal Importance Density Pros Importance weights can be easily evaluated Importance density can be easily sampled Cons With q opt, weights are computed before the particles are propagated to time k. This is not possible with the suboptimal transitional prior. State space is explored without any knowledge of the observation, hence filter can be inefficient

Particle Filter Algorithm (Sub-optimal version) Algorithm particle_filter( S t-1, u t-1, z t ): 1. S t 2. For i =1 n Generate new samples 3. Sample from using and 4. Compute importance weight 5. i η =η + w t Update normalization factor 6. For i i 7. w t = wt /η Normalize weights 8. Resample x t i* from the discrete distribution given by w t 9. Return =, η = 0 i =1 N

Particle Filter Algorithm (Sub-optimal version) Importance factor for x i t: draw x i t from p(x t x i t-1,u t-1 ) draw x i t-1 from Bel(x t-1 )

One Iteration of SIR PF likelihood weighted unweighted

Monte Carlo Localization Each particle is a pose (trajectory) hypothesis Proposal is the motion model Correction via the observation model Courtesy: Cyrill Stachniss

Particle Filter for Localization Courtesy: Cyrill Stachniss

Odometry Motion Model

Beacon Measurement Model IGNORE

Particle Filters

Sensor Information: Importance Sampling

Robot Motion

Sensor Information: Importance Sampling

Robot Motion

35 Global Localization Example

Motion Model Reminder Start

Proximity Sensor Model Reminder Laser sensor Sonar sensor

initialization Courtesy: Thrun, Burgard, Fox

observation Courtesy: Thrun, Burgard, Fox

resampling Courtesy: Thrun, Burgard, Fox

motion update Courtesy: Thrun, Burgard, Fox

measurement Courtesy: Thrun, Burgard, Fox

weight update Courtesy: Thrun, Burgard, Fox

resampling Courtesy: Thrun, Burgard, Fox

motion update Courtesy: Thrun, Burgard, Fox

measurement Courtesy: Thrun, Burgard, Fox

weight update Courtesy: Thrun, Burgard, Fox

resampling Courtesy: Thrun, Burgard, Fox

motion update Courtesy: Thrun, Burgard, Fox

measurement Courtesy: Thrun, Burgard, Fox

weight update Courtesy: Thrun, Burgard, Fox

resampling Courtesy: Thrun, Burgard, Fox

motion update Courtesy: Thrun, Burgard, Fox

measurement Courtesy: Thrun, Burgard, Fox

Importance Sampling with Resampling: Landmark Detection Example

Summary Particle Filters Particle filters are non-parametric, recursive Bayes filters Posterior is represented by a set of weighted samples Proposal to draw the samples for t+1 Weight to account for the differences between the proposal and the target Work well in low-dimensional spaces

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

Next Lecture EKF Feature-Based SLAM Read ProbRob Chapter 10 Smith, Self, Cheesemen: The paper that started it all Dissanayake: Convergence properties of EKF SLAM SLAM Tutorial I SLAM Tutorial II