加速环境中的设备运动
我编写了一个显示俯仰和横滚姿态的应用程序(玻璃驾驶舱应用程序)。当我旋转或倾斜 iPhone/iPad 时,姿态会准确显示。当我乘坐飞机并旋转或倾斜设备时,它也会准确显示。现在,当我将设备靠在面板上并滚动飞机时,姿态不会准确改变 - 它根本不移动。这对我来说是奇怪的行为,我想知道这是否与影响设备中陀螺仪输出的飞机加速度有关。
任何见解都值得赞赏。
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 accurately. 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
兰迪,翻滚是一个一重力的动作,对吧?所以手机中的加速度计无法感知到加速度。
观看鲍勃·胡佛一边从水罐里倒一杯冰茶一边滚动他的伯劳鸟。
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.