Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial FatFileSystemCpp mbed
Diff: VIPSSerialProtocol.cpp
- 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;