Header, Roll, Feed

I would like to know how to get the title, step, rotation angles that determine the position of the Android device, if possible. Do not take into account device-specific parts. Links to useful documentation are also valuable. Thank!

+3
source share
1 answer

I do not have an exact solution, but the solution with a full hole includes the TRIAD algorithm for combining a vector with a magnetometer (compass) and an accelerometer. This Wikipedia article is examined in detail in it.

, "" , . "" "". -, , , "".

/ , - . , .

EDIT: - Android-, , . Sensor TYPE_ORIENTATION SensorManager. , . , .

+2

Source: https://habr.com/ru/post/1739165/


All Articles