A two-stage calibration method for low-cost UAV attitude estimation using infrared sensor