소스 검색

算法更新

lvjincheng 3 년 전
부모
커밋
8355846bc9
2개의 변경된 파일14개의 추가작업 그리고 0개의 파일을 삭제
  1. BIN
      Assets/BowArrow/Scripts/Bluetooth/o0Lib/o0NetIMU.dll
  2. 14 0
      Assets/BowArrow/Scripts/View/DeviceCalibrateView.cs

BIN
Assets/BowArrow/Scripts/Bluetooth/o0Lib/o0NetIMU.dll


+ 14 - 0
Assets/BowArrow/Scripts/View/DeviceCalibrateView.cs

@@ -103,6 +103,20 @@ public class DeviceCalibrateView : MonoBehaviour, MenuBackInterface
         UpdateForGyr();
         UpdateForGyr();
         UpdateForMag();
         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() {
     void RefreshPage() {