Skip to content

Regrip API / domain/GyroPipeline.gen / step

Variable: step

const step: (_1, _2, _3, _4, config, stabilizerEnabled) => [state, sample]

Defined in: packages/core/src/domain/GyroPipeline.gen.ts:50

Advance one raw gyro sample through calibration and, when stabilizerEnabled, display stabilization.

Parameters

_1

state

_2

t

_3

number

_4

undefined | velocity

config

config

stabilizerEnabled

boolean

Returns

[state, sample]