EE565:Mobile Robotics Lecture 3

Similar documents
CSE-571 Robotics. Sensors for Mobile Robots. Beam-based Sensor Model. Proximity Sensors. Probabilistic Sensor Models. Beam-based Scan-based Landmarks

Probabilistic Robotics

Introduction to Mobile Robotics Probabilistic Motion Models

EE565:Mobile Robotics Lecture 2

SLAM: Robotic Simultaneous Location and Mapping

Practical Course WS12/13 Introduction to Monte Carlo Localization

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

Outline Sensors. EE Sensors. H.I. Bozma. Electric Electronic Engineering Bogazici University. December 13, 2017

Localization and Map Building

Localization, Where am I?

Probabilistic Robotics

Statistical Techniques in Robotics (16-831, F12) Lecture#05 (Wednesday, September 12) Mapping

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

Motion Models (cont) 1 3/15/2018

E80. Experimental Engineering. Lecture 9 Inertial Measurement

Zürich. Roland Siegwart Margarita Chli Martin Rufli Davide Scaramuzza. ETH Master Course: L Autonomous Mobile Robots Summary

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

Final Exam Practice Fall Semester, 2012

This chapter explains two techniques which are frequently used throughout

DD2426 Robotics and Autonomous Systems Lecture 4: Robot Sensors and Perception

Statistical Techniques in Robotics (STR, S15) Lecture#05 (Monday, January 26) Lecturer: Byron Boots

Statistical Techniques in Robotics (16-831, F10) Lecture#06(Thursday September 11) Occupancy Maps

MTRX4700: Experimental Robotics

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

Localization and Map Building

Camera Drones Lecture 2 Control and Sensors

Robotics. Chapter 25. Chapter 25 1

Collaboration is encouraged among small groups (e.g., 2-3 students).

Sensor Modalities. Sensor modality: Different modalities:

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

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

Robotics and Autonomous Systems

Robotics and Autonomous Systems

DEALING WITH SENSOR ERRORS IN SCAN MATCHING FOR SIMULTANEOUS LOCALIZATION AND MAPPING

Exam in DD2426 Robotics and Autonomous Systems

The Internet of Things: Roadmap to a Connected World. IoT and Localization

ME 597/747 Autonomous Mobile Robots. Mid Term Exam. Duration: 2 hour Total Marks: 100

ROBOTICS AND AUTONOMOUS SYSTEMS

Sensor Models / Occupancy Mapping / Density Mapping

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

Data Association for SLAM

Probabilistic Robotics

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

Simultaneous Localization and Mapping (SLAM)

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

CS283: Robotics Fall 2016: Sensors

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

Navigational Aids 1 st Semester/2007/TF 7:30 PM -9:00 PM

EE631 Cooperating Autonomous Mobile Robots

Improving autonomous orchard vehicle trajectory tracking performance via slippage compensation

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

CAMERA POSE ESTIMATION OF RGB-D SENSORS USING PARTICLE FILTERING

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

Motion Models (cont) 1 2/17/2017

PATENT LIABILITY ANALYSIS. Daniel Barrett Sebastian Hening Sandunmalee Abeyratne Anthony Myers

NAVIGATION SYSTEM OF AN OUTDOOR SERVICE ROBOT WITH HYBRID LOCOMOTION SYSTEM

Uncertainties: Representation and Propagation & Line Extraction from Range data

7630 Autonomous Robotics Probabilities for Robotics

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

Simultaneous Localization

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

3D Scanning. Qixing Huang Feb. 9 th Slide Credit: Yasutaka Furukawa

Encoder applications. I Most common use case: Combination with motors

ECGR4161/5196 Lecture 6 June 9, 2011

Localization of Multiple Robots with Simple Sensors

Autonomous Mobile Robot Design

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

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

Satellite Attitude Determination

Lecture 15: Segmentation (Edge Based, Hough Transform)

Robotics. Haslum COMP3620/6320

ODOMETRY CORRECTION OF A MOBILE ROBOT USING A RANGE-FINDING LASER. A Thesis Presented to the Graduate School of Clemson University

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

Robot Localization based on Geo-referenced Images and G raphic Methods

Monte Carlo Localization

Robust Monte-Carlo Localization using Adaptive Likelihood Models

Pedestrian Detection Using Multi-layer LIDAR

Humanoid Robotics. Monte Carlo Localization. Maren Bennewitz

Lecture 2. Reactive and Deliberative Intelligence and Behavior. Lecture Outline

Multiple Model Estimation : The EM Algorithm & Applications

Robotics (Kinematics) Winter 1393 Bonab University

Sensor technology for mobile robots

Particle Filter Tutorial. Carlos Esteves and Daphne Ippolito. Introduction. Prediction. Update. Resample. November 3, 2016

Construction and Calibration of a Low-Cost 3D Laser Scanner with 360º Field of View for Mobile Robots

