About author: Zaynulla Zhumaev is an aero-space engineer from SPUTNIX, Russia.
Mag calibration and 3d point cloud visualisation This code is for simplification whole process of magnitometer calibration.
- Parser data from txt file. String data is ignored, so data could be in format like "x=.., y=.., z=..". Lines which are not contains measurements ignored.
- Point cloud visualization together with ideal sphere.
- Axis non-orthogonality fixing and visualization.
- Ellipsoid to sphere compression matrix and displacement vector calculation. Visualization of calibrated data as well.
- Constructing of end user c-code lines like: xcal = a11x+a12y+a13z ... zcal = ... a33z