【发布时间】:2012-06-07 10:28:45
【问题描述】:
请在这个寻找被 iPhone 移动的距离的过程中提出一些起点。目前系统对精度的要求是cm,位移可以是3D。
我已经做的是
1. 尝试使用声音来计算两部 iPhone 之间的距离,但我只需要使用一部 iPhone 计算距离,即需要位移。
2.尝试了CMMotionManager及其加速度计数据,但接收到的值无济于事。
我认为我需要一个好的过滤器来从垃圾中获取有用的数据。我已经使用了Kalman Filter 并通过了链接
iphone accelerometer speed and distance,
How to calculate distance using accelerometer using iphone sdk?,
How do I measure the distance traveled by an iPhone using the accelerometer?,
Basic calculus behind this problem is in the expression
尝试DCT-II algorithm 和Multidimensional DCTs 过滤数据。
我不知道我错过了什么,或者我应该从这里去哪里,因为很难相信没有人使用加速度计来达到这样的精度,因为有so many practical examples 用于更高的精度。
请给我一些建议,建议摆脱目前的情况。
【问题讨论】:
标签: iphone ios filter accelerometer cmmotionmanager