Install the flight controller and GPS correctly on the airframe before performing compass calibration.