+ All Categories
Home > Documents > Introduction to Mobile Robotics Summary -...

Introduction to Mobile Robotics Summary -...

Date post: 16-Jul-2020
Category:
Upload: others
View: 12 times
Download: 0 times
Share this document with a friend
67
1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss, Maren Bennewitz, Diego Tipaldi, Luciano Spinello
Transcript
Page 1: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

1

Summary

Introduction to Mobile Robotics

Wolfram Burgard, Cyrill Stachniss, Maren Bennewitz, Diego Tipaldi, Luciano Spinello

Page 2: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

2

Probabilistic Robotics

Page 3: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

3

Probabilistic Robotics Key idea: Explicit representation of

uncertainty (using the calculus of probability theory)

§  Perception = state estimation §  Action = utility optimization

Page 4: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

4

Bayes Formula

evidenceprior likelihood

)()()|()(

)()|()()|(),(

⋅==

==

yPxPxyPyxP

xPxyPyPyxPyxP

Page 5: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

5

Simple Example of State Estimation

§  Suppose a robot obtains measurement z §  What is P(open|z)?

Page 6: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

6

Causal vs. Diagnostic Reasoning

§  P(open|z) is diagnostic. §  P(z|open) is causal. §  Often causal knowledge is easier to

obtain. §  Bayes rule allows us to use causal

knowledge:

)()()|()|( zP

openPopenzPzopenP =

count frequencies!

Page 7: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

7 111 )(),|()|( −−−∫= ttttttt dxxBelxuxPxzPη

Bayes Filters

),,,|(),,,,|( 1111 ttttt uzuxPuzuxzP ……η=Bayes

z = observation u = action x = state

),,,|()( 11 tttt zuzuxPxBel …=

Markov ),,,|()|( 11 tttt uzuxPxzP …η=

Markov 11111 ),,,|(),|()|( −−−∫= tttttttt dxuzuxPxuxPxzP …η

1111

111

),,,|(

),,,,|()|(

−−

−∫=

ttt

ttttt

dxuzuxP

xuzuxPxzP

…ηTotal prob.

Markov 111111 ),,,|(),|()|( −−−−∫= tttttttt dxzzuxPxuxPxzP …η

Page 8: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

8

Bayes Filters are Familiar!

§  Kalman filters §  Particle filters §  Hidden Markov models §  Dynamic Bayesian networks §  Partially Observable Markov Decision

Processes (POMDPs)

111 )(),|()|()( −−−∫= tttttttt dxxBelxuxPxzPxBel η

Page 9: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

9

Sensor and Motion Models

),|( mxzP ),'|( uxxP

Page 10: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

10

Motion Models

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

Page 11: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

11

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.

Page 12: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

12

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.

Page 13: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

13

Odometry Model

