HongshiTan / RTIMULib2

9-dof, 10-dof and 11-dof IMU fusion library for Linux systems (development version)
Other
72 stars 240 forks source link

[RTIMULibCal][RTEllipsoidFit] Use C++ instead of octave code code for ellipsoid fitting #6

Closed SivertHavso closed 2 years ago

SivertHavso commented 2 years ago

Resolves https://github.com/HongshiTan/RTIMULib2/issues/4.

The way RTIMULibCal currently works it will not check whether ../RTEllipsoidFit/ actually exists before starting the ellipsoid fit calibration/data collection. This can lead to a frustrating experience for the user as they will have to restart the entire magnetometer calibration process if this directory does not exist.

This pull request would change it so that the magRaw.dta file is written to and from the current directory (by default). The ellipsoid fit correction values are also written to the current directory.

HongshiTan commented 2 years ago

Thanks for your contributions!