Commit Graph

106 Commits

Author SHA1 Message Date
grauser
6919b7fd13 FIT: improvement when we have values for same native type 2016-11-18 19:11:53 +01:00
grauser
c49bfce684 FIT : Initialise native and scale value for CIQ field 2016-11-15 23:19:25 +01:00
grauser
2c8dc17d6e FIT : Compatibility with first Moxy CIQ fields 2016-11-13 23:21:43 +01:00
grauser
bf93faab90 FIT : Changes in CIQ reading 2016-10-31 23:13:33 +01:00
Mark Liversedge
7c78c928a8 Reduce compiler warnings from gcc5
.. lots of warnings about unused global variables that
   are being used to call functions before main

.. a few other smaller nits that could be fixed easily

.. now get fewer warnings and more meaningful to then
   review and resolve them
2016-10-23 11:19:56 +01:00
grauser
ea50e015bd Fit : Small correction for native fields 2016-10-19 23:20:00 +02:00
grauser
b4f9b80f08 FIT : don't overide existing standard native field 2016-10-11 23:45:53 +02:00
grauser
fa481ba7b9 FIT: debug trace 2016-10-11 21:24:47 +02:00
grauser
491a624ee8 Fit : Use developer id and field num for XData too. 2016-10-02 11:12:06 +02:00
grauser
b061d16ae4 Fit : Two developer field can have the same field number
fix #2115
2016-10-02 10:40:15 +02:00
grauser
545c92247f FIT : Don't create interval for partial segment
fix #2089
2016-09-19 18:47:23 +02:00
grauser
81faf6ce89 FIT : Add FR630 and FR230 devices 2016-09-18 11:55:51 +02:00
grauser
be155e3636 FIT : Small correction in DeviceInfo 2016-09-18 00:26:21 +02:00
grauser
3bc3bbd95c FIT : ignore record field 87 (even in EXTRA) 2016-09-18 00:15:57 +02:00
grauser
0961753761 FIT : Keep track of field name for native deve field 2016-09-18 00:13:40 +02:00
grauser
8eab022ac3 FIT : Use offset and scale from DEVE fields 2016-09-17 23:55:06 +02:00
grauser
d68c7ddcbf FIT : Update cadence valeu with fractionnal value 2016-09-17 21:45:10 +02:00
grauser
1627d2ae15 FIT: Add an EXTRA XData serie for unsupported native fields. 2016-09-17 16:06:58 +02:00
Mark Liversedge
36df2e3aed Merge pull request #2052 from gernot-hochmuth/master
Fix calculation of minimum values of SmO2 and tHb and average of tHB
2016-09-16 22:10:48 +01:00
grauser
debc3e3bd9 FIT : Correct Field name for not supported native field 2016-09-14 20:08:27 +02:00
grauser
dfb0328002 FIT : Remove unused method 2016-09-13 22:18:52 +02:00
grauser
0f23cd4068 FIT : Use series symbol name for XData name (native fields) 2016-09-13 22:15:46 +02:00
grauser
f505d4fc6e Fit : Add a short label methode for native field 2016-09-08 00:33:49 +02:00
grauser
a8b782a2d2 FIT Developer Fields : Use only one deve fields as native 2016-09-07 23:52:17 +02:00
grauser
407e67fc4c FIT Developer Fields : Ignored native deve fields in XDATA 2016-09-07 23:34:02 +02:00
grauser
19aaa4ba25 FIT Developer Fields : Use native fields 2016-09-07 22:28:35 +02:00
Mark Liversedge
37c0f8a0c2 FIT Developer Fields native_field_num
.. extracting with a view to identifying special cases in
   the FIT developer fields.

.. in this instance the Moxy series have special values of
   54 and 57, but its not clear how we can handle this in a
   generic fashion (the whole thing is stinky).
2016-09-07 17:32:26 +01:00
grauser
977fbcd73d FitRideFile: Some corrections for developer fields 2016-09-06 22:20:05 +02:00
grauser
5db0e89dc4 FitRideFile: Developer fields can be float, string or int
- Honnor valueType
   - More than one fields can have the same name
2016-08-26 23:40:25 +02:00
Mark Liversedge
d654d91538 Add XData UNITS support Part 1 of 2
.. added to JSON file format, set when importing from RP3 and FIT files

.. primarily used by FIT developer fields that contain unit data

.. but we add units for file formats where we know them (as an english
   language string)

.. in part 2 we will add units to the datafilter expressions and the
   dialogs in the ride editor to let users edit unit names along with
   value names.
2016-08-26 09:27:08 +01:00
grauser
cf02bba3d2 FitRideFile: Add XData serie for Developer fields 2016-08-24 17:46:58 +02:00
Mark Liversedge
967ac7b77a Less Debug 2016-08-23 16:30:43 +01:00
grauser
5d9c8bd474 FitRideFile: Parse files with developer fields (FIT 2.0)
but don't use filed values yet
2016-08-21 22:41:22 +02:00
grauser
276b807d38 Remove debug logs 2016-08-19 23:20:01 +02:00
grauser
c023572932 FitRideFile : Read asynchronous Heart Rate data
fix #2001
2016-08-19 22:53:13 +02:00
gernot-hochmuth
bb439c9d58 Identification of Garmin Vivoactive and BSX Insight 2 in FIT-file import
A Garmin Vivoactive Sportswatch may be identified by its product code 1907.
A BSX Insight 2 Sensor may be identified by the manufacturer code 98 and the product code 2.

References #2040
please review
2016-08-13 15:24:02 +02:00
Kenta Okamoto
6b1c47508f Remove unnecessary spaces 2016-08-10 14:31:43 +09:00
Kenta Okamoto
e5d3fa3cf2 Add Pioneer SGX-CA500 FIT support 2016-08-10 14:25:12 +09:00
grauser
a9041e0211 RunMetrics : Add Average Running Vertical Oscillation and Ground Contact Time 2016-07-21 23:48:33 +02:00
grauser
7fff4ee5bb Fit: debug 2016-07-20 22:05:53 +02:00
grauser
0c9977ab05 Headwind : small correction : wind allready in km/h 2016-07-13 16:45:28 +02:00
grauser
dc7c9e352a FitRideFile: Changes in decodeDevice (not used) 2016-07-13 15:51:06 +02:00
Alejandro Martinez
33d441d3bd Added SWIM XData for pool swims
One record per length with 3 fields:
TYPE: 0-pause, 1-free, 2-back, 3-breast, 4-fly, 5-drill, 6-mixed, 7-IM
DURATION: seconds per length
STROKES: total strokes per length
Related to #2010
2016-07-12 20:44:06 -03:00
grauser
dc917ac0dd Fit : Convert cad to rcad if run is detected after records 2016-06-28 23:48:48 +02:00
grauser
a4a1eb18e9 Fit: Add Device types (Stryd and Wahoo) 2016-06-28 22:59:43 +02: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
grauser
7054e18eda FitRideFile : Weather data small correction 2016-06-19 23:24:32 +02:00
grauser
a4887caeaa FitRideFile : Add weather xdata 2016-06-19 23:15:23 +02:00
Mark Liversedge
36febf210b Remove headwind from FIT file processing
.. it should be calculated in a data processor rather
   than in the file processor.

.. Damien is looking to add one, so commenting it out
   for now (so the code can be reused if needed).
2016-06-06 16:58:29 +01:00
grauser
b2e68cb468 Correct wrong commit 2016-06-02 18:11:47 +02:00