VladimirP1 / esp-gyrologger

GNU Lesser General Public License v2.1
63 stars 10 forks source link

Add an option to include magnetometer #1

Open AdrianEddy opened 1 year ago

AdrianEddy commented 1 year ago

Magnetometer readings are useful to calculate better orientation, so it would be nice to have an setting to enable logging magnetometer too

VladimirP1 commented 1 year ago

The code is actually logging quantized and compressed using rans encoding angular acceleration values. AHRS is running onboard. This means this would also require mag support in the built-in AHRS and mag calibration support.

Will look into this after implemention accel calibration (currently uncalibrated), it should be pretty similar to mag calibration.