GPS Speed iOS — open-source measurement components

SwiftLocation — Copyright (c) 2023 Daniele Margutti — MIT
Repository: https://github.com/malcommac/SwiftLocation
Pinned commit: 64620973d0c19043845e82eac9ac1c1442537ce1
The complete SwiftLocation runtime is bundled as a local Swift package.
GPS Speed modifications: serialize AsyncStream cancellation, keep monitoring/request setup on MainActor, disable persistent location replay, complete permission continuations exactly once including cancellation, and forward macOS monitoring delegate events used by the regression tests.

Speedometer — Copyright (c) 2018-2020 Marcel Kraus — MIT
Repository: https://github.com/marcelkraus/speedometer
Pinned commit: 4317a2889f61cd94f21d95c02625770be5fa02fc
ReportedSpeedometer.swift adapts the direct platform speed-to-display path from RootViewController.swift. GPS Speed adds time/finite/range checks and separates it from route validation.

LocoKit2 — Matt Greenfield — Mozilla Public License 2.0
Repository: https://github.com/sobri909/LocoKit2
Pinned commit: 04bdba8228610553104c879f8bff95ab763e6210
LocationKalmanFilter.swift derives the position/velocity state model from Samplers/KalmanFilter.swift. GPS Speed adapts it to local metre coordinates and two independent 2x2 axes so no Surge or iOS 18 dependency is required. Invalid/missing native velocity is not treated as a measured zero. Adds uncertainty, gap, jitter and teleport checks. This is a modified component, not an unchanged upstream release.

The exact modified MPL-covered source is available here in the app: Settings > Open-source components > Location filter. Use Share to save its Source Code Form. The full MPL 2.0 license is available beside it. No fee or account is required. All recipients may use these files under their listed licenses.

Sources of all SwiftLocation modifications and both adapted measurement components are included in GPS-Speed-measurement-sources.zip beside these licenses. They can be shared directly from the app.
