Tape or foam blocks sunlight from altering the barometric pressure sensor (inside the Naza) reading. The sensor measures tiny air pressure differences then converts that to an electrical signal (voltage) or data stream that the FC acts upon. The sensor itself is either light or temperature...