Commit Graph

74 Commits

Author SHA1 Message Date
Erik Botö
2c0eb835d4 Fix import of HRV from Fit files where single records occur (#3323)
* FitRideFile: handle single values in decodeHRV()
Currently only records of type ListValue are handled, but single
RR-intervals can also come as type SingleValue. Before such records
were silently ignored.
* FitRideFile: Unify indentation of decodeHRV()
The indentation before was a mix of tabs and spaces, which made the code
quite a challenge to read. This unifies to use 4 spaces at least
throughout the function.
* Added test file
Fixes #3297
2020-01-28 20:19:53 -03:00
Poncho
40d03c4402 Add New Device IDs for FIT files (#3315)
add Garmin Edge 830
add Stages Cycling
Add test file for Garmin Edge 830 with Stages Cycling power meter
2020-01-26 18:52:13 -03:00
Ale Martinez
5bd4404279 Avoid endless loop on FIT files unknown type and negative size
Includes a test file to reproduce the issue.
Fixes #3229
2019-12-03 14:45:47 -03:00
Ale Martinez
675cbcbe58 Add Tacx Neo Bike Trainer to ANT IDs
Contributed by Pavel Vasilyev
Fixes #3221
2019-11-24 09:21:38 -03:00
Ale Martinez
45e73f7d34 Added Navicoach O-Synce sample FIT files
These uses non-interleaved mode for session records, we need to do
regression tests on these files for solutions to #3211
2019-11-21 13:05:05 -03:00
Ale Martinez
5383430b19 FitRideFile - Handle resync when HRM is unbucled
Fixes #3059
2019-11-21 09:41:34 -03:00
Ale Martinez
5cb0ed5b35 Added sample fit file for #3059 2019-11-21 09:37:13 -03:00
Alejandro Martinez
0b0f99889e Enable import of XDATA series from CSV files (#3179)
* Enable import of XDATA series from CSV files
Since XDATA series are preserved across merges this allows to add
arbitrary XDATA series to any activity.
Sample WEATHER file is included for testing.
Sample swim file is also included, once imported set Sport=Swim and use
Fix Lap Swim with pool length=25 to rebuild standard series and laps
Fixes #2010 item 4.

* FixLapSwim - Alternative way to store pauses in XData
Some devices s.t. Moov Now generates a CSV with REST field
after each length. FixLapSwim now can use this alternative
way to express pauses and to mark end of laps.
This is intended to be used together with XDATA csv import.
A Moov Now csv file modified to comply with our format is
added as an example to test folder.
2019-10-10 23:16:22 -03:00
Ale Martinez
6f50bc74e3 Garmin Fenix 5/6 new firmware uses enhanced speed and altitud fields
This maps them to correspoding standard fields
Fixes #3161 and #3168
2019-09-20 17:16:55 -03:00
Ale Martinez
8facce909a Add Banister and Performance for Running Power
- Performances are computed independently for Rides and Runs in Estimator
- Running Performances are shown in LTM Charts When all selected activities
  are runs for a Performance curve
- Banister models uses Performances from activities were score > 0
  and for the same date with matching sport, so a Banister model based
  on BikeScore/BikeStress will include only rides while one based on
  GOVSS will include only runs
- Banister (Run) chart based on GOVSS metric added for testing
2019-04-23 18:22:36 -03:00
Ale Martinez
44d17a606b Added PowerInWatts extension to GPX Parser
Fixes #3084
2019-04-23 12:13:30 -03:00
Ale Martinez
f817692659 Pad missing altitude in FIT file records with previous value
Previous behavior is to pad with zeroes which inflates Elevation Gain
Fixes #3070
Fixes #3067
Includes test file
2019-04-05 20:48:13 -03:00
grauser
9bb0aebe46 Add test files for Firstbeat/Garmin session metrics Pull request #2986 2019-01-01 22:02:08 +01:00
Mark Liversedge
475288d427 aerolab tests rename directory 2018-10-03 22:03:10 +01:00
Mark Liversedge
5ce7b3b054 Aerolab Test Files
Contributed by:
  * Nate Lesniewski
  * Tom Anhalt
  * Juan Benjumea
2018-10-03 18:55:57 +01:00
Ale Martinez
bbe8056c45 Add Hrv4Training sample file with 12h time format
Also fix PM times
2018-07-25 11:10:00 -03:00
Alejandro Martinez
5733d821bf HRV Measures - Direct import from HRV4Training for Android
Android version generates date and time instead of a combined timestamp
of measurement, even worse date is not in ISO 8061 format in the contributed
files... Let's hope it does not change with locale.
2017-10-04 16:12:37 -03:00
Alejandro Martinez
7d9aab2e41 HRV Measures - Direct import from EliteHRV CSV files
Test file contributed by Martin Wifling
2017-10-02 22:16:34 -03:00
Alejandro Martinez
c5cf5e102e Add support for R-R txt files import (HRV)
Fixes #2613
Test files contributed by forum users Mike and Ron
2017-09-05 17:14:16 -03:00
Alejandro Martinez
8a29e8a350 HRV Measures example file and format doc 2017-07-28 11:02:16 -03:00
Alejandro Martinez
4bde63bca2 Added Open Water Garming 920xt test file
Contributed by JulianM forum user
2017-05-29 14:23:33 -03:00
Alejandro Martinez
2340b04196 Added test chart using vector formulas
Tanda marathon prediction and Acute/Chronic mileage ratio formulas
use the new syntax for date rantes [[Date_From:Date_To]]
2017-04-25 13:52:59 -03:00
Alejandro Martinez
2d00b69ff1 Adds Peak Pace Hr metrics
Useful to track Pace to Hr relationships for running, similar
to Peak Power Hr metrics, both used in a Sample chart based on
https://alancouzens.com/blog/VO2Scores.html
2017-04-10 08:48:45 -03:00
Joern
f1a4f82552 Improve BodyMeasures - CSV Import
... allow "date" in ISO8601 as an alternative to "ts" timestamp from Epoch
... update documentation / provide sample files
2017-04-08 17:40:18 +02:00
Mark Liversedge
c9c72bf7d1 Test rides with HRV data
.. from "Pepe Lisbon" on the google group forum

[skip ci]
2017-03-06 12:09:04 +00:00
Leif Warland
cfe2a08e33 Added FIT file to test HRV reading. 2017-01-29 21:23:01 +01:00
Alejandro Martinez
7e10f64368 Fixed SML lap swimming files import when using drill mode
Fixes #2198
2016-11-24 11:17:39 -03:00
grauser
4c43d0a873 Pwx : Add test file with Garmin Cycling Dynamics
fix #2100
2016-09-28 07:11:37 +01:00
Mark Liversedge
8501cf2037 Add Row Perfect 3 sample file
.. to the tests/rides directory
2016-07-19 15:43:23 +01:00
Alejandro Martinez
9111b8384e Moved sample swims and runs to separate folders
parallel to rides folder
2016-07-13 10:42:46 -03:00
Mark Liversedge
0c8231c218 XDATA Fix Memory Leak and Example Weather File
.. there was a memory leak in RideFile and FitRideFile

.. added a test file with weather data that can be used to
   test XDATA processing (it has 10 weather points with
   wind, humidity etc).
2016-06-20 09:59:31 +01:00
Alejandro Martinez
a6aa5547d4 Changed Interval generation for Lap swimming FIT files
Simpler and more robust lap alignment
Fixed for empty lengths due to false starts and
pauses in some devices s.t. Garmin 910xt
Added 2 contributed test files
2016-05-31 21:23:03 -03:00
Mark Liversedge
a6f328c459 R Use List not Pairlist (Part 2 of 2)
.. completes the updates to RTool.cpp

.. as predicted by forming the pmc data.frame via an S3
   list instead of a pair list the merge() function works
   properly and column names are retained.
2016-05-26 21:19:52 +01:00
Mark Liversedge
663e5aca1a Add Stress TSS v cTSS .gchart example
.. to the test directory.
2016-05-24 12:07:08 +01:00
Mark Liversedge
64b5580c31 CP/W' estimste chart added
.. to tests/charts

[skip ci]
2016-05-23 20:49:31 +01:00
Mark Liversedge
972919fb87 Some .gcharts to test
.. added to test/charts

[skip ci]
2016-05-23 15:34:31 +01:00
Alejandro Martinez
f7dc38bcfd Fixed HRV to HR in SML files
To avoid HR gaps when < 60 bpm
Added test file with HRV and no HR
2016-05-03 19:19:42 -03:00
Mark Liversedge
6363d12792 ERG File Properties "FILENAME" => "FILE NAME"
.. the save function in the workout editor erroneously
   used a field name of FILENAME when it should have
   been FILE NAME.
2016-01-23 10:30:11 +00:00
Mark Liversedge
3dff6193cb Test Workouts Make them possible !
.. fix the workouts that are badly scaled to ensure
   that they are actually workable.

.. they can still be used for testing functionality.
2016-01-23 10:25:22 +00:00
Irvin Sirotić
70c03e8b5d TrainingPeaks PWX support L/R balance
.. on import and export, using the "pwrright" element.

.. this is not part of the public PWX schema but has
   been used by ipbike when writing PWX, and may or may
   not be supported by TrainingPeaks.com
2016-01-15 16:24:56 +00:00
Mark Liversedge
d3a8d5bdc1 Zwift Workout Test Files
.. a couple of files in Zwift format to use for
   testing support for importing files created
   by the Zwift workout editor.
2016-01-08 11:15:42 +00:00
Mark Liversedge
90855a5ec6 BSX Test File from a Ramp Test
.. thanks to Neil Pugh for the example. Its also quite
   interesting to see SMO2 respond to the test.
2016-01-04 14:34:43 +00:00
Mark Liversedge
96eb3226b1 More test charts
.. aggregate using a formula
.. modality using formula
2015-12-23 16:28:03 +00:00
Mark Liversedge
2803c8659b NA value and Min Temperature metric
.. allow NA to be used anywhere and skipped on
   the metric trend chart.

.. add a min temperature metric

.. add a chart for tracking temperatures
2015-12-03 14:58:38 +00:00
Alejandro Martinez
a1856406db Add VDOT and Triathlon Run Splits sample chart 2015-11-28 22:11:50 -03:00
Alejandro Martinez
6b082a1ebd Added sample chart using VDOT and vdottime formula
Also fixed comment in rTSS and formula for VDOT
2015-11-28 11:06:57 -03:00
Alejandro Martinez
a381c17ea9 Added sample chart to compare GOVSS and rTSS
rTSS = 110.78 * (Hours^1.025) * (IF^2)
from http://forum.slowtwitch.com/gforum.cgi?post=1730370#1730370
xPace is used as a proxy for NGP so IF = (60/xPace)/CV
2015-11-27 20:28:14 -03:00
Mark Liversedge
48642e66e3 Fix 3DP file import 'hang'
.. the resampling code caused issues (not 100% sure why) so
   reimplemented using the resampling method from Txt file
   processing (also for Computrainers).

.. we know that approach is accurate since it accumulates
   work and resamples to 1s intervals precisely.

.. two regression impacts; we no longer import the virtual
   altitude and sample rate is 1s not 250ms.
2015-11-25 11:58:40 +00:00
Alejandro Martinez
c87336a18c Fixes TcxParser for HRM Swim files
They include one Trackpoint per second with HR,
but distance only once per length.
2015-11-24 21:29:23 -03:00
Alejandro Martinez
66ffaee5db SML Lap Swimming support
Samples of swimming type are used to update distance and speed
of periodic samples, cadence is computed counting Stroke events.
Includes test file contributed by Serban Mestecaneanu
2015-11-19 21:22:38 -03:00