Perception: Sensors. Autonomous Mobile Robots. Davide Scaramuzza Margarita Chli, Paul Furgale, Marco Hutter, Roland Siegwart

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

EE-565-Lab2. Dr. Ahmad Kamal Nasir

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

MAPPING ALGORITHM FOR AUTONOMOUS NAVIGATION OF LAWN MOWER USING SICK LASER

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

3D scanning. 3D scanning is a family of technologies created as a means of automatic measurement of geometric properties of objects.

Mobile Robots Locomotion & Sensors

High Accuracy Navigation Using Laser Range Sensors in Outdoor Applications

Markov Localization for Mobile Robots in Dynaic Environments

Mobile Robots: An Introduction.

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

THE UNIVERSITY OF AUCKLAND

DYNAMIC POSITIONING OF A MOBILE ROBOT USING A LASER-BASED GONIOMETER. Joaquim A. Batlle*, Josep Maria Font*, Josep Escoda**

W4. Perception & Situation Awareness & Decision making

Modeling, Parameter Estimation, and Navigation of Indoor Quadrotor Robots

Transcription:

EE565:Mobile Robotics Lecture 3 Welcome Dr. Ahmad Kamal Nasir

Today s Objectives Motion Models Velocity based model (Dead-Reckoning) Odometry based model (Wheel Encoders) Sensor Models Beam model of range finders Feature based sensor models Camera Laser scanner Kinect

Robot Motion Robot motion is inherently uncertain. How can we model this uncertainty?

Dynamic Bayesian Network for Controls, States, and Sensations

Probabilistic Motion Models To implement the Bayes Filter, we need the transition model p(x x, u). The term p(x x, u) specifies a posterior probability, that action u carries the robot from x to x. In this section we will specify, how p(x x, u) can be modeled based on the motion equations.

Coordinate Systems In general the configuration of a robot can be described by six parameters. Three-dimensional Cartesian coordinates plus three Euler angles pitch, roll, and tilt. Throughout this section, we consider robots operating on a planar surface. The state space of such systems is three-dimensional (x,y,).

Typical Motion Models In practice, one often finds two types of motion models: Odometry-based Velocity-based (dead reckoning) Odometry-based models are used when systems are equipped with wheel encoders. Velocity-based models have to be applied when no wheel encoders are given. They calculate the new pose based on the velocities and the time elapsed.

Dead Reckoning Derived from deduced reckoning. Mathematical procedure for determining the present location of a vehicle. Achieved by calculating the current pose of the vehicle based on its velocities and the time elapsed.

Reasons for Motion Errors ideal case different wheel diameters bump carpet and many more

Wheel Encoders A pair of encoders is used on a single shaft. The encoders are aligned so that their two data streams are one quarter cycle (90 deg.) out of phase. Which direction is shaft moving? Suppose the encoders were previously at the position highlighted by the dark band; i.e., Encoder A as 1 and Encoder B as 0. The next time the encoders are checked: If they moved to the position AB=00, the position count is incremented If they moved to the position AB=11, the position count is decremented

Odometry Model Robot moves from x, y, to x', y', ' Odometry information u.,, rot1 rot2 trans trans 2 ( x' x) ( y' y atan2( y' y, x' ) rot1 x rot2 ' rot1 ) 2 rot2 x', y', ' x, y, rot1 trans

The atan2 Function Extends the inverse tangent and correctly copes with the signs of x and y.

Noise Model for Odometry The measured motion is given by the true motion corrupted with noise. ˆ ˆ ˆ rot1 rot1 1 rot1 2 trans trans rot2 rot2 1 rot2 2 trans 3 trans 4 rot1 rot2 trans

Typical Distributions for Probabilistic Motion Models Normal distribution Triangular distribution 1 x 1 2 2 2 ( x) e 2 2 2 2 ( x) 0 if x 2 6 2 6 2 6 x

How to Sample from Normal or Triangular Distributions? Sampling from a normal distribution 1. Algorithm sample_normal_distribution(b): 2. return Sampling from a triangular distribution 1. Algorithm sample_triangular_distribution(b): 2. return

Normally/Triangular Distributed Samples 10 6 samples

