Make magneto take a constant amount of memory, regardless of the number of samples. #320

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

Originally created by @kitlith on 10/6/2022

Closes #197

Third commit is the real meat of this change, it is probably easier to review commit by commit due to the movement of the math functions of another file in the first commit.

I have tested this idea and observed negligible or no change in the calibration matrix given the same input.

I haven't changed anything about how the sensors use magneto, other than causing a net reduction in memory usage. I leave it up to other people to experiment with increasing the number of samples now that we're no longer memory constrained.

*Originally created by @kitlith on 10/6/2022* Closes #197 Third commit is the real meat of this change, it is probably easier to review commit by commit due to the movement of the math functions of another file in the first commit. I have tested this idea and observed negligible or no change in the calibration matrix given the same input. I haven't changed anything about how the sensors use magneto, other than causing a net reduction in memory usage. I leave it up to other people to experiment with increasing the number of samples now that we're no longer memory constrained.
MrUnknownDE added the Status: Help WantedStatus: Help Wanted labels 2026-04-05 17:52:39 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/SlimeVR-Tracker-ESP#320