在没有 GPS 的情况下跟踪 iPhone 的微小动作
我必须为 iPhone 编写一个应用程序,在给定初始位置的情况下跟踪 iPhone 本身的运动,而无需使用 GPS。也就是说,我只能使用陀螺仪和加速度计提供的数据。我需要测量的距离相当小,我寻求的精度最多为 40-50 厘米(约 2 英尺)。
这可能吗?如果是这样,最好的方法是什么?另外,您是否知道任何现有的(可能是开源的)项目已经实现了这一点?
多谢!
I have to write an application for iphone that tracks the movement of the iphone itself, given its initial position, without ever using GPS. That is, I can only use data provided by the gyroscope and the accelerometer. The distances I need to measure are rather small and the precision I'm looking for is 40-50cm (~2 feet) at the very most.
Is this possible? If so, what's the best way to go about it? Also, do you know of any existing (and possibly open source) projects that have implemented this already?
Thanks a lot!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果你对加速度进行两次积分,你就可以得到位置,但是误差是可怕的。它在实践中毫无用处。
这是原因的解释(Google 技术讲座) 23:20。我强烈推荐这个视频。
我在此处和这里。
If you integrate the acceleration twice you get position but the error is horrible. It is useless in practice.
Here is an explanation why (Google Tech Talk) at 23:20. I highly recommend this video.
I answered a similar question here and here.