Refactor mahony functions #432

Closed
opened 2026-04-05 17:52:59 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @deiteris on 2/3/2022

  1. Unify feedback term variables and integral feedback computation
  2. Use the same variable naming for both functions and code style.
  3. Pre-multiply deltat once then apply gyro factors in function with magnetometer.
  4. Use inverse square root function with a bit better precision (from the same source in comments).
*Originally created by @deiteris on 2/3/2022* 1. Unify feedback term variables and integral feedback computation 2. Use the same variable naming for both functions and code style. 3. Pre-multiply `deltat` once then apply gyro factors in function with magnetometer. 4. Use inverse square root function with a bit better precision (from the same source in comments).
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/SlimeVR-Tracker-ESP#432