Derived metric producers: max speed, average HR, average cadence, normalised power #65
Labels
No labels
area:companion
area:docs
area:shared
area:tooling
area:watchapp
blocker
kind:chore
kind:feature
kind:spike
kind:test
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
robert/PedalPebble#65
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Give every
FieldIda producer. #58 defines a 22-entry enum; several of those fields have nothing anywhere in the plan that computes them, so they could only ever render--.Missing producers:
MAX_SPEED,AVG_HR,HR_ZONE,AVG_CADENCE,NORM_POWER.Acceptance criteria
MAX_SPEEDtracked over the ride, from the arbitrated speed source, ignoring fixes rejected by the accuracy gate in #17AVG_HRaccumulated on the phone from the batchedHR_SAMPLESuplink (#66), over moving time, consistent with the "stopped" definition in #69HR_ZONEderived from the configured zones in #44; renders--when zones are unconfigured, never a guessed defaultAVG_CADENCEover moving time, excluding coasting - specify and document whether zero-cadence samples count, because both conventions existNORM_POWERby the standard method: 30 s rolling average, fourth power, mean, fourth root; needs at least 30 s of data before it reports anything other than--Files
companion/.../ride/DerivedMetrics.ktcompanion/.../ride/SessionState.ktNotes
See D28. This is the half of the contract rewrite that is code rather than schema.