Calculating the Posterior Given x, x, and u 1. Algorithm motion_model_odometry(x,x,u) 2. 3. 4. 5. 6. 7. 8. 9. 10. 2 2 trans ( x' x) ( y' y) rot 1 atan2( y' y, x' x) rot2 ' rot1 ˆ 2 2 trans ( x' x) ( y' y) ˆ rot 1 atan2( y' y, x' x) ˆ ˆ rot2 ' rot 1 p prob( ˆ, ˆ rot1 rot1 1 rot1 p prob( ˆ, ˆ trans trans 3 p prob( ˆ, ˆ 1 ˆ 2 trans ) ( ˆ 4 rot1 ˆ ) 2 trans rot2 3 rot2 rot2 1 rot2 2 trans 11. return p 1 p 2 p 3 odometry values (u) values of interest (x,x ) ˆ ))

Application Repeated application of the sensor model for short movements. Typical banana-shaped distributions obtained for 2dprojection of 3d posterior. p(x u,x ) x u x u

Examples (Odometry-Based)

Velocity-Based Model

Posterior Probability for Velocity Model

Examples (velocity based)

Map-Consistent Motion Model p( x u, x') p( x u, x', m) Approximation: p( x u, x', m) p( x m) p( x u, x')

Sensors for Mobile Robots Contact sensors: Bumpers Internal sensors Accelerometers (spring-mounted masses) Gyroscopes (spinning mass, laser light) Compasses, inclinometers (earth magnetic field, gravity) Proximity sensors Sonar (time of flight) Radar (phase and frequency) Laser range-finders (triangulation, tof, phase) Infrared (intensity) Visual sensors: Cameras Satellite-based sensors: GPS

Proximity Sensors The central task is to determine P(z x), i.e., the probability of a measurement z given that the robot is at position x. Question: Where do the probabilities come from? Approach: Let s try to explain a measurement.

Beam-based Sensor Model Scan z consists of K measurements. z z, z,..., z } { 1 2 K Individual measurements are independent given the robot position. P( z x, m) K k1 P( z k x, m)

Beam-based Sensor Model P( z x, m) K k1 P( z k x, m)

Typical Measurement Errors of an Range Measurements 1. Beams reflected by obstacles 2. Beams reflected by persons / caused by crosstalk 3. Random measurements 4. Maximum range measurements

Proximity Measurement Measurement can be caused by a known obstacle. cross-talk. an unexpected obstacle (people, furniture, ). missing all obstacles (total reflection, glass, ). Noise is due to uncertainty in measuring distance to known obstacle. in position of known obstacles. in position of additional obstacles. whether obstacle is missed.

Beam-based Proximity Model Measurement noise Unexpected obstacles 0 z exp z max 0 z exp z max P hit ( z x, m) 1 2b e 1 ( zz 2 b 2 exp ) P unexp ( z x, m) e 0 z z z exp otherwise

Beam-based Proximity Model Random measurement Max range 0 z exp z max 0 z exp z max P rand ( z 1 x, m) z max P max ( z x, m) 1 z small

Resulting Mixture Density ), ( ), ( ), ( ), ( ), ( rand max unexp hit rand max unexp hit m x z P m x z P m x z P m x z P m x z P T How can we determine the model parameters?

Approximation Results Laser Sonar 300cm 400cm

Approximation Results Laser Sonar

Example z P(z x,m)

San Jose Tech Museum Occupancy grid map Likelihood field

Landmarks Active beacons (e.g., radio, GPS) Passive (e.g., visual, retro-reflective) Standard approach is triangulation Sensor provides distance, or bearing, or distance and bearing.

Distance and Bearing

Probabilistic Model 2 2 ) ) ( ( ) ) ( ( ˆ y i m x i m d y x ), prob( ˆ ), prob( ˆ det d d d p,,,,, y x x d i z ) ) (, ) ( atan2( ˆ x i m y i m a x y ), uniform ( fp det det m x z P z p z

Distributions

Laser Scanner Features (Line) n n α = 1 2 atan2( 2 y y i x x i, i=0 i=0 r = x cos α + y sin α y y i 2 x x i 2 ) ρ cos θ α r = 0 P αr = σ α 2 σ αr σ rα σ r 2 σ α 2 = σ r 2 = σ αr = σ rα = n i=0 n i=0 n i=0 α ρ i r ρ i 2 2 σ2 ρi σ2 ρi α r ρ i ρ i 2 σ ρi 01 Feb 2016 Dr. -Ing. Ahmad Kamal Nasir

2D Geometric Feature based Map

Kinect Features (Plane) p x sin θ cos φ + p y sin θ sin φ + p z cos θ = ρ Do until DetectedPlanes < 8 and TotalPoints > MinPoints Randomly select (P 1, P 2, P 3 ) from a random circular region Calculate plane from (P 1, P 2, P 3 ) Transform the Calculate plane from R 3 to Hough space If local maxima is found in Hough space Delete points corresponding to plane from input points Calculate plane boundries Reset Hough space End if End Do

3D Geometric Feature based Map

Summary of Sensor Models Explicitly modeling uncertainty in sensing is key to robustness. In many cases, good models can be found by the following approach: 1. Determine parametric model of noise free measurement. 2. Analyze sources of noise. 3. Add adequate noise to parameters (eventually mix in densities for noise). 4. Learn (and verify) parameters by fitting model to data. 5. Likelihood of measurement is given by probabilistically comparing the actual with the expected measurement. This holds for motion models as well. It is extremely important to be aware of the underlying assumptions!

Summary Motion Models Velocity based model (Dead-Reckoning) Odometry based model (Wheel Encoders) Sensor Models Beam model of range finders Feature based sensor models Camera Laser scanner Kinect

Questions