The accelerometer is raw by default. For magnetometer, use TYPE_MAGNETIC_FIELD_UNCALIBRATED
How to get raw accelerometer and Magnetometer data in Android?
-
23-06-2023 - |
Question
I know that, for gyroscopes, there exist TYPE_GYROSCOPE_UNCALIBRATED, which provide raw gyro data.
Does anything similar exist for accelerpmeter and magnetometer, or they are by default raw data?
La solution
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow