M2-09: Speed and distance from the track #36
Labels
No labels
area/agent
area/capture
area/editor
area/geo
area/security
area/sync
area/transcription
area/ui
area/vault
area/voice-memos
blocked
milestone/M1
milestone/M2
milestone/M3
milestone/M4
needs-decision
needs-hardware
p0
p1
p2
type/bug
type/enhancement
type/feature
type/idea
type/infrastructure
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Stash/stash-ios#36
Loading…
Add table
Add a link
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?
Derive distance, duration and speed from the track and show them on the detail view.
Wes: "Gives me speed and route, and things to do with that data later." The route is M2-08; this
is the other half, and it is the thing the data was actually wanted for.
Scope
second source of truth that can disagree with it.
Accuracy is the whole problem here
GPS noise inflates distance. A phone standing still produces scattered fixes that a naive
point-to-point sum reads as movement, and over forty minutes that is not a rounding error.
CLLocationcarrieshorizontalAccuracyandspeed, and M2-06 records both precisely so thisissue can use them. The plan should say which filter it applies and why — an accuracy threshold, a
minimum displacement, the device's own speed reading, or some combination — and the tests should
include a synthetic stationary track that must report approximately zero distance.
A number that is confidently wrong is worse than no number. If a filter cannot be made to
behave on real walk data, show distance and drop speed rather than shipping something that reads
as authoritative.
Done when
Milestone 2 of the Stash v3 rebuild. M2 is still app-side — no sync, no account, no server. It
turns a list of memos into something you can open, listen to, read and see the route of. Sync
arrives in M3. There is no
milestone/M2label yet (creating org labels needs owner rights), sothe title carries the milestone.
Working agreement for every issue in this repo: feature branch, tested before the PR opens
(on-device where the label says so), then Wes reviews the PR and we walk the code together. Docs
update in the same commit. A PR that takes more than 20 minutes to review is too big — say so and
split it.