AutoMovie API
    Preparing search index...
    • The swivel tolerance, degrees, a continued fit is refined to for the continued samples of a velocity read at step that an inertialization of duration decays.

      A continued fit lies within its tolerance τ of its bracket's best (IAutoMovieSwivelNear), and a swivel turns its chain's root about one axis, so the joint's turn is off by at most τ. The three-point difference weighs its samples (3, 4, 1) / 2h, so one read's rate is off by at most 4 τ / h, and the offset an inertialization decays is the difference of two reads, the source's and the target's, off by at most 8 τ / h. An offset velocity error δv moves the decayed offset by at most 256 / 3125 δv duration, the peak of its quintic's signed lobe (inertializeOffset, linear in the velocity over a fixed duration). That is held to ROM_TOLERANCE, the resolution a solver need resolve a joint's angle to, so τ = ROM_TOLERANCE h 3125 / (8 256 duration): 3.8e-5 degrees for a 1 ms step and a 0.4 s decay, where a fit's own resolution (hingedArmSwivel.RESOLUTION, 0.0062 degrees) bounds the displacement at 1.6 degrees.

      Parameters

      • step: number

        The difference interval h, seconds; positive.

      • duration: number

        The decay the read feeds, seconds; positive.

      Returns number

      Degrees.