Recent Moving Average Pace
· v0.0.3
About
Provides an approximation of the moving average using an exponential average.
This is useful for amateur runners like me that do not want the complete run average but find the instantaneous pace too variable when trying to aim for a constant pace. The intention is to have an approximation to the current stable pace, but reject bad gps data + stopping for traffic.
How it works
exponential smoothing to provides a pace that is representative of the current average but more responsive to a change in pace (i.e. hill) than waiting for a rolling mean.
The weighting is setup to try and reflect an average of 30 to 50s worth of data (varies depending on changes in pace) which for me is perfect for a flat run - This can now be fine tuned in the settings menu.
The initial moving average is seeded from the first pace value (which is before start is pressed).
NOTE : An exponential average is more reactive to change in the ternd then a rolling average, but is not as accurate.
It also requires less work than maintaining a rolling average so should have less of an impact on battery live.
Validation:
- Rejects values where there is no speed (happens when no gps signal - shows --:--)
- Only accepts pace in the range 2m/km to 20m/km (otherwise shows ##:##)
What's new
0.0.3
Add connectiq configuration screen
- use Imperial to change output to imerial units
- Allow setting the weighting of the exponential average
0.0.2
Slow limit from 15km/m to 20km/m to allow walking
Label "Moving Average Pace" to "Mov Avg Pace" to fit on 4 datascreen layout