Skip to content

Regrip API / domain/OrientationStabilizer.gen / step

Variable: step ​

const step: (_1, _2, velocity, dtSeconds, config) => [state, t]

Defined in: packages/core/src/domain/OrientationStabilizer.gen.ts:41

Advance one raw pose sample: apply resting drift correction, then the velocity-gated magnetic detent, returning the stabilized pose.

Parameters ​

_1 ​

state

_2 ​

t

velocity ​

undefined | number

dtSeconds ​

undefined | number

config ​

undefined | config

Returns ​

[state, t]