Using Sensor Data Effectively

Slides:



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

Probabilistic Reasoning over Time
EKF, UKF TexPoint fonts used in EMF.
Robot Localization Using Bayesian Methods
Observers and Kalman Filters
Introduction to Mobile Robotics Bayes Filter Implementations Gaussian filters.
Kalman’s Beautiful Filter (an introduction) George Kantor presented to Sensor Based Planning Lab Carnegie Mellon University December 8, 2000.
Probabilistic Robotics: Kalman Filters
Adam Rachmielowski 615 Project: Real-time monocular vision-based SLAM.
Introduction to Kalman Filter and SLAM Ting-Wei Hsu 08/10/30.
Discriminative Training of Kalman Filters P. Abbeel, A. Coates, M
Particle Filters for Mobile Robot Localization 11/24/2006 Aliakbar Gorji Roborics Instructor: Dr. Shiri Amirkabir University of Technology.
Probabilistic Robotics: Motion Model/EKF Localization
Probabilistic Robotics
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.
Overview and Mathematics Bjoern Griesbach
Particle Filtering. Sensors and Uncertainty Real world sensors are noisy and suffer from missing data (e.g., occlusions, GPS blackouts) Use sensor models.
ROBOT MAPPING AND EKF SLAM
Slam is a State Estimation Problem. Predicted belief corrected belief.
Kalman filter and SLAM problem
/09/dji-phantom-crashes-into- canadian-lake/
Computer Vision Group Prof. Daniel Cremers Autonomous Navigation for Flying Robots Lecture 6.2: Kalman Filter Jürgen Sturm Technische Universität München.
3D SLAM for Omni-directional Camera
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.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Probabilistic Robotics Bayes Filter Implementations.
Young Ki Baik, Computer Vision Lab.
Karman filter and attitude estimation Lin Zhong ELEC424, Fall 2010.
Processing Sequential Sensor Data The “John Krumm perspective” Thomas Plötz November 29 th, 2011.
Real-Time Simultaneous Localization and Mapping with a Single Camera (Mono SLAM) Young Ki Baik Computer Vision Lab. Seoul National University.
State Estimation and Kalman Filtering
Working with the robot_localization Package
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.
Autonomous Navigation for Flying Robots Lecture 6.3: EKF Example
An Introduction To The Kalman Filter By, Santhosh Kumar.
Particle Filtering. Sensors and Uncertainty Real world sensors are noisy and suffer from missing data (e.g., occlusions, GPS blackouts) Use dynamics models.
Optimizing Attitude Determination for Sun Devil Satellite – 1
State Estimation and Kalman Filtering Zeeshan Ali Sayyed.
Tracking with dynamics
By: Aaron Dyreson Supervising Professor: Dr. Ioannis Schizas
Extended Kalman Filter
Nonlinear State Estimation
Cameron Rowe.  Introduction  Purpose  Implementation  Simple Example Problem  Extended Kalman Filters  Conclusion  Real World Examples.
Particle Filtering. Sensors and Uncertainty Real world sensors are noisy and suffer from missing data (e.g., occlusions, GPS blackouts) Use sensor models.
The Unscented Kalman Filter for Nonlinear Estimation Young Ki Baik.
Robust Localization Kalman Filter & LADAR Scans
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
Probabilistic Robotics Bayes Filter Implementations Gaussian filters.
ASEN 5070: Statistical Orbit Determination I Fall 2014
PSG College of Technology
Kalman’s Beautiful Filter (an introduction)
Unscented Kalman Filter
Unscented Kalman Filter
Simultaneous Localization and Mapping
Probabilistic Robotics
Lecture 10: Observers and Kalman Filters
Dongwook Kim, Beomjun Kim, Taeyoung Chung, and Kyongsu Yi
Kalman Filter فيلتر كالمن در سال 1960 توسط R.E.Kalman در مقاله اي تحت عنوان زير معرفي شد. “A new approach to liner filtering & prediction problem” Transactions.
Particle Filtering.
Motion Models (cont) 2/16/2019.
Probabilistic Map Based Localization
Unscented Kalman Filter
Bayes and Kalman Filter
Extended Kalman Filter
Kalman Filtering COS 323.
Extended Kalman Filter
Presentation transcript:

