Robot Mapping Features vs. Volumetric Maps Grid...

10
1 Robot Mapping Grid Maps Cyrill Stachniss 2 Features vs. Volumetric Maps Courtesy by E. Nebot 3 Features ! So far, we only used feature maps ! Natural choice for Kalman filter-based SLAM systems ! Compact representation ! Multiple feature observations improve the position estimate (EKF) 4 Grid Maps ! Discretize the world into cells ! Grid structure is rigid ! Each cell is assumed to be occupied or free space ! Non-parametric model ! Require substantial memory resources ! Does not rely on a feature detector

Transcript of Robot Mapping Features vs. Volumetric Maps Grid...

Page 1: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

1

Robot Mapping

Grid Maps

Cyrill Stachniss

2

Features vs. Volumetric Maps

Courtesy by E. Nebot

3

Features

!  So far, we only used feature maps !  Natural choice for Kalman filter-based

SLAM systems !  Compact representation !  Multiple feature observations improve

the position estimate (EKF)

4

Grid Maps

!  Discretize the world into cells !  Grid structure is rigid !  Each cell is assumed to be occupied or

free space !  Non-parametric model !  Require substantial memory resources !  Does not rely on a feature detector

Page 2: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

5

Example

6

Assumption 1

!  The area that corresponds to a cell is either completely free or occupied

free space

occupied space

7

Representation

!  Each cell is a binary random variable that models the occupancy

8

Occupancy Probability

!  Each cell is a binary random variable that models the occupancy

!  Cell is occupied !  Cell is not occupied !  No knowledge !  The state is assumed to be static

Page 3: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

9

Assumption 2

!  The cells (the random variables) are independent of each other

no dependency between the cells

10

Representation

!  The probability distribution of the map is given by the product over the cells

cell map

11

Representation

!  The probability distribution of the map is given by the product over the cells

example map (4-dim vector)

4 individual cells

12

Estimating a Map From Data

!  Given sensor data and the poses of the sensor, estimate the map

binary random variable

Binary Bayes filter (for a static state)

Page 4: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

13

Static State Binary Bayes Filter

14

Static State Binary Bayes Filter

15

Static State Binary Bayes Filter

16

Static State Binary Bayes Filter

Page 5: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

17

Static State Binary Bayes Filter

18

Static State Binary Bayes Filter

Do exactly the same for the opposite event:

19

Static State Binary Bayes Filter

!  By computing the ratio of both probabilities, we obtain:

20

Static State Binary Bayes Filter

!  By computing the ratio of both probabilities, we obtain:

Page 6: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

21

Static State Binary Bayes Filter

!  By computing the ratio of both probabilities, we obtain:

22

Log Odds Notation

!  Log odds ratio is defined as

!  and with the ability to retrieve

23

Occupancy Mapping in Log Odds Form !  The product turns into a sum

!  or in short

24

Occupancy Mapping Algorithm

highly efficient, only requires to compute sums

Page 7: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

25

Occupancy Grid Mapping

!  Developed in the mid 80’ies by Moravec and Elfes

!  Originally developed for noisy sonars !  Also called “mapping with know poses”

26

Inverse Sensor Model for Sonars Range Sensors

In the following, consider the cells along the optical axis (red line)

27

Occupancy Value Depending on the Measured Distance

z+d1 z+d2

z+d3 z

z-d1

measured dist.

prior

distance between the cell and the sensor 28

z+d1 z+d2

z+d3 z

z-d1

Occupancy Value Depending on the Measured Distance

measured dist.

prior “free”

distance between the cell and the sensor

Page 8: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

29

z+d1 z+d2

z+d3 z

z-d1

Occupancy Value Depending on the Measured Distance

distance between the cell and the sensor

measured dist.

prior

“occ”

30

Occupancy Value Depending on the Measured Distance

z+d1 z+d2

z+d3 z

z-d1

measured dist.

prior “no info”

distance between the cell and the sensor

31

Example: Incremental Updating of Occupancy Grids

32

Resulting Map Obtained with Ultrasound Sensors

Page 9: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

33

Resulting Occupancy and Maximum Likelihood Map

The maximum likelihood map is obtained by rounding the probability for each cell to 0 or 1.

34

Inverse Sensor Model for Laser Range Finders

35

Occupancy Grids From Laser Scans to Maps

36

Example: MIT CSAIL 3rd Floor

Page 10: Robot Mapping Features vs. Volumetric Maps Grid Mapsais.informatik.uni-freiburg.de/.../pdf/slam11-gridmaps-4.pdf · 2012. 12. 10. · Grid Maps Cyrill Stachniss 2 Features vs. Volumetric

37

Uni Freiburg Building 106

38

Summary

!  Occupancy grid maps discretize the space into independent cells

!  Each cell is a binary random variable estimating if the cell is occupied

!  Static state binary Bayes filter per cell !  Mapping with known poses is easy !  Log odds model is fast to compute !  No need for predefined features

39

Literature

Static state binary Bayes filter !  Thrun et al.: “Probabilistic Robotics”,

Chapter 4.2 Occupancy Grid Mapping !  Thrun et al.: “Probabilistic Robotics”,

Chapter 9.1+9.2