22 )'()'( yyxxtrans −+−=δ

θδ −−−= )','(atan21 xxyyrot

12 ' rotrot δθθδ −−=

§  Robot moves from to . §  Odometry information .

θ,, yx ',',' θyx

transrotrotu δδδ ,, 21=

transδ1rotδ

2rotδ

θ,, yx

',',' θyx

Page 14: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

14

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

Page 15: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

15

Beam-based Sensor Model §  Scan z consists of K measurements.

§  Individual measurements are independent given the robot position.

},...,,{ 21 Kzzzz =

∏=

=K

kk mxzPmxzP

1

),|(),|(

Page 16: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

16

Beam-based Proximity Model Measurement noise

zexp zmax 0

bzz

hit eb

mxzP2

exp )(21

21),|(

−−

η⎭⎬⎫

⎩⎨⎧ <

=−

otherwisezz

mxzPz

0e

),|( expunexp

λλη

Unexpected obstacles

zexp zmax 0

Page 17: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

17

Beam-based Proximity Model Random measurement Max range

max

1),|(z

mxzPrand η=smallz

mxzP 1),|(max η=

zexp zmax 0 zexp zmax 0

Page 18: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

18

Resulting Mixture Density

⎟⎟⎟⎟⎟

⎜⎜⎜⎜⎜

⎟⎟⎟⎟⎟

⎜⎜⎜⎜⎜

=

),|(),|(),|(),|(

),|(

rand

max

unexp

hit

rand

max

unexp

hit

mxzPmxzPmxzPmxzP

mxzP

T

α

α

α

α

How can we determine the model parameters?

Page 19: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

19

Bayes Filter in Robotics

Page 20: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

20

Bayes Filters in Action

§  Discrete filters §  Kalman filters §  Particle filters

Page 21: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

21

Discrete Filter

§  The belief is typically stored in a histogram / grid representation

§  To update the belief upon sensory input and to carry out the normalization one has to iterate over all cells of the grid

Page 22: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

22

Piecewise Constant

Page 23: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

23

Kalman Filter

§  Optimal for linear Gaussian systems!

§  Most robotics systems are nonlinear!

§  Polynomial in measurement dimensionality k and state dimensionality n: O(k2.376 + n2)

Page 24: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

24

Extended Kalman Filter

§  Performs a linearization in each step §  Not optimal §  Can diverge if nonlinearities are large! §  Works surprisingly well even when all

assumptions are violated! §  Same complexity than the KF

Page 25: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

Particle Filter §  Basic principle

§  Set of state hypotheses (“particles”) §  Survival-of-the-fittest

§  Particle filters are a way to efficiently represent non-Gaussian distribution

25

Page 26: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

Mathematical Description

26

§ Set of weighted samples

§  The samples represent the posterior

State hypothesis Importance weight

Page 27: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

27

Particle Filter Algorithm in Brief

§ Sample the next generation for particles using the proposal distribution

§ Compute the importance weights : weight = target distribution / proposal distribution

§ Resampling: “Replace unlikely samples by more likely ones”

Page 28: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

28

§  We can even use a different distribution g to generate samples from f

§  By introducing an importance weight w, we can account for the “differences between g and f ”

§  w = f / g §  f is often called

target §  g is often called

proposal §  Pre-condition:

f(x)>0 à g(x)>0

Importance Sampling Principle

Page 29: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

29

1.  Algorithm particle_filter( St-1, ut-1 zt): 2. 

3.  For Generate new samples

4.  Sample index j(i) from the discrete distribution given by wt-1

5.  Sample from using and

6.  Compute importance weight

7.  Update normalization factor

8.  Insert

9.  For

10.  Normalize weights

Particle Filter Algorithm

0, =∅= ηtSni …1=

},{ ><∪= it

ittt wxSS

itw+=ηη

itx ),|( 11 −− ttt uxxp )(

1ij

tx − 1−tu

)|( itt

it xzpw =

ni …1=

η/itit ww =

Page 30: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

30

draw xit-1 from Bel(xt-1)

draw xit from p(xt | xi

t-1,ut-1)

Importance factor for xit:

)|()(),|(

)(),|()|(ondistributi proposal

ondistributitarget

111

111

tt

tttt

tttttt

it

xzpxBeluxxp

xBeluxxpxzp

w

=

=

−−−

−−−η

1111 )(),|()|()( −−−−∫= tttttttt dxxBeluxxpxzpxBel η

Particle Filter Algorithm

Page 31: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

31

w2

w3

w1 wn

Wn-1

Resampling

w2

w3

w1 wn

Wn-1

§  Roulette wheel §  Binary search, n log n

§  Stochastic universal sampling §  Systematic resampling

§  Linear time complexity §  Easy to implement, low variance

Page 32: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

32

MCL Example

Page 33: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

33

Mapping

Page 34: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

Why Mapping? §  Learning maps is one of the fundamental

problems in mobile robotics §  Maps allow robots to efficiently carry out

their tasks, allow localization … §  Successful robot systems rely on maps for

localization, path planning, activity planning etc

34

Page 35: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

Occupancy Grid Maps

§  Discretize the world into equally spaced cells

§  Each cells stores the probability that the corresponding area is occupied by an obstacle

§  The cells are assumed to be conditionally independent

§  If the pose of the robot is know, mapping is easy

35

Page 36: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

36

Updating Occupancy Grid Maps §  Update the map cells using the inverse

sensor model

§  Or use the log-odds representation

( ) ( )( )

( )( )

( )( )

1

][1

][1

][

][

1][

1][

][

11

,|1,|11

−⎟⎟⎠

⎞⎜⎜⎝

−⋅

−⋅

−+−= xy

t

xyt

xyt

xyt

ttxyt

ttxytxy

t mBelmBel

mPmP

uzmPuzmPmBel

( ) ( )1][][ ,|log −= ttxyt

xyt uzmoddsmB ( ) )(log: ][][ xy

txyt moddsmB =

( )( )⎟

⎟⎠

⎞⎜⎜⎝

−=

xPxPxodds

1:)(

( )][log xytmodds−

( )][1xytmB −+

Page 37: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

37

Reflection Probability Maps

§  Value of interest: P(reflects(x,y))

§ For every cell count §  hits(x,y): number of cases where a beam

ended at <x,y> § misses(x,y): number of cases where a

beam passed through <x,y>

),misses(),hits(),hits()( ][

yxyxyxmBel xy

+=

Page 38: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

38

SLAM

Page 39: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

39

Given: §  The robot’s controls §  Observations of nearby features

Estimate: §  Map of features §  Path of the robot

The SLAM Problem

A robot is exploring an unknown, static environment.

Page 40: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

Chicken-or-Egg

§  SLAM is a chicken-or-egg problem §  A map is needed for localizing a robot §  A good pose estimate is needed to build a map

§  Thus, SLAM is regarded as a hard problem in robotics

§  A variety of different approaches to address the SLAM problem have been presented

§  Probabilistic methods outperform most other techniques

40

Page 41: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

41

SLAM: Simultaneous Localization and Mapping

§  Full SLAM:

§  Online SLAM:

Integrations typically done one at a time

),|,( :1:1:1 ttt uzmxp

121:1:1:1:1:1 ...),|,(),|,( −∫ ∫ ∫= ttttttt dxdxdxuzmxpuzmxp …

Estimates most recent pose and map!

Estimates entire path and map!

Page 42: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

42

Why is SLAM a hard problem?

§  In the real world, the mapping between observations and landmarks is unknown

§  Picking wrong data associations can have catastrophic consequences

§  Pose error correlates data associations

Robot pose uncertainty

Page 43: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

43

!!!!!!!!!!

"

#

$$$$$$$$$$

%

&

!!!!!!!!!

"

#

$$$$$$$$$

%

&

=

2

2

2

2

2

2

2

1

21

2221222

1211111

21

21

21

,),(

NNNNNN

N

N

N

N

N

llllllylxl

llllllylxl

llllllylxl

lllyx

ylylylyyxy

xlxlxlxxyx

N

tt

l

ll

yx

mxBel

σσσσσσ

σσσσσσ

σσσσσσ

σσσσσσ

σσσσσσ

σσσσσσ

θ

θ

θ

θ

θθθθθθ

θ

θ

§  Map with N landmarks:(3+2N)-dimensional Gaussian

§  Can handle hundreds of dimensions

(E)KF-SLAM

Page 44: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

44

EKF-SLAM

Map Correlation matrix

Page 45: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

45

EKF-SLAM

Map Correlation matrix

Page 46: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

46

EKF-SLAM

Map Correlation matrix

Page 47: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

47

FastSLAM

§  Use a particle filter for map learning §  Problem: the map is high-dimensional §  Solution: separate the estimation of

the robot’s trajectory from the one of the map of the environment

§  This is done by means of a factorization in the SLAM posterior often called Rao-Blackwellization

Page 48: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

48

Rao-Blackwellization

SLAM posterior

Robot path posterior

Mapping with known poses

Factorization first introduced by Murphy in 1999

poses map observations & movements

Page 49: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

49

Rao-Blackwellized Mapping

§  Each particle represents a possible trajectory of the robot

§  Each particle § maintains its own map and §  updates it upon “mapping with known

poses”

§  Each particle survives with a probability proportional to the likelihood of the observations relative to its own map

Page 50: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

50

FastSLAM §  Rao-Blackwellized particle filtering based on

landmarks §  Each landmark is represented by a 2x2

Extended Kalman Filter (EKF) §  Each particle therefore has to maintain M EKFs

Landmark 1 Landmark 2 Landmark M … x, y, θ

Landmark 1 Landmark 2 Landmark M … x, y, θ Particle #1

Landmark 1 Landmark 2 Landmark M … x, y, θ Particle #2

Particle N

Page 51: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

51

Grid-based FastSLAM §  Similar ideas can be used to learn grid maps §  To obtain a practical solution, an efficiently

computable, informed proposal distribution is needed

§  Idea: in the SLAM posterior, the observation model dominates the motion model (given an accurate sensor)

Page 52: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

52

Proposal Distribution

Approximate this equation by a Gaussian:

Sampled points around the maximum

maximum reported by a scan matcher

Gaussian approximation

Draw next generation of samples

Page 53: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

53

Typical Results

Page 54: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

54

Robot Motion

Page 55: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

55

Robot Motion Planning

Latombe (1991):

“…eminently necessary since, by definition, a robot accomplishes tasks by moving in the real world.”

Goals: §  Collision-free trajectories. §  Robot should reach the goal location as

fast as possible.

Page 56: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

56

Two Challenges

§  Calculate the optimal path taking potential uncertainties in the actions into account

§  Quickly generate actions in the case of unforeseen objects

Page 57: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

57

Classic Two-layered Architecture

Planning

Collision Avoidance

sensor data

map

robot

low frequency

high frequency

sub-goal

motion command

Page 58: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

58

Multi-Robot Exploration

Given: §  Unknown environment §  Team of robots Task: §  Coordinate the robots to

efficiently learn a complete map of the environment

Complexity: §  NP-hard for single robots in known, graph-like

environments §  Exponential in the number of robots

Page 59: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

59

Levels of Coordination

§  No exchange of information

§  Implicit coordination: Sharing a joint map [Yamauchi et.al, 98] §  Communication of the individual maps and

poses §  Central mapping system

§  Explicit coordination: Determine better target locations to distribute the robots §  Central planner for target point assignment

Page 60: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

60

The Coordination Algorithm (informal)

1. Determine the frontier cells.

2. Compute for each robot the cost for reaching each frontier cell.

3. Choose the robot with the optimal overall evaluation and assign the corresponding target point to it.

4. Reduce the utility of the frontier cells visible from that target point.

5.  If there is one robot left go to 3.

Page 61: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

61

Information Gain-based Exploration

§  SLAM is typically passive, because it consumes incoming sensor data

§  Exploration actively guides the robot to cover the environment with its sensors

§  Exploration in combination with SLAM: Acting under pose and map uncertainty

§  Uncertainty should/needs to be taken into account when selecting an action

§  Key question: Where to move next?

Page 62: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

Mutual Information §  The mutual information I is given by the

reduction of entropy in the belief

action to be carried out

“uncertainty of the filter” –

“uncertainty of the filter after carrying out action a”

Page 63: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

Integrating Over Observations §  Computing the mutual information requires

to integrate over potential observations

potential observation sequences

Page 64: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

Integral Approximation

§  The particle filter represents a posterior about possible maps

map of particle 1 map of particle 3 map of particle 2

Page 65: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

Integral Approximation

§  The particle filter represents a posterior about possible maps

§  Simulate laser measurements in the maps of the particles

measurement sequences simulated in the maps

likelihood (particle weight)

Page 66: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

66

Summary on Information Gain-based Exploration §  A decision-theoretic approach to

exploration in the context of RBPF-SLAM §  The approach utilizes the factorization of

the Rao-Blackwellization to efficiently calculate the expected information gain

§  Reasons about measurements obtained along the path of the robot

§  Considers a reduced action set consisting of exploration, loop-closing, and place-revisiting actions

Page 67: Introduction to Mobile Robotics Summary - uni-freiburg.deais.informatik.uni-freiburg.de/teaching/ss13/... · 1 Summary Introduction to Mobile Robotics Wolfram Burgard, Cyrill Stachniss,

67

The Exam is Approaching… §  This lecture gave a short overview over the

most important topics addressed in this course

§  For the exam, you need to know at least the basic formulas (e.g., Bayes filter, MCL eqs., Rao-Blackwellization, entropy, …)

Good luck for the exam!


Recommended