FixResult

data class FixResult(val verdict: FixVerdict, val emitted: Fix?, val displacementM: Double, val distanceDeltaM: Double, val bucket: DistanceBucket, val reason: String? = null)

Constructors

Link copied to clipboard
constructor(verdict: FixVerdict, emitted: Fix?, displacementM: Double, distanceDeltaM: Double, bucket: DistanceBucket, reason: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard

Straight-line metres from the previous accepted fix. Reported even when counted nowhere.

Link copied to clipboard

Metres added to bucket. Zero whenever bucket is DistanceBucket.NONE.

Link copied to clipboard
val emitted: Fix?

The fix as it should be persisted — possibly coordinate-modified, e.g. by smoothing. null means "do not persist this fix at all".

Link copied to clipboard

Human-readable why, for debug surfaces and trace reports only.

Link copied to clipboard