Probability Mapping and Baye's Rule

Complete the following exercises. Show your work. You may either submit through Canvas, or submit a neatly-written paper copy before the deadline.

  1. Consider the robot localization scenario described in these slides. What is the final probability distribution over room locations given the following series of sensor readings?

    b
    a
    b

    Assume that the initial distribution is uniform, the robot is not moving, and that sensor readings are independent given the robot's position. (I.e. one incorrect sensor reading does not increase the probability of seeing the same incorrect sensor reading in the future.)
  2. Consider a robot mapping it's environment using a laser range finder. The following figure illustrates the initial occupancy grid as well as the first sensor reading. The red line indicates the path taken by the laser, and the red dot is based on the the reported range value. In this case there was an obstacle detected in map cell (0,2).

    We will assume that the robot's position is known, and that we have the following sensor model for our laser:

    P( zt = hit | mx,y ) = .8
    P( zt = free | mx,y ) = .2
    P( zt = hit | mx,y ) = .1
    P( zt = free | mx,y ) = .9

    Where P(mx,y) expresses the probability that grid cell (x,y) is occupied and P(mx,y) is the the probability that the cell is free. The expression zt = hit indicates that the cell in question contains end-point of the laser, and the expression zt = free indicates that the laser passed through the cell without a collision. (We don't have any new evidence about cells that the laser didn't pass through, so their occupancy probabilities will not be updated.)

    • Apply Baye's rule to update the robot's occupancy grid. In other words, calculate P(mx,y | zt) for each cell.

    • Perform an additional update assuming that the robot receives exactly the same sensor reading on the next time step.

  3. Repeat the previous exercise using the occupancy grid mapping algorithm described in Table 1 of Learning Occupancy Grid Maps with Forward Sensor Models1. This algorithm requires an inverse sensor model of the form P( mx,y | zt). Use the following model for this question:

    P( mx,y | zt = hit) = .9
    P( mx,y | zt = free) = .2
    • Initial log-odds values given an initial occupancy probability of .1:

    • Log-odds values after one update:

    • Log-odds values after the second update:


1. There is a typo in "Recovery of Occupancy Probabilities" section of the algorithm. The equation p(mx,y, | z1, ... , zT) = 1 - 1 / elx,y should be p(mx,y, | z1, ... , zT) = 1 - 1 /(1 + elx,y)