2026-04-30 18:30 UTC
@Laberpferd@sueden.social please, do! I was thinking about taking the delta from the accelerometer to figure out if the device is resting - because it ain't never zero, but if the delta is small enough you can assume it is resting.
Replies (1)
-
@Laberpferd@sueden.social 2026-04-30 18:41
@tiopalada@socel.net Multipart Calibration starts by reading absolute acceleration in X,Y and Z axe of a device that has been sat to rest. This also nulls the gyroscopes SQR(x²+y²+z²) gives the local acceleration of earth that is close to 9,81m/s² Some claculations with tan() determine the angles that the device has currently relative to true flat or true upright Calibration finished, start tracking mode