SensorFusionResult.PreciseEstimate


class SensorFusionResult.PreciseEstimate : SensorFusionResult.Estimate


An Estimate backed by both odometry data and range data.

Summary

Public constructors

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

Public properties

open RangingMeasurement

The azimuth angle in degrees of the ranging device, in the local device frame described by Estimate.

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 ([-90, 90]) of the ranging device, or null if not available.

Public constructors

PreciseEstimate

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

Public properties

azimuth

open val azimuth: RangingMeasurement

The azimuth angle in degrees of the ranging device, in the local device frame described by Estimate. The range is [-180, 180].

device

open val device: UwbDevice

The peer UWB device.

distance

open val distance: RangingMeasurement

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

elapsedRealtimeNanos

open val elapsedRealtimeNanos: Long

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

elevation

open val elevation: RangingMeasurement?

The elevation angle in degrees ([-90, 90]) of the ranging device, or null if not available. The angle is measured out of the device's XY plane and is positive towards the device's Z axis, so a positive elevation means the peer is towards the front of the screen.