Auto-pause: one definition of stopped, in Phase 2 #69
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#69
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
Define "stopped" once, in the phase that first needs it.
FR-M8 (auto-pause) sat in Phase 5 as "behaviour not yet specified", while #17 in Phase 2 already needed stop detection for moving time and the moving average. Two phases apart, that becomes two different definitions of stopped - and rides where the average speed and the ride timer disagree about how long you were moving.
Acceptance criteria
StopDetector, consumed by moving-time accumulation, the moving average, the GPX recording and auto-pauseRIDE_STATE, and a manual pause always beats an automatic resumeFiles
companion/.../ride/StopDetector.ktcompanion/.../location/SpeedPipeline.ktNotes
See D35. #44 keeps only the setting that turns auto-pause on and off; the behaviour lives here.