SensorFusionResult.ImpreciseEstimate


public final class SensorFusionResult.ImpreciseEstimate implements SensorFusionResult.Estimate


An Estimate backed by raw UWB range only because the odometry sensor has failed. The estimate will not have AoA.

Summary

Public constructors

ImpreciseEstimate(
    @NonNull UwbDevice device,
    @NonNull RangingMeasurement distance,
    long elapsedRealtimeNanos,
    int reason
)

Public methods

@NonNull UwbDevice

The peer UWB device.

@NonNull RangingMeasurement

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

long

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

final int

Public constructors

ImpreciseEstimate

Added in 1.1.0-alpha02
public ImpreciseEstimate(
    @NonNull UwbDevice device,
    @NonNull RangingMeasurement distance,
    long elapsedRealtimeNanos,
    int reason
)

Public methods

getDevice

public @NonNull UwbDevice getDevice()

The peer UWB device.

getDistance

public @NonNull RangingMeasurement getDistance()

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

getElapsedRealtimeNanos

public long getElapsedRealtimeNanos()

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

getReason

Added in 1.1.0-alpha02
public final int getReason()