在没有 GPS 的情况下跟踪 iphone 的小动作 [英] track small movements of iphone with no GPS

查看:25
本文介绍了在没有 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?

非常感谢!

推荐答案

如果你对加速度进行两次积分,你会得到位置,但错误是可怕的.实践中没用.

If you integrate the acceleration twice you get position but the error is horrible. It is useless in practice.

这是 23:20 的解释原因(Google 技术讲座).我强烈推荐这个视频.

Here is an explanation why (Google Tech Talk) at 23:20. I highly recommend this video.

我在这里此处.

这篇关于在没有 GPS 的情况下跟踪 iphone 的小动作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