SensorFusionResult.Estimate


public sealed interface SensorFusionResult.Estimate extends SensorFusionResult

Known direct subclasses
SensorFusionResult.DriftingEstimate

An Estimate backed by odometry data only because raw UWB range has failed.

SensorFusionResult.ImpreciseEstimate

An Estimate backed by raw UWB range only because the odometry sensor has failed.

SensorFusionResult.PreciseEstimate

An Estimate backed by both odometry data and range data.


An estimate of the peer device's position produced from the sensor fusion algorithm.

Summary

Public methods

abstract RangingMeasurement

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

abstract @NonNull UwbDevice

The peer UWB device.

abstract @NonNull RangingMeasurement

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

abstract long

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

abstract RangingMeasurement

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

Public methods

getAzimuth

Added in 1.1.0-alpha02
abstract RangingMeasurement getAzimuth()

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

getDevice

abstract @NonNull UwbDevice getDevice()

The peer UWB device.

getDistance

Added in 1.1.0-alpha02
abstract @NonNull RangingMeasurement getDistance()

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

getElapsedRealtimeNanos

Added in 1.1.0-alpha02
abstract long getElapsedRealtimeNanos()

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

getElevation

Added in 1.1.0-alpha02
abstract RangingMeasurement getElevation()

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