Introduction to Mobile Robotics Bayes Filter Implementations Gaussian filters.

Slides:



Advertisements
Similar presentations
Mobile Robot Localization and Mapping using the Kalman Filter
Advertisements

EKF, UKF TexPoint fonts used in EMF.
Probabilistic Robotics SLAM. 2 Given: The robot’s controls Observations of nearby features Estimate: Map of features Path of the robot The SLAM Problem.
Robot Localization Using Bayesian Methods
Markov Localization & Bayes Filtering 1 with Kalman Filters Discrete Filters Particle Filters Slides adapted from Thrun et al., Probabilistic Robotics.
Observers and Kalman Filters
Kalman Filter CMPUT 615 Nilanjan Ray. What is Kalman Filter A sequential state estimator for some special cases Invented in 1960’s Still very much used.
Probabilistic Robotics Bayes Filter Implementations Particle filters.
Recursive Bayes Filtering Advanced AI
Probabilistic Robotics: Kalman Filters
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
Introduction to Kalman Filter and SLAM Ting-Wei Hsu 08/10/30.
CS 547: Sensing and Planning in Robotics Gaurav S. Sukhatme Computer Science Robotic Embedded Systems Laboratory University of Southern California
SLAM: Simultaneous Localization and Mapping: Part I Chang Young Kim These slides are based on: Probabilistic Robotics, S. Thrun, W. Burgard, D. Fox, MIT.
Probabilistic Robotics: Motion Model/EKF Localization
Probabilistic Robotics
Probabilistic Robotics: Review/SLAM
Probabilistic Robotics Bayes Filter Implementations Particle filters.
Stanford CS223B Computer Vision, Winter 2007 Lecture 12 Tracking Motion Professors Sebastian Thrun and Jana Košecká CAs: Vaibhav Vaish and David Stavens.
Estimation and the Kalman Filter David Johnson. The Mean of a Discrete Distribution “I have more legs than average”
Course AE4-T40 Lecture 5: Control Apllication
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
© 2003 by Davi GeigerComputer Vision November 2003 L1.1 Tracking We are given a contour   with coordinates   ={x 1, x 2, …, x N } at the initial frame.
Kalman Filtering Pieter Abbeel UC Berkeley EECS Many slides adapted from Thrun, Burgard and Fox, Probabilistic Robotics TexPoint fonts used in EMF. Read.
Overview and Mathematics Bjoern Griesbach
Bayesian Filtering Dieter Fox Probabilistic Robotics Key idea: Explicit representation of uncertainty (using the calculus of probability theory) Perception.
ROBOT MAPPING AND EKF SLAM
Slam is a State Estimation Problem. Predicted belief corrected belief.
EKF and UKF Day EKF and RoboCup Soccer simulation of localization using EKF and 6 landmarks (with known correspondences) robot travels in a circular.
Bayesian Filtering for Robot Localization
Kalman filter and SLAM problem
Muhammad Moeen YaqoobPage 1 Moment-Matching Trackers for Difficult Targets Muhammad Moeen Yaqoob Supervisor: Professor Richard Vinter.
Markov Localization & Bayes Filtering
Lecture 11: Kalman Filters CS 344R: Robotics Benjamin Kuipers.
Computer vision: models, learning and inference Chapter 19 Temporal models.
From Bayesian Filtering to Particle Filters Dieter Fox University of Washington Joint work with W. Burgard, F. Dellaert, C. Kwok, S. Thrun.
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 6.2: Kalman Filter Jürgen Sturm Technische Universität München.
Computer vision: models, learning and inference Chapter 19 Temporal models.
Probabilistic Robotics Robot Localization. 2 Localization Given Map of the environment. Sequence of sensor measurements. Wanted Estimate of the robot’s.
Kalman Filter (Thu) Joon Shik Kim Computational Models of Intelligence.
Complete Pose Determination for Low Altitude Unmanned Aerial Vehicle Using Stereo Vision Luke K. Wang, Shan-Chih Hsieh, Eden C.-W. Hsueh 1 Fei-Bin Hsaio.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Probabilistic Robotics Bayes Filter Implementations.
Young Ki Baik, Computer Vision Lab.
Particle Filters.
Karman filter and attitude estimation Lin Zhong ELEC424, Fall 2010.
HQ U.S. Air Force Academy I n t e g r i t y - S e r v i c e - E x c e l l e n c e Improving the Performance of Out-of-Order Sigma-Point Kalman Filters.
Mobile Robot Localization (ch. 7)
1 Assignment, Project and Presentation Mobile Robot Localization by using Particle Filter by Chong Wang, Chong Fu, and Guanghui Luo. Tracking, Mapping.
NCAF Manchester July 2000 Graham Hesketh Information Engineering Group Rolls-Royce Strategic Research Centre.
Unscented Kalman Filter 1. 2 Linearization via Unscented Transform EKF UKF.
An Introduction To The Kalman Filter By, Santhosh Kumar.
State Estimation and Kalman Filtering Zeeshan Ali Sayyed.
Tracking with dynamics
Extended Kalman Filter
Nonlinear State Estimation
The Unscented Kalman Filter for Nonlinear Estimation Young Ki Baik.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Tracking We are given a contour G1 with coordinates G1={x1 , x2 , … , xN} at the initial frame t=1, were the image is It=1 . We are interested in tracking.
Probabilistic Robotics
PSG College of Technology
Unscented Kalman Filter
Unscented Kalman Filter
Probabilistic Robotics
A Short Introduction to the Bayes Filter and Related Models
Unscented Kalman Filter
Bayes and Kalman Filter
Extended Kalman Filter
Extended Kalman Filter
Presentation transcript:

Introduction to Mobile Robotics Bayes Filter Implementations Gaussian filters

Prediction Correction Bayes Filter Reminder

Gaussians --   Univariate  Multivariate

Properties of Gaussians

We stay in the “Gaussian world” as long as we start with Gaussians and perform only linear transformations. Multivariate Gaussians

6 Discrete Kalman Filter Estimates the state x of a discrete-time controlled process that is governed by the linear stochastic difference equation with a measurement

7 Components of a Kalman Filter Matrix (nxn) that describes how the state evolves from t to t-1 without controls or noise. Matrix (nxl) that describes how the control u t changes the state from t to t-1. Matrix (kxn) that describes how to map the state x t to an observation z t. Random variables representing the process and measurement noise that are assumed to be independent and normally distributed with covariance R t and Q t respectively.

8 Kalman Filter Updates in 1D

9

Kalman Filter Updates

Linear Gaussian Systems: Initialization Initial belief is normally distributed:

Dynamics are linear function of state and control plus additive noise: Linear Gaussian Systems: Dynamics

Observations are linear function of state plus additive noise: Linear Gaussian Systems: Observations

Kalman Filter Algorithm 1. Algorithm Kalman_filter(  t-1,  t-1, u t, z t ): 2. Prediction: Correction: Return  t,  t

18 The Prediction-Correction-Cycle Prediction

19 The Prediction-Correction-Cycle Correction

20 The Prediction-Correction-Cycle Correction Prediction

Kalman Filter Summary Highly efficient: Polynomial in measurement dimensionality k and state dimensionality n: O(k n 2 ) Optimal for linear Gaussian systems! Most robotics systems are nonlinear!

Nonlinear Dynamic Systems Most realistic robotic problems involve nonlinear functions

Linearity Assumption Revisited

Non-linear Function

EKF Linearization (1)

EKF Linearization (2)

EKF Linearization (3)

Prediction: Correction: EKF Linearization: First Order Taylor Series Expansion

EKF Algorithm 1.Extended_Kalman_filter (  t-1,  t-1, u t, z t ): 2. Prediction: Correction: Return  t,  t

