Skip to main content

Type Alias: AglSystemSmootherParams

AglSystemSmootherParams = object

Defined in: src/garminsdk/system/AglSystem.ts:45

Parameters for exponential smoothers used by AglSystem.

Properties

dtThreshold?

optional dtThreshold: number

Defined in: src/garminsdk/system/AglSystem.ts:72

The elapsed time threshold, in milliseconds, above which smoothing will not be applied to a new input value. Defaults to 10000.


tau?

optional tau: number

Defined in: src/garminsdk/system/AglSystem.ts:50

The smoothing time constant, in milliseconds. The larger the constant, the greater the smoothing effect. A value less than or equal to 0 is equivalent to no smoothing.


tauAccel?

optional tauAccel: number

Defined in: src/garminsdk/system/AglSystem.ts:66

The time constant, in milliseconds, for smoothing the estimated acceleration of the input value. The larger the constant, the greater the smoothing effect applied to the estimated acceleration. A value less than or equal to 0 is equivalent to no smoothing. If this value or tauVelocity is not defined, then estimated acceleration will not be used to calculate the final smoothed value.


tauVelocity?

optional tauVelocity: number

Defined in: src/garminsdk/system/AglSystem.ts:58

The time constant, in milliseconds, for smoothing the estimated velocity of the input value. The larger the constant, the greater the smoothing effect applied to the estimated velocity. A value less than or equal to 0 is equivalent to no smoothing. If not defined, then estimated velocity will not be used to calculate the final smoothed value.