iOS:3D 空间中的运动精度 [英] iOS: Movement Precision in 3D Space

查看:28
本文介绍了iOS:3D 空间中的运动精度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

据我所知,GPS 的准确性有限.是否可以在 3D 空间中为一个人获得更精确的位置?

From what I understand, GPS has limited accuracy. Is it possible to get a more precise location for a person in 3D space?

我打算编写一个应用程序,让用户可以带着手机向任何方向移动,但只需要移动几英尺.有没有什么技术,比如加速度计和陀螺仪,可以达到这种程度的精度?

I'm planning to write an application where users will move with their phones in any direction, but only need to move a few feet. Is there any technique, maybe with the accelerometer and gyroscope that would enable this degree of accuracy?

例如,用户将手机平放(使手机底部与地板平行).在屏幕上绘制了一些东西,当人向前、向后和左右走时,它不会随着屏幕"移动.因此,该对象似乎是不可移动的,只有将手机放在 3D 空间中的正确位置才能发现.

For example, the user holds the phone flat (so that the bottom of the phone runs parallel with the floor). There is something drawn on-screen, which doesn't move "with the screen" as the person walks forward, backward, and side-to-side. Thus, the object appears to be unmoveable, and only discoverable by having the phone in the correct position in 3D space.

我不需要任何人来布置一些编码,只要给我一个简短的了解,如果通过一些努力工作,这甚至是可能的.

I don't need anyone to lay out some coding, just give me a brief understanding if, with some hard work, this could even be possible.

谢谢!

德里克

推荐答案

不,不是真的.如果您对加速度计值进行两次积分,您将获得位置,但错误是可怕的.实践中没用.

No, not really. If you integrate the accelerometer values 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.

您实际上可以做的是通过更改手机的方向来发现您的隐藏对象".仅使用加速度计和指南针就可以很好地工作.这正是您在 colechristensen 发布的视频中看到的内容.

What you actually could do is to discover your "hidden object" by changing the orientation of the phone. That works pretty well with just accelerometers and compass. This is exactly what you see in the video posted by colechristensen.

这篇关于iOS:3D 空间中的运动精度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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