I wrote an app which displays pitch and roll attitude (a glass cockpit app). When I rotate or tilt the iPhone/iPad the attitude is displayed accurately. When I'm flying in an airplane and rotate or tilt the device it also displays accura开发者_C百科tely. Now, when I hold the device against the panel and roll the airplane, the attitude does not change accurately - it doesn't move at all. This is strange behavior to me and I wonder if it has something to do with the accelerations of the airplane affecting the output of the gyro in the device.
Any insight is appreciated.
Randy, a roll is a one-G maneuver, right? So there is no acceleration for the accelerometer in the phone to sense.
Watch Bob Hoover roll his Shrike while pouring a glass of iced tea from a pitcher.
精彩评论