|
|
|
|
|
|
|
|
//for(int a = 0, b = MyScanData.FilteredData.size(); a < b; a++) // Scan through the filtered data one |
|
|
//for(int a = 0, b = MyScanData.FilteredData.size(); a < b; a++) // Scan through the filtered data one |
|
|
// CurrentMatrix->EvaluateThis(MyScanData.FilteredData[a]); // byte at a time. |
|
|
// CurrentMatrix->EvaluateThis(MyScanData.FilteredData[a]); // byte at a time. |
|
|
|
|
|
|
|
|
|
|
|
/** 20200618_M Experiment stripping out saccades to check performance hit |
|
|
unsigned int fullLength = MyScanData.FilteredData.size(); |
|
|
unsigned int fullLength = MyScanData.FilteredData.size(); |
|
|
|
|
|
|
|
|
SaccadeBrain.applySaccades(CurrentMatrix, MyScanData.FilteredData); |
|
|
SaccadeBrain.applySaccades(CurrentMatrix, MyScanData.FilteredData); |
|
|
|
|
|
|
|
|
CurrentMatrix->evaluateSegment(MyScanData.FilteredData, 0, fullLength); |
|
|
CurrentMatrix->evaluateSegment(MyScanData.FilteredData, 0, fullLength); |
|
|
SaccadeBrain.learnMatches(CurrentMatrix->ResultList); |
|
|
SaccadeBrain.learnMatches(CurrentMatrix->ResultList); |
|
|
} |
|
|
} |
|
|
|
|
|
**/ |
|
|
|
|
|
size_t fullLength = MyScanData.FilteredData.size(); |
|
|
|
|
|
CurrentMatrix->evaluateSegment(MyScanData.FilteredData, 0, fullLength); // Only do a full scan -- see comment above |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
DebugInfo = "scanMessage() Scan Data Complete"; // If we panic, here we are. |
|
|
DebugInfo = "scanMessage() Scan Data Complete"; // If we panic, here we are. |