39
1 Information Driven Exploration Introduction to Mobile Robotics Wolfram Burgard

Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

1

Information Driven Exploration

Introduction to Mobile Robotics

Wolfram Burgard

Page 2: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

2

Tasks of Mobile Robots

mapping

path planning

localization SLAM

active localization

exploration

integrated approaches

Page 3: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

3

Exploration and SLAM

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

Page 4: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

4

Mapping with Rao-Blackwellized Particle Filter (Brief Summary)

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 5: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

5

Factorization Underlying Rao-Blackwellized Mapping

Particle filter representing trajectory hypotheses

Mapping with known poses

poses map observations & odometry

Page 6: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

6

Example: Particle Filter for Mapping

map of particle 1 map of particle 2

map of particle 3

3 particles

Page 7: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

8

mapping

path planning

localization SLAM

active localization

exploration

integrated approaches

Combining Exploration and SLAM

Page 8: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

9

SLAM approaches seen so far are purely passive By reasoning about control, the

mapping process can be made much more effective Question: Where to move next?

Exploration

Page 9: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

10

Where to Move Next?

Page 10: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

11

Decision-Theoretic Approach

Learn the map using a Rao-Blackwellized particle filter

Consider a set of potential actions

Apply an exploration approach that minimizes the overall uncertainty

Utility = uncertainty reduction - cost

Page 11: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

12

Example

high pose uncertainty

Page 12: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

The Uncertainty of a Posterior Entropy is a general measure for the

uncertainty of a posterior

Conditional Entropy

13

Page 13: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

Mutual Information

14

Expected Information Gain or Mutual Information = Expected Uncertainty Reduction

Page 14: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

Entropy Computation

15

Page 15: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

The Uncertainty of the Robot The uncertainty of the RBPF:

trajectory uncertainty

map uncertainty

particle weights

Page 16: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

Computing the Entropy of the Map Posterior Occupancy Grid map m:

17

grid cells map uncertainty probability that the

cell is occupied

Page 17: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

18

Map Entropy

occupied free

prob

abili

ty

occupied free

prob

abili

ty

occupied free

prob

abili

ty

Low entropy

Low entropy

High entropy

The overall entropy is the sum of the individual entropy values

Page 18: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

19

Computing the Entropy of the Trajectory Posterior

1. High-dimensional Gaussian reduced rank for sparse particle sets

2. Grid-based approximation for sparse particle clouds

Page 19: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

20

Approximation of the Trajectory Posterior Entropy

Average pose entropy over time:

Page 20: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

Mutual Information The mutual information I is given by the

expected 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 21: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

Integrating Over Observations Computing the mutual information requires

to integrate over potential observations

potential observation sequences

Page 22: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

Approximating the Integral

The particle filter represents a posterior about possible maps

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

Page 23: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

Approximating the Integral

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 24: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

Simulating Observations

Ray-casting in the map of each particle to generate observation sequences

map of particle i

Page 25: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

The Utility

We take into account the cost of an action: mutual information utility U

Select the action with the highest utility

Page 26: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

27

Focusing on Specific Actions To efficiently sample actions we consider exploratory actions (1-3) loop closing actions (4) and place revisiting actions (5)

Page 27: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

28

Dual Representation for Loop Detection

Trajectory graph (“topological map”) stores the path traversed by the robot

Occupancy grid map represents the space covered by the sensors

Loops correspond to long paths in the trajectory graph and short paths in the grid map

Page 28: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

29

Example: Trajectory Graph

Page 29: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

30

Application Example

high pose uncertainty

Page 30: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

31

Example: Possible Targets

Page 31: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

32

Example: Evaluate Targets

Page 32: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

33

Example: Move Robot to Target

Page 33: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

34

Example: Evaluate Targets

Page 34: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

35

Example: Move Robot

… continue …

Page 35: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

36

Example: Entropy Evolution

Page 36: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

37

Comparison

After loop closing action:

Map uncertainty only:

Page 37: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

38

Real Exploration Example

Selected target location

Page 38: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

39

Corridor Exploration

The decision-theoretic approach leads to intuitive behaviors: “re-localize before getting lost”

Some animals show a similar behavior (dogs marooned in the tundra of north Russia)

Page 39: Introduction to Mobile Robotics Information Driven Explorationais.informatik.uni-freiburg.de/teaching/ss17/... · Information Driven Exploration Introduction to Mobile Robotics Wolfram

40

Summary

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