Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
307 views
in Technique[技术] by (71.8m points)

iphone - iOS: Movement Precision in 3D Space

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?

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.

Thanks!

Derek

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...