Exclude maneuvers from polar data mining

This commit is contained in:
Frederik Petersen committed 2015-09-22 15:50:52 +02:00
1 parent ff531df253
commit 286b434844
1 file changed
+1 -1
@@ -62,7 +62,7 @@ public class PolarGPSFixRetrievalProcessor extends AbstractRetrievalProcessor<Ha
if (wind != null && (settings.applyMinimumWindConfidence() ? wind.getConfidence() >= settings.getMinimumWindConfidence() : true)) {
GPSFixWithPolarContext potentialResult = new GPSFixWithPolarContext(fix, trackedRace, windSpeedRangeGroup, competitor,
settings, wind, element);
if (!potentialResult.getWindSpeedRange().getSignifier().equals("null")) {
if (!potentialResult.getWindSpeedRange().getSignifier().equals("null") && !track.hasDirectionChange(fix.getTimePoint(), 5)) {
result.add(potentialResult);
}
}