Skip to content

Location: Fix speed calculation for sub-second updates - #3737

Merged
mar-v-in merged 2 commits into
microg:masterfrom
DaVinci9196:location-subsecond-speed
Sep 10, 2026
Merged

mar-v-in merged 2 commits into
microg:masterfrom
DaVinci9196:location-subsecond-speed

Conversation

@DaVinci9196

Copy link
Copy Markdown
Contributor

Calculate derived speed using millisecond precision and only set it
for valid time deltas and finite results.

This prevents Infinity or NaN speed values from reaching location clients.

@mar-v-in mar-v-in added this to the 0.3.17 milestone Aug 25, 2026
@mar-v-in
mar-v-in merged commit 4c74e5a into microg:master Sep 10, 2026
2 checks passed
@DaVinci9196
DaVinci9196 deleted the location-subsecond-speed branch September 14, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants