The IR photodiodes used for communication double up as ambient light sensors. This enables the robot to drive towards (or away from) the brightest light source in the room.