Announcement

Collapse
No announcement yet.

Garmin GLO and iOS CoreLocation

Collapse
X
  • Time
  • Show
Clear All
new posts

  • Garmin GLO and iOS CoreLocation

    Hello,

    I have been researching my Garmin GLO unit and the GPS data/service it provides via Bluetooth to my iOS devices. I am trying to confirm my basic understanding, and hoping others here can confirm or help.
    • Once the GLO is connected (via Bluetooth), it provides GPS to iOS
      • This GPS data is available through CoreLocation services/functions
    • The advantage is that the standard GPS services operate at 1Hz, and the GLO operates at ~4Hz
      • I'm attempting to use in an application involving a high rate of speed; thus, 4Hz sampling would be much preferable
    • How can I confirm I am getting ~4Hz?
      • Is there a specific function that I can use/call?
      • Or, do I just establish a process (e.g. a Timer) that executes every tenth of a second (0.1 sec) and examine the timestamp provided (through CoreLocation)?
        • e.g.
          runningTimer = Timer.scheduledTimer(timeInterval: 0.1, target: self, selector: #selector(UpdateRunningTimer), userInfo: nil, repeats: true)

          Within UpdateRunningTimer, can I check the location timestamp to confirm how often the GPS data is provided?


    Thanks for any feedback and apologies for my limited understanding.
Working...
X