public static final class DriftDetector.Options extends Object
Constructor and Description |
---|
Options(int minHeadingCogDifference,
int maxHeadingCogDifference,
float minDriftingSpeedKnots,
float maxDriftingSpeedKnots,
long expiryAgeMs,
long nonDriftingThresholdMs) |
Modifier and Type | Method and Description |
---|---|
long |
expiryAgeMs() |
static DriftDetector.Options |
instance() |
float |
maxDriftingSpeedKnots() |
int |
maxHeadingCogDifference() |
float |
minDriftingSpeedKnots() |
int |
minHeadingCogDifference() |
long |
nonDriftingThresholdMs() |
String |
toString() |
public Options(int minHeadingCogDifference, int maxHeadingCogDifference, float minDriftingSpeedKnots, float maxDriftingSpeedKnots, long expiryAgeMs, long nonDriftingThresholdMs)
public static DriftDetector.Options instance()
public int maxHeadingCogDifference()
public int minHeadingCogDifference()
public float maxDriftingSpeedKnots()
public float minDriftingSpeedKnots()
public long expiryAgeMs()
public long nonDriftingThresholdMs()
Copyright © 2020. All rights reserved.