Thursday, August 29, 2013

[android-developers] Rotation Matrix and Earth's Geomagnetic Field

Does RotationVector sensor internally use magnetic sensor to determine the final values? If yes, does it account for Earth's Geomagnetic field?

There two methods in SensorManager to determine rotation, i.e, SensorManager.getRotationMatrixFromVector and SensorManager.getRotationMatrix. Does any of these methods compensates for Earth's Geomagnetic field? If yes, which method is more accurate. If not, how can Geomagnetic field be compensated? Can it be simply adjusted by subtracting the offset in input magnetic sensor values to getRotationMatrix? How can it be done with Rotation Vector sensor?



--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment