|
|
@@ -103,6 +103,20 @@ public class DeviceCalibrateView : MonoBehaviour, MenuBackInterface
|
|
|
UpdateForGyr();
|
|
|
UpdateForMag();
|
|
|
}
|
|
|
+
|
|
|
+ // HashSet<object> magerDebugSet = new HashSet<object>();
|
|
|
+ // void OnGUI()
|
|
|
+ // {
|
|
|
+ // if (!AimHandler.ins) return;
|
|
|
+ // GUIStyle labelFont = new GUIStyle();
|
|
|
+ // labelFont.normal.textColor = new Color(1, 0.6f, 0.6f);
|
|
|
+ // labelFont.fontSize = 40;
|
|
|
+ // var m = ((Axis9Handler)AimHandler.ins.m_axisHandler)._9Axis.Attitude.MagCalibrater;
|
|
|
+ // if (!magerDebugSet.Contains(m)) magerDebugSet.Add(m);
|
|
|
+ // int mid = magerDebugSet.Count;
|
|
|
+ // string str = $"地磁计ID:{mid}\nComplete:{m.Complete}\nVariance:{m.Variance}\nEllipsoidFitting==null?:{m.EllipsoidFitting==null}";
|
|
|
+ // GUI.Label(new Rect(Screen.width/20,Screen.height/20,0,0), str, labelFont);
|
|
|
+ // }
|
|
|
|
|
|
|
|
|
void RefreshPage() {
|