Ios 不准确的GPS时间戳
我正在尝试记录iphone上的每个GPS更新,我的刷新时间不稳定:Ios 不准确的GPS时间戳,ios,gps,timestamp,clock,Ios,Gps,Timestamp,Clock,我正在尝试记录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
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..
以下问题可能有助于解决您的具体问题。检查@pcoving答案。这似乎是正确的答案。我不是在这里抄袭他的答案,而是给你一个链接来检查
我不知道在寻找高频刷新时,哪里可以帮助我找到低频刷新的代码目标