Skip to content

feat(context): Location.distanceTravelled - #620

Closed
Zeroupper wants to merge 1 commit into
mainfrom
feat/location-distance-travelled
Closed

Zeroupper wants to merge 1 commit into
mainfrom
feat/location-distance-travelled

Conversation

@Zeroupper

Copy link
Copy Markdown
Contributor

Adds Location.distanceTo, movedTo and static distanceTravelled(path) - sums consecutive segments in meters, skipping moves within the GPS accuracy of either fix.

Lets the study app sum daily distance from the raw location stream instead of Mobility.distanceTraveled, which is always 0 (mobility_features only keeps today's samples in RAM and its path window is broken).

Bumps carp_context_package to 2.1.2. Tested.

@Zeroupper

Copy link
Copy Markdown
Contributor Author

Wrong layer - distance belongs in mobility_features, fixed there: carp-dk/flutter-plugins#1306

@Zeroupper Zeroupper closed this Sep 16, 2026
@Zeroupper
Zeroupper deleted the feat/location-distance-travelled branch September 16, 2026 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant