I have an array with XYZ values from accelerometer and I have problem, that the axies are chanhing relative to world coordinates. I also have gyroscope, that thru some calculations I am making returns an angle in radians. The qestion is how to align accelerometer axies to world coordinates. O have googled, but I could only find vector mathematics or matricies, that I cannot recreate in android app, that I am making.
Sorry for my English.