Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wheaney/magnetometer-calibrate
Generate hard iron offsets and soft iron matrix from raw magnetometer samples
https://github.com/wheaney/magnetometer-calibrate
calibration ellipsoid-fit imu imu-sensor magnetometer magnetometer-calibration
Last synced: about 2 months ago
JSON representation
Generate hard iron offsets and soft iron matrix from raw magnetometer samples
- Host: GitHub
- URL: https://github.com/wheaney/magnetometer-calibrate
- Owner: wheaney
- License: gpl-3.0
- Created: 2024-11-13T16:59:16.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2024-11-13T18:15:42.000Z (about 2 months ago)
- Last Synced: 2024-11-13T18:25:35.353Z (about 2 months ago)
- Topics: calibration, ellipsoid-fit, imu, imu-sensor, magnetometer, magnetometer-calibration
- Language: C
- Homepage:
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# magnetometer-calibrate
This library provides a C API for collecting raw magnetometer samples and generating hard iron offset and soft iron matrix calibrations using Qingde Li and John G. Griffiths's Ellipsoid Fitting algorithm. Requires the [GSL](https://www.gnu.org/software/gsl/) library.
## Relevant Links
* [Least Squares Ellipsoid Specific Fitting](https://www.researchgate.net/profile/Qingde-Li/publication/4070857_Least_squares_ellipsoid_specific_fitting/links/565c4e3e08aefe619b252553/Least-squares-ellipsoid-specific-fitting.pdf) original publication
* [MATLAB demonstration](https://www.mathworks.com/matlabcentral/fileexchange/23377-ellipsoid-fitting) files
* [MagCal C# implementation](https://github.com/hightower70/MagCal/blob/master/Program.cs)
* [Magneto C explanation](https://sites.google.com/view/sailboatinstruments1/d-implementation), [full C reference](https://sites.google.com/view/sailboatinstruments1/g-c-language-implementation), and [.exe download](https://sites.google.com/view/sailboatinstruments1/a-download-magneto-v1-2) (works well on Linux with `wine`)