跟踪iphone的小动作,没有GPS [英] track small movements of iphone with no GPS

查看:122
本文介绍了跟踪iphone的小动作,没有GPS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须为iphone编写一个应用程序,它可以跟踪iPhone本身的移动情况,并且可以在不使用GPS的情况下给定它的初始位置。也就是说,我只能使用陀螺仪和加速度计提供的数据。我需要测量的距离相当小,我要找的精度最高为40-50cm(〜2英尺)。

这可能吗?如果是这样,那么最好的办法是什么?此外,您是否知道已经实施过这些项目的现有项目(可能还有开源项目)?

非常感谢!

如果您将加速度整合两次,您可以获得位置,但错误非常可怕。这在实践中是无用的。



这是解释为什么(Google技术讲座)在23:20。我强烈推荐这个视频。



我回答了类似的问题这里此处


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!

解决方案

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.

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

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