Prefer a FIT file's totalAscent over the stream estimate #154

Open
opened 2026-11-08 18:16:24 +00:00 by chris-kreidl · 1 comment
chris-kreidl commented 2026-11-08 18:16:24 +00:00 (Migrated from github.com)

Head units already compute ascent (barometric) and timer time. Consider preferring a FIT session's totalAscent over the stream estimate for Wahoo/Garmin files, where the device's figure is more trustworthy than smoothing. Not done: it means carrying file totals through RawRide. Add them to fixtures/rides/ and a test each when they turn up.

Moved from docs/PROGRESS.md → Follow-ups → Later on 2026-11-08.

Head units already compute ascent (barometric) and timer time. Consider preferring a FIT session's `totalAscent` over the stream estimate for Wahoo/Garmin files, where the device's figure is more trustworthy than smoothing. Not done: it means carrying file totals through `RawRide`. Add them to `fixtures/rides/` and a test each when they turn up. _Moved from docs/PROGRESS.md → Follow-ups → Later on 2026-11-08._
chris-kreidl commented 2026-11-08 20:08:48 +00:00 (Migrated from github.com)

What this is about. Elevation gain is computed from the altitude stream, smoothed. Wahoo and Garmin head units already work out total ascent from their barometer, and their figure is more trustworthy. The idea: use the FIT file's totalAscent when there is one.

Status (checked 2026-11-08): not built; the parser doesn't carry file totals.

Size: small to medium (carry file totals through RawRide, plus a test per device file). Low priority, since your rides mostly come from the phone app, which has no barometric total.

**What this is about.** Elevation gain is computed from the altitude stream, smoothed. Wahoo and Garmin head units already work out total ascent from their barometer, and their figure is more trustworthy. The idea: use the FIT file's `totalAscent` when there is one. **Status (checked 2026-11-08):** not built; the parser doesn't carry file totals. **Size:** small to medium (carry file totals through `RawRide`, plus a test per device file). Low priority, since your rides mostly come from the phone app, which has no barometric total.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/trainer#154
No description provided.