简体   繁体   中英

iOS detect user movement without GPS

Is it possible to detect user movement via gyroscope? In general I need to calculate user's movement without GPS. I don't need to know user coordinates just something like this - 100 meters straight, turn left, 50 meters straight ect.

A gyroscrope measures changes in spatial orientation . Thus it can't tell you how far the user travelled. It can't even tell you if the user has turned right, since if the user also rotates the device left, you'll learn nothing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM