Nothing is added to output file
Add "virtual" power to cycling TCX files
Brought to you by:
dkessler
Tried to run file to add power as per instructions: python tcx_vpower.py --kalman --mass 87 --verbose 08-30-2013CranleighEnglandUnitedKingdom.tcx
The output file simply repeats the inputfile entries, no additional field for power is added? I have attached the output file.
Only output during process:
Rider + bike mass: 87.0 kg
Total Time: None
Total Distance: None
Any clues as to where I might be going wrong?
Regards
Alex
Looks like the tcx file has the <Track> under a <Courses> hierarchy instead of the <Activities> hierarchy that TCX VPower is expecting. Shouldn't be too hard to tweak the tool so it supports both. Stay tuned.
Tweaked the code to find tracks regardless of parent elements. Appears to fix the problem, but can't say for certain without original input file. Please give this a go and let me know if it corrects the issue. Thanks.
That seems to have done the trick!
Many thanks for your help.