Datafield: Average pace with trend indication

Datafield: Average pace with trend indication


Just put yet another pace field on ConnectIQ store. The basic idea of the field is to show an average pace along with an indication of the trend where the trend shows if you are faster or slower than the average.

It is configurable with the following settings:

* Average pace period
* Trend pace period

Method/algorithm:
* Base the average on current speed info
* Base the average on the delta distance from one second to another
* Base the average on the total distance over the period

* Possibility to select a trimmed average

It is possible to compare all three methods running in debug mode by logging to a file. Please read question 8 in https://forums.garmin.com/showthread.php?339891 for more information about log files.

Source code available on github