Hi, I think need some clarification on these orientation angles. Say my android phone is lying flat on the table, with the top pointing exactly to magnetic north, which, as far as I have understood, corresponds to 0 degrees azimuth (clockwise rotation round Z axis pointing out of the screen), 0 degrees roll (rotation around Y axis pointing out of the top of the device) and 0 degrees pitch (counterclockwise rotation around X axis pointing out of the left side of the device).
Now I want to change its orientation, so that it, after I have turned it, its orientation corresponds to A degrees azimuth, R degrees roll and P degrees of pitch. In /which order/ do I have to turn? I tried the order azimuth, pitch, roll and got some crazy results. I also saw there is another coordinate system with the z and x axis inversed (at http://developer.android.com/reference/android/hardware/SensorManager.html at "getOrientation"). Do I have to use this one? Please don't point me to the "getRotationMatrix"-methods, as I want to really understand what's going on (which I think is a little obscured here). In which order are the rotations performed to get this matrix? Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

