Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
316 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 Answer

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...