2024.309.1 - Auto-calibration & Gauss correction
This release was long overdue. Auto-calibration has been added, removing the need to manually calibrate the rest- and down positions via minitool.
It also adds calculations to correct the slightly non-linear relation between magnetic field strength (what the sensor measures) and the actual distance of the magnet.
Features
- Calibration is now automatically performed, with a definition
AUTO_CALIBRATION_DEADZONE
to introduce a deadzone, considering for rare peaks towards the boundaries - Added correction of the relation between the magnetic field strength (the analog value) and the actual, physical distance of the magnet from the sensor. (Co-authored by @RephlexZero)
Changes
- Removed the
out <bool>
command - The whole codebase went under huge re-structuring, improving code quality and maintainability. More can be found at #56