localization david johnson cs6370. basic problem go from thisto this

40
Localization David Johnson cs6370

Post on 19-Dec-2015

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Localization David Johnson cs6370. Basic Problem Go from thisto this

Localization

David Johnson

cs6370

Page 2: Localization David Johnson cs6370. Basic Problem Go from thisto this

Basic Problem

• Go from this to this

Page 3: Localization David Johnson cs6370. Basic Problem Go from thisto this

[Thrun, Burgard & Fox (2005)]

Page 4: Localization David Johnson cs6370. Basic Problem Go from thisto this

Kalman Filter

[Thrun, Burgard & Fox (2005)]

Page 5: Localization David Johnson cs6370. Basic Problem Go from thisto this

Kalman Limitations

• Need initial state and confidence– Doesn’t solve global localization

• “kidnapped robot” problem

• Only tracks one hypothesis at a time– Similar landmarks confuse it

Page 6: Localization David Johnson cs6370. Basic Problem Go from thisto this

Global methods

• We have used PDFs and Kalman Filter to represent and update robot state in one position

• Global methods represent probability of robot state everywhere at once– Pick the peak as actual location

• Based on Bayes filter, Markov model– Tracks a belief “bel” about where it is

• Side note: there is a multi-hypothesis KF that tracks multiple Gaussians at once.

Page 7: Localization David Johnson cs6370. Basic Problem Go from thisto this

Markov Localization

[Thrun, Burgard & Fox (2005)]

Page 8: Localization David Johnson cs6370. Basic Problem Go from thisto this

Global Localization

• The research is how to efficiently represent the global belief

Page 9: Localization David Johnson cs6370. Basic Problem Go from thisto this

Grid Localization

• Developed out of Moravec’s occupancy maps for probabilistic mapping

Page 10: Localization David Johnson cs6370. Basic Problem Go from thisto this
Page 11: Localization David Johnson cs6370. Basic Problem Go from thisto this
Page 12: Localization David Johnson cs6370. Basic Problem Go from thisto this
Page 13: Localization David Johnson cs6370. Basic Problem Go from thisto this
Page 14: Localization David Johnson cs6370. Basic Problem Go from thisto this
Page 15: Localization David Johnson cs6370. Basic Problem Go from thisto this
Page 16: Localization David Johnson cs6370. Basic Problem Go from thisto this

Occupancy maps

• Only have to represent x,y location• Store probability that a cell is filled

– Threshold into definitely empty or filled• How is a mobile robot different?

Page 17: Localization David Johnson cs6370. Basic Problem Go from thisto this

Grid Localization

[Thrun, Burgard & Fox (2005)]

Page 18: Localization David Johnson cs6370. Basic Problem Go from thisto this

Grid Localization

[Thrun, Burgard & Fox (2005)]

Page 19: Localization David Johnson cs6370. Basic Problem Go from thisto this

Grid Localization

[Thrun, Burgard & Fox (2005)]

Page 20: Localization David Johnson cs6370. Basic Problem Go from thisto this

Grid Localization

[Thrun, Burgard & Fox (2005)]

Page 21: Localization David Johnson cs6370. Basic Problem Go from thisto this

Grid Localization

[Thrun, Burgard & Fox (2005)]

Page 22: Localization David Johnson cs6370. Basic Problem Go from thisto this

Grid Localization

[Thrun, Burgard & Fox (2005)]

Page 23: Localization David Johnson cs6370. Basic Problem Go from thisto this

Illustrative Example: Robot Localization

t=0

10Prob

Page 24: Localization David Johnson cs6370. Basic Problem Go from thisto this

Illustrative Example: Robot Localization

t=1

10Prob

Page 25: Localization David Johnson cs6370. Basic Problem Go from thisto this

Illustrative Example: Robot Localization

t=2

10Prob

Page 26: Localization David Johnson cs6370. Basic Problem Go from thisto this

Illustrative Example: Robot Localization

t=3

10Prob

Page 27: Localization David Johnson cs6370. Basic Problem Go from thisto this

Illustrative Example: Robot Localization

t=4

10Prob

Page 28: Localization David Johnson cs6370. Basic Problem Go from thisto this

Illustrative Example: Robot Localization

t=5

10Prob

1 2 3 4

Trajectory

Page 29: Localization David Johnson cs6370. Basic Problem Go from thisto this
Page 30: Localization David Johnson cs6370. Basic Problem Go from thisto this

Grid-based Localization

Page 31: Localization David Johnson cs6370. Basic Problem Go from thisto this

How do we get information to the cells?

• Pick closest obstacle– Precompute at each cell what the closest

obstacle should be and a confidence to add to the cell if a match is made.

• Only update confident cells– May cause loss of global property

• How to do motion model?– Gaussian blur of grid

Page 32: Localization David Johnson cs6370. Basic Problem Go from thisto this

• (Sequential) Monte Carlo filters

• Bootstrap filters• Condensation

• Interacting Particle Approximations

• Survival of the fittest

• …

Particle Filters

Page 33: Localization David Johnson cs6370. Basic Problem Go from thisto this

Representing Robot Location

X

Y

Page 34: Localization David Johnson cs6370. Basic Problem Go from thisto this

Sampling as Representation

X

Y

Page 35: Localization David Johnson cs6370. Basic Problem Go from thisto this

Particle Filter

[Thrun, Burgard & Fox (2005)]

Page 36: Localization David Johnson cs6370. Basic Problem Go from thisto this

Visualization of Particle Filter

unweighted measure

compute importance weights

p(xt-1|z1:t-1)resampling

move particles

predict p(xt|z1:t-1)

Page 37: Localization David Johnson cs6370. Basic Problem Go from thisto this

Particle Filters – motion model

Page 38: Localization David Johnson cs6370. Basic Problem Go from thisto this

1. Prediction Phase – motion model

u

Motion Model

Page 39: Localization David Johnson cs6370. Basic Problem Go from thisto this

2. Measurement Phase

Sensor Model

Page 40: Localization David Johnson cs6370. Basic Problem Go from thisto this

3. Resampling Step