iOS: Movement Precision in 3D Space

Derek picture Derek · Apr 5, 2011 · Viewed 18k times · Source

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

Answer

Ali picture Ali · Apr 5, 2011

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.