【问题标题】:IOS inaccurate GPS timestampsIOS 不准确的 GPS 时间戳
【发布时间】: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..

【问题讨论】:

    标签: ios gps timestamp clock


    【解决方案1】:

    以下问题可能有助于解决您的具体问题。检查@pcoving 答案。这似乎是正确的答案。我没有在这里复制他的答案,而是给你链接来检查。

    Periodic iOS background location updates

    【讨论】:

    • 当我在寻找高频刷新时,我不明白哪里可以帮助我找到低频刷新的代码目标
    猜你喜欢
    • 2017-05-27
    • 1970-01-01
    • 1970-01-01
    • 2020-09-09
    • 2022-01-16
    • 2012-09-01
    • 1970-01-01
    • 2012-09-14
    • 2015-06-07
    相关资源
    最近更新 更多