Sensor: Add RotationVectorSensor2
Some ICS apps (namely, Google Maps) expects a rotation vector to be available. Newer devices, this is provided by either Android's sensor fusion (requires Gyro) or by hardware sensor fusion (MPL). Older devices will lack this virtual sensor and compass in Google Maps will not work. To fix this, we can provide our own rotation vector sensor by converting the values from the orientation sensor. (They are basically the same information in different formats.) Thanks to Unhelpful for the help with related math. Change-Id: Id3bad65659174a08cfe945e9af6e48ca012a5135 (cherry-picked from ics) Change-Id: Ib0eeb683e3177d96b9b2c7bc2916b19ddaec8ae5
Loading
Please register or sign in to comment