Localization Given Map of the environment. Sequence of sensor measurements. Wanted Estimate of the robot’s position. Problem classes Position tracking Global localization Kidnapped robot problem (recovery) “Using sensory information to locate the robot in its environment is the most fundamental problem to providing a mobile robot with autonomous capabilities.” [Cox ’91]

Landmark-based Localization

1.EKF_localization (  t-1,  t-1, u t, z t, m): Prediction: Motion noise Jacobian of g w.r.t location Predicted mean Predicted covariance Jacobian of g w.r.t control

1.EKF_localization (  t-1,  t-1, u t, z t, m): Correction: Predicted measurement mean Pred. measurement covariance Kalman gain Updated mean Updated covariance Jacobian of h w.r.t location

EKF Prediction Step

EKF Observation Prediction Step

EKF Correction Step

Estimation Sequence (1)

Estimation Sequence (2)

Comparison to GroundTruth

EKF Summary Highly efficient: Polynomial in measurement dimensionality k and state dimensionality n: O(k n 2 ) Not optimal! Can diverge if nonlinearities are large! Works surprisingly well even when all assumptions are violated!

Linearization via Unscented Transform EKF UKF

UKF Sigma-Point Estimate (2) EKF UKF

UKF Sigma-Point Estimate (3) EKF UKF

44 Unscented Transform Intuition f(…) Sample a 2N+1 set of points from an N dimensional Gaussian distribution For each sample compute its mapping via f() Recover a Gaussian approximation from the samples

Unscented Transform Sigma points Weights Pass sigma points through nonlinear function Recover mean and covariance

46 Unscented Prediction g(x t-1,u t-1 ) x t-1 u t-1 Construct a N+M dimensional Gaussian from the from the previous state distribution and the controls For each of the 2(N+M)+1 samples (i), compute its mapping via g(x,u) Recover a Gaussian approximation from the samples

UKF_localization (  t-1,  t-1, u t, z t, m): Prediction: Motion noise Measurement noise Augmented state mean Augmented covariance Sigma points Prediction of sigma points Predicted mean Predicted covariance

48 Unscented Correction h(x t ) Sample from the predicted state and the observation noise, to obtain the expected measurement R Compute the cross correlation matrix of measurements and states, and perform a Kalman update.

UKF_localization (  t-1,  t-1, u t, z t, m): Correction: Measurement sigma points Predicted measurement mean Pred. measurement covariance Cross-covariance Kalman gain Updated mean Updated covariance

1.EKF_localization (  t-1,  t-1, u t, z t, m): Correction: Predicted measurement mean Pred. measurement covariance Kalman gain Updated mean Updated covariance Jacobian of h w.r.t location

UKF Prediction Step

UKF Observation Prediction Step

UKF Correction Step

EKF Correction Step

Estimation Sequence EKF PF UKF

Estimation Sequence EKF UKF

Prediction Quality EKF UKF

58 UKF Summary Highly efficient: Same complexity as EKF, with a constant factor slower in typical practical applications Better linearization than EKF: Accurate in first two terms of Taylor expansion (EKF only first term) Derivative-free: No Jacobians needed Still not optimal!

[Arras et al. 98]: Laser range-finder and vision High precision (<1cm accuracy) Kalman Filter-based System Courtesy of K. Arras

Multi- hypothesis Tracking

Belief is represented by multiple hypotheses Each hypothesis is tracked by a Kalman filter Additional problems: Data association: Which observation corresponds to which hypothesis? Hypothesis management: When to add / delete hypotheses? Huge body of literature on target tracking, motion correspondence etc. Localization With MHT

Hypotheses are extracted from LRF scans Each hypothesis has probability of being the correct one: Hypothesis probability is computed using Bayes’ rule Hypotheses with low probability are deleted. New candidates are extracted from LRF scans. MHT: Implemented System (1) [Jensfelt et al. ’00]

MHT: Implemented System (2) Courtesy of P. Jensfelt and S. Kristensen

MHT: Implemented System (3) Example run Map and trajectory # hypotheses #hypotheses vs. time P(H best ) Courtesy of P. Jensfelt and S. Kristensen