Using Sensor Data Effectively A major challenge in mobile robotics is accurate localisation. Consider a robot with the following sensors: Inertial Measurement Unit (IMU) Camera Wheel Encoders Global Positioning Each has different noise properties. Localization

Sensor Noise State Time No noise, perfect signal 5% noise 20% noise Localization

Kalman Filter State Time True State Noisy Sensor Reading EKF Filtered Localization

Theory: Kalman Filter Provably optimal when noise is Gaussian distributed with zero mean. And the control and measurement models are linear. P(noise) noise Localization

Linear Control and Observation Control (transition) Model: Observation Model: Localization

Relating Control, Measurement and Noise Localization

Relating Control, Measurement and Noise Q and R are the covariance matricies that define the gaussian random variables epsilon and delta. Localization

Extended Kalman Filter The Kalman filter assumed linear relationships. In real systems the relationship may be non-linear. But we can take the derivative of the signal to linearize it. This is the extended Kalman filter. No longer optimal but works well. Localization

Sensor Fusion with Multiple States Recall the sensor measurement is: We would like to generalise this to multiple sensors with different kinds of states: For example, states might be yaw-angle, velocity, or position. Sensors might be IMU, encoders, or GPS. Localization

Sensor Fusion with Multiple States Recall the sensor measurement is: If we have three sensors with 2 different states we can write: With each row corresponding to a sensor and each column to a type of state. Localization

The EKF Algorithm Localization

Input previous state estimate The EKF Algorithm Localization

The EKF Algorithm Input previous state estimate Output an estimate for the current state Localization

Previous covariance The EKF Algorithm Localization

The EKF Algorithm Previous covariance … and the updated covariance matrix. Localization

Current Observation The EKF Algorithm Localization

The Kalman gain, , weights the sensor measurements according to, , the prediction covariance (noisiness). The EKF Algorithm Localization

The EKF Algorithm The new observation coefficient matrix depends on how good the previous one was. Localization

The EKF Algorithm Prediction Step Localization

The EKF Algorithm Prediction Step Correction Step Localization

Sensor Fusion Sensor 1: Higher Covariance Ground Truth Sensor 2: Lower Covariance EKF Fusion The EKF estimate is closer to the sensor with less noise. Localization home.wlu.edu/~levys/kalman_tutorial/

In Practice The EKF is a recursive function that calls itself at each time step to improve the robot state estimate. It weights sensor data by the variance they contribute to the state prediction. ROS has an EKF package to do all this for us* *Moore, Thomas, and Daniel Stouch. 2016. “A Generalized Extended Kalman Filter Implementation for the Robot Operating System.” In Intelligent Autonomous Systems 13, 335–48. Springer. Localization

EKF in ROS Two nodes: ekf_localization: EKF implementation Navsat node: sensor processing. Transforms latitude and longitude to the robots local frame. Localization

Navsat transform node EKF localization node Topic: fix Type: navsat/fix Topic: imu Type: imu Navsat transform node Topic: odom/navsat Type: odom with covariance Topic: odom Type: odom Wheel encoders GPS EKF localization node Topic: odom/ekf Type: odometry with covariance Localization

EKF Node Basic Configuration <rosparam param="odom0_config"> [true, true, false, false, false, false, false, false, true, false, false, false] </rosparam> x, y, z roll, pitch, yaw y velocity, y velocity, z velocity roll velocity, pitch velocity, yaw velocity x accel., y accel., z accel. <rosparam param="imu0_config"> [false, false, false, true, true, true, false, false, false, true, true, true] </rosparam> In ~/rover_workspace/launch/rover_name.launch Localization

EKF Node Basic Configuration Localization

EKF Node Basic Configuration Has to be tuned through experiment. Localization

In Practice Can set initial values for, , the prediction covariance matrix. Small initial values tell the Robot that the sensor has low noise. High values say that the sensor is noisy. Ideally the covariance is measured experimentally for each sensor. The initial value for can be the first sensor value. That is . Localization