Skip to main content

Type Alias: DefaultTerrainSystemDataProviderSmootherParams

DefaultTerrainSystemDataProviderSmootherParams = object

Defined in: src/garminsdk/terrain/DefaultTerrainSystemDataProvider.ts:23

Parameters for exponential smoothers used by DefaultTerrainSystemDataProvider.

Properties

dtThreshold?

optional dtThreshold: number

Defined in: src/garminsdk/terrain/DefaultTerrainSystemDataProvider.ts:50

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/terrain/DefaultTerrainSystemDataProvider.ts:28

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/terrain/DefaultTerrainSystemDataProvider.ts:44

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/terrain/DefaultTerrainSystemDataProvider.ts:36

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.