Complete the following exercises. Show your work. You may either submit through Canvas, or submit a neatly-written paper copy before the deadline.
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 ) = .8Where 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.
Initial log-odds values given an initial occupancy probability of .3:
Log-odds values after one update:
Log-odds values after the second update:
Convert the final log-odds values from the previous exercise back to probabilitities.