|
@@ -383,6 +383,7 @@ public class AimHandler : MonoBehaviour
|
|
|
if (!MagCalibrater.Update(mag0o)) return;
|
|
if (!MagCalibrater.Update(mag0o)) return;
|
|
|
} catch(System.Exception) {
|
|
} catch(System.Exception) {
|
|
|
MagCalibrater = new MagnetometerAutoCalibrater();
|
|
MagCalibrater = new MagnetometerAutoCalibrater();
|
|
|
|
|
+ PopupMgr.ins.ShowTipTop("磁场干扰请远离电子设备");
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
mag0o = MagCalibrater.EllipsoidFitting.Map(mag0o);
|
|
mag0o = MagCalibrater.EllipsoidFitting.Map(mag0o);
|