-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get Cadence field failed when Stryd Power IQ app installed #48
Comments
Hi @xjack913 My money is on it being related to Issue #42 Except related to cadence rather than heart rate i.e.
Though I'll need to check this out more thoroughly! |
OK, so doesn't look like it is similar to #42 Looking at the record messages: var_dump($pFFA->data_mesgs['record']['altitude']);
// array(1962) { [1522152947]=> int(6) ...
var_dump($pFFA->data_mesgs['record']['speed']);
// array(1962) { [1522152947]=> float(2.986) ... I notice that they are indexed with the timestamps. However the cadence array is the right size (i.e. 1,962 data points), but they are all zeroes and not indexed using timestamps: var_dump($pFFA->data_mesgs['record']['cadence']);
// array(1962) { [0]=> int(0) [1]=> int(0) [2]=> int(0) ... I'll need to look into this further to figure out what's going on... Adrian. |
It was due to developer data overwriting native fields. For some reason the dev data contained just a bunch of zeroes. Give v3.2.0 a whirl, all changes are committed in the master branch so you can just download the latest phpFITFileAnalysis.php if you're not using Composer. Should work 🤞 |
@adriangibbons Thank you very much. All cadence values appear at v3.2.0! |
Hi |
Hi - assuming you are using the latest version (3.2.0), could you share a .FIT file? You may need to change the extension of the file to .txt so that Github will let you attach it! Thank you |
cadence: [1531521159] => 0 power: [0] => 0 thanks. |
Hi @cklong2kbomdic - sorry I haven't had time to look at this. I guess you're saying that the power array needs to be indexed using the same as other fields e.g. cadence is using timestamp in your example above? Have you been able to fix this yourself? Cheers, Adrian. |
Hi,
All values of cadence filed are 0, when Stryd Power IQ app installed. Could you handle this problem? Thanks.
Stryd Power IQ app link:
https://apps.garmin.com/en-US/apps/660a581e-5301-460c-8f2f-034c8b6dc90f
The activity with Stryd Power IQ app:
activityWithStydPowerIQApp.fit.txt
The text was updated successfully, but these errors were encountered: