Racelogic / Mbed 2 deprecated VIPS_LTC_RAW_IMU

Dependencies:   BufferedSerial FatFileSystemCpp mbed

Revision:
31:2eec69c777a7
Parent:
28:7600b18ccb7a
Child:
36:fff2a71bbf86
--- a/VIPSSerialProtocol.cpp	Fri Jul 23 16:33:47 2021 +0000
+++ b/VIPSSerialProtocol.cpp	Wed Aug 04 09:19:04 2021 +0000
@@ -340,6 +340,14 @@
         offset+=4;
     }
 
+    /*if ( ( ( lastPositions[nextPosition].pos.KFStatus & 0xE634) == 0x0400) && (!hyperSmoothEnabled)) {
+        EnableSmoothing(true);
+        pc.write("Auto HS On\r\n", 12);
+    } else if (hyperSmoothEnabled) {
+        EnableSmoothing(false);
+        pc.write("Auto HS Off\r\n", 13);
+    }*/ //Auto Hypersmooth, test in later commit after Ethernet Thread tested
+
     smoothOutputPacket(&(lastPositions[nextPosition].pos));
 
     if (enableAllUpdates) {
@@ -408,7 +416,7 @@
             YSmoothTotal = posPtr->Y * (SmoothBy - 1);
             ZSmoothTotal = posPtr->Height * (SmoothBy - 1);
             SmoothRunning = true;
-            pc.write("Seeded Filter\r\n",11);            
+            pc.write("Seeded Filter\r\n",11);
         }
         //smooth the KF_X and KF_Y positions
         XSmoothTotal += posPtr->X;