R&D project
GPS Sensor Tracking Service
Offline GPS distance tracking at 97% trip-meter accuracy
A Kotlin Android study that computes distance travelled from filtered GPS fixes and the Haversine formula — no map or Directions API. Road-tested at 97% versus a vehicle trip meter.
Abstract
GPSSensorTrackingService measures distance travelled using only the device GPS in offline mode. Fixes are filtered and summed with the Haversine formula. On a 2.00 km road route the app measured 1.94 km — 97% of the vehicle trip meter.
Problem
Field-survey and mileage apps that depend on routing APIs fail offline and often disagree with the dashboard.
Solution
A speed-aware tracking service that samples GPS, filters low-quality fixes, and accumulates Haversine segments. The repository publishes the road-test numbers and residual-error analysis.
Architecture
- Kotlin tracking service bound to the GPS sensor.
- Speed-aware sampling and accuracy filtering.
- Haversine accumulation; no external routing.
Capabilities
- Offline distance calculation.
- Road-test methodology versus vehicle trip meter.
- Transparent accuracy reporting (97% on the published route).
Audience
Field-survey, logistics, and insurance mileage products that must work without a map vendor.
Outcomes
- An evidence-backed accuracy study, not a marketing claim.
- Design input for Plugin.Maui.GeoLocator and OfflineSync field stacks.
- Kotlin
- GPS
- Offline
- Haversine