SensorFusionResult.DriftingEstimate


class SensorFusionResult.DriftingEstimate : SensorFusionResult.Estimate


An Estimate backed by odometry data only because raw UWB range has failed. Continuous drifting will lead to inaccurate results over time.

Summary

Public constructors

DriftingEstimate(
    device: UwbDevice,
    distance: RangingMeasurement,
    azimuth: RangingMeasurement,
    elevation: RangingMeasurement?,
    elapsedRealtimeNanos: Long
)

Public properties

open RangingMeasurement

The azimuth angle in degrees of the ranging device.

open UwbDevice

The peer UWB device.

open RangingMeasurement

The line-of-sight distance in meters of the ranging device.

open Long

The elapsed realtime in nanos from when the system booted up to this position estimate.

open RangingMeasurement?

The elevation angle in degrees of the ranging device, or null if not available.

Public constructors

DriftingEstimate

Added in 1.1.0-alpha02
DriftingEstimate(
    device: UwbDevice,
    distance: RangingMeasurement,
    azimuth: RangingMeasurement,
    elevation: RangingMeasurement?,
    elapsedRealtimeNanos: Long
)

Public properties

azimuth

open val azimuthRangingMeasurement

The azimuth angle in degrees of the ranging device. The range is -90, 90.

device

open val deviceUwbDevice

The peer UWB device.

distance

open val distanceRangingMeasurement

The line-of-sight distance in meters of the ranging device.

elapsedRealtimeNanos

open val elapsedRealtimeNanosLong

The elapsed realtime in nanos from when the system booted up to this position estimate.

elevation

open val elevationRangingMeasurement?

The elevation angle in degrees of the ranging device, or null if not available. The range is -90, 90.