When I call the following every 50 ms
if (Activity.getActivityInfo().currentCadence != null){ if (Activity.getActivityInfo().currentCadence > 0){ cadence = Activity.getActivityInfo().currentCadence; // calculate distance } }
And record this data every second in a FIT file this cadence value is totally different than the Record.cadence[rpm] default value. See the data below.
How can get the correct data that is recorded as cadence by default?
Default | Recorded |
0 | 33 |
0 | 31 |
0 | 15 |
34 | 7 |
34 | 3 |
31 | 1 |
31 | 0 |
30 | 0 |
28 | 0 |
28 | 28 |
29 | 28 |
28 | 28 |
28 | 14 |
28 | 7 |
28 | 3 |
28 | 1 |
29 | 0 |
28 | 0 |
28 | 29 |
29 | 29 |
29 | 14 |
29 | 7 |
30 | 3 |
30 | 1 |