• Joined on 2025-12-31
kyle pushed to main at kyle/vip-coordinator 2026-02-08 09:57:18 -08:00
b80ffd3ca1 fix: trip detection creating overlapping/micro trips (#23)
kyle commented on issue kyle/vip-coordinator#23 2026-02-08 09:57:04 -08:00
GPS Trip Detection, History & Playback

Fixed trip detection algorithm:

  1. Idle threshold 5min ? 10min - 11-min destination stop correctly splits into 2 trips, brief GPS gaps don't cause splits
  2. No more overlapping trips -…
kyle reopened issue kyle/vip-coordinator#23 2026-02-08 09:43:25 -08:00
GPS Trip Detection, History & Playback
kyle commented on issue kyle/vip-coordinator#23 2026-02-08 09:43:25 -08:00
GPS Trip Detection, History & Playback

positions.txt Here was a recent trip. But the image.pngperhaps…

kyle closed issue kyle/vip-coordinator#23 2026-02-08 09:29:58 -08:00
GPS Trip Detection, History & Playback
kyle commented on issue kyle/vip-coordinator#23 2026-02-08 09:29:53 -08:00
GPS Trip Detection, History & Playback

Implemented in cc3375e. All 5 phases complete:

Backend:

  • GpsTrip model + migration (TripStatus: ACTIVE/COMPLETED/PROCESSING/FAILED)
  • Auto-detect trips in syncPositions cron (5-min idle…
kyle pushed to main at kyle/vip-coordinator 2026-02-08 09:08:56 -08:00
cc3375ef85 feat: add GPS trip detection, history panel, and playback (#23)
kyle pushed to main at kyle/vip-coordinator 2026-02-08 08:39:06 -08:00
cb4a070ad9 fix: OSRM sparse data handling, frontend type mismatch, map jumping
kyle opened issue kyle/vip-coordinator#23 2026-02-08 08:37:16 -08:00
GPS Trip Detection, History & Playback
kyle closed issue kyle/vip-coordinator#21 2026-02-08 08:06:03 -08:00
Traccar inconsistency
kyle commented on issue kyle/vip-coordinator#21 2026-02-08 08:06:03 -08:00
Traccar inconsistency

Fixed with OSRM road-snapping (commit 33fda57)

Root cause: GPS routes were drawn as straight-line polylines between GPS points, cutting through buildings and non-existent roads. Mileage was…

kyle pushed to main at kyle/vip-coordinator 2026-02-08 08:05:48 -08:00
12b9361ae0 chore: add OSRM-related type definitions for GPS routes
kyle pushed to main at kyle/vip-coordinator 2026-02-08 08:05:37 -08:00
33fda57cc6 feat: add OSRM road-snapping for GPS routes and mileage (#21)
kyle commented on issue kyle/vip-coordinator#21 2026-02-08 07:55:22 -08:00
Traccar inconsistency

Is there any way that you can take the data points and tie the positions to the most likely route so we can get accurate mileage? As the user is driving a car (and not flying) this route is…

kyle reopened issue kyle/vip-coordinator#21 2026-02-08 07:53:27 -08:00
Traccar inconsistency
kyle closed issue kyle/vip-coordinator#22 2026-02-08 07:48:56 -08:00
Traccar to GPS Tracking page
kyle commented on issue kyle/vip-coordinator#22 2026-02-08 07:48:56 -08:00
Traccar to GPS Tracking page

Rewrote the GPS stats calculation to use stored GpsLocationHistory instead of Traccar summary API:

  • Haversine distance formula calculates actual route distance between consecutive GPS…
kyle pushed to main at kyle/vip-coordinator 2026-02-08 07:48:47 -08:00
d93919910b fix: rewrite GPS stats to calculate from stored history (#22)
kyle closed issue kyle/vip-coordinator#21 2026-02-08 07:43:32 -08:00
Traccar inconsistency
kyle commented on issue kyle/vip-coordinator#21 2026-02-08 07:43:32 -08:00
Traccar inconsistency

Investigated and fixed multiple causes of GPS gaps:

  1. Increased sync overlap buffer from 5s to 30s to catch late-arriving positions
  2. Added position history endpoint for route trail…