mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-28 23:07:11 +00:00
NMEA test had 0/0 SOG/COG and was affected by the patch fixing the TracTrac 0/0 SOG/COG issue;
this led to a follow-up issue in the test readWindVaneNmeaIntoWindTrack because the speed inferred was less than 0.01kts; I now lowered the threshold below which the bearing confidence goes to 0 to 0.001 (from 0.01), making this test case pass again
This commit is contained in:
1 parent
0f6e5c651e
commit
baae57d3e1
5 files changed
+5
-7
No files matched your search
+1
-1
@@ -671,7 +671,7 @@ public class GPSFixTrackImpl<ItemType, FixType extends GPSFix> extends TrackImpl
|
||||
0.9, relativeTo);
|
||||
speeds.add(speedWithConfidence);
|
||||
double bearingConfidence = 0.9;
|
||||
if (speed.getKnots() < 0.01) {
|
||||
if (speed.getKnots() < 0.001) {
|
||||
bearingConfidence = 0;
|
||||
}
|
||||
bearingCluster.add(new BearingWithConfidenceImpl<TimePoint>(last.getPosition().getBearingGreatCircle(next.getPosition()),
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<classpath>
|
||||
<classpathentry exported="true" kind="lib" path="lib/routeconverter.jar"/>
|
||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
|
||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||
<classpathentry kind="src" path="src"/>
|
||||
|
||||
@@ -11,6 +11,6 @@ Require-Bundle: org.junit4;bundle-version="4.8.2",
|
||||
com.sap.sailing.domain,
|
||||
com.sap.sailing.domain.common,
|
||||
net.sf.marineapi;bundle-version="0.5.0",
|
||||
com.sap.sse.common
|
||||
Bundle-ClassPath: lib/routeconverter.jar,
|
||||
.
|
||||
com.sap.sse.common,
|
||||
routeconverter;bundle-version="2.8.0"
|
||||
Bundle-ClassPath: .
|
||||
@@ -2,5 +2,4 @@ source.. = src/,\
|
||||
resources/
|
||||
output.. = bin/
|
||||
bin.includes = META-INF/,\
|
||||
.,\
|
||||
lib/routeconverter.jar
|
||||
.
|
||||
Binary file not shown.
Reference in new issue
Block a user