【发布时间】:2014-12-18 06:29:41
【问题描述】:
我正在尝试从 iPhone 记录每一次 GPS 更新,但刷新时间不稳定:
NSTimeInterval lastEventInterval = [lastLocation.timestamp
timeIntervalSinceDate:previousLocation.timestamp];
结果:
Internal Iphone 4S 1Hz GPS
981ms new position
1015ms new position
1610ms new position
872ms new positon
1023ms new position
External Bluetooth 10 hz GPS
122ms new position
191ms new position
325ms new position
98ms new position
166ms new position
所以使用 Android 和 location.getTime() 我可以完全准确地刷新
Internal Motorola Rarz 1Hz GPS
1000ms new position
1000ms new position
1000ms new position
1000..
External Bluetooth 10 hz GPS
100ms new position
100ms new position
100ms new position
100ms..
【问题讨论】: