espruino / espruino/BangleApps
[run v0.17] Distance is wrong
- Dominant language
- JavaScript
- Stars
- 571
- Forks
- 1.3k
- Avg merge
- 17h 38m
- Merged PRs (30d)
- 17
Description
### Affected hardware version
Bangle 2
### Your firmware version
2v19
### The bug
Distance in kilometers is pretty much wrong.
a) On startup, very frequently large distance is added when acquiring GPS fix. It may be distance to previous GPS fix or something like that.
b) When stationary, random position noise from GPS means that distance is growing quite rapidly. [Possible solution might be to test distance from last point; if it is less then 10m, ignore GPS measurement. if it is more, save current position as last point and add the distance].
c) When user returns to the clock, track recording seems to continue but distance is not accounted properly. Straight-line distance is taken from last point when Run was running, or something like that. [Possible solution might be for "Recorder" to do the distance calculation, and make "Run" ask "Recorder" for distance.]
### Installed apps
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.