baldav/src-tauri
4aiman cd975b5640 GPS distance: estimate blind-GPS gaps by speed*time; savable gap setting
On stretches where the fix rate drops (dt > gapThresholdSec, incl. dead-
reckoning) the straight chord mis-measures the path, so computeStats now
estimates gap distance by avg(speed)*dt (capped at max speed; a tiny chord
over a long gap means the rider was stopped and the reported speed is stale
-> trust the position). A fast jump WITHOUT a time gap is a teleport glitch
and is dropped. Distance now depends only on ts + speed, not on the
`estimated` flag (which live points carry but DB rows don't), so the live
counter, Stop and recompute finally agree. Verified on a real ride: at
gapThreshold=30 -> 35.7 km / 1024 kcal (map-measured ~35 km); clean tracks
without gaps unchanged.

Settings: read GPS config on input+change (reliable on mobile), add a
"Save GPS settings" button and a "saved" toast so it's clear the value
persisted; changing gapThreshold + recompute now visibly applies.
2026-07-31 12:58:34 +03:00
..
capabilities GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
gen/android/app/src/main GPS: safe on-device recovery, net-kcal model, poll/watchPosition dedup 2026-07-29 15:35:18 +03:00
icons GPX export + GPS background recording fixes 2026-05-16 10:49:55 +03:00
src GPS: safe on-device recovery, net-kcal model, poll/watchPosition dedup 2026-07-29 15:35:18 +03:00
build.rs Seed products DB + Settings screen + build fixes 2026-05-14 17:35:29 +03:00
Cargo.lock GPS distance: estimate blind-GPS gaps by speed*time; savable gap setting 2026-07-31 12:58:34 +03:00
Cargo.toml GPS distance: estimate blind-GPS gaps by speed*time; savable gap setting 2026-07-31 12:58:34 +03:00
tauri.conf.json GPS distance: estimate blind-GPS gaps by speed*time; savable gap setting 2026-07-31 12:58:34 +03:00