Closed carins closed 9 years ago
Hi
I am using the compass ANE (v 1.39) to access the magnetic sensor (not for navigation purposes) but the sensor is constantly recalibrating.
After reading some documents of Android reference, I realised that is also possible to get the raw uncalibrated data through the SensorEvent class (Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED) besides the calibrated (Sensor.TYPE_MAGNETIC_FIELD).
Considering the behaviour of my app, I suppose that extension exposes only the calibrated data, correct? If so, is there any possibility of also including the uncalibrated data access in the MagneticFieldEvent of the ANE?
Thank you, Ana
I just wanted to let you know that we've added support for the uncalibrated and calibrated data to the extension available on our new site.
http://airnativeextensions.com/extension/com.distriqt.Compass
https://github.com/distriqt/ANE-Compass/issues/2
Hi
I am using the compass ANE (v 1.39) to access the magnetic sensor (not for navigation purposes) but the sensor is constantly recalibrating.
After reading some documents of Android reference, I realised that is also possible to get the raw uncalibrated data through the SensorEvent class (Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED) besides the calibrated (Sensor.TYPE_MAGNETIC_FIELD).
Considering the behaviour of my app, I suppose that extension exposes only the calibrated data, correct? If so, is there any possibility of also including the uncalibrated data access in the MagneticFieldEvent of the ANE?
Thank you, Ana