Commit Graph

113 Commits

Author SHA1 Message Date
grauser
c9581079da Fit : Interval use total_elapsed_time if no time info
fix #2982
2019-01-08 23:00:41 +01:00
Hennadiy Verkh
807ea685d6 Added method decodePhysiologicalMetrics to decode garmin/firstbeat specific activity metrics
Added additional metrics to the metadata.xml
2019-01-01 22:05:20 +01:00
grauser
ad46bf9b32 FIT : Add debug logs 2018-12-17 23:52:20 +01:00
grauser
ee5e93be43 FitRideFile: Add ibike in manu 2018-11-13 21:05:25 +01:00
vlcvboyer
1191b8bd51 fix missing break in switch/case statement (#2918) 2018-08-29 09:52:56 +01:00
grauser
55ec3973c3 FIT : Change the time_offset reference
Bryton files were impacted

fix #2029
2018-07-17 22:21:37 +02:00
Ale Martinez
1f094f5712 Always expand lap swim Fit and Tcx files
Even if Garmin Smart Recording is not enabled, make users life simpler
Since otherwise the datais useless and the original lenght-by-length
data is preserved as XData.
2018-04-24 13:51:14 -03:00
Mark Liversedge
eb363c3fab Fix Swim FIT parse crash
.. not checking timeIndex() for out of bounds
   when secs goes negative during parsing.

.. also, enable interpolation for swim laps by
   default to ensure no data loss (i.e. don't
   insist on garmin smart recording setting).

Fixes #2953
2018-04-24 10:10:02 +01:00
Joern
bb06f898f4 Fix error exporting activity without data points to .FIT
... GC closes without message/ SIGSEGV when exporting e.g. manual acvities as .FIT files
2017-12-22 13:14:05 +01:00
grauser
18c43fcebd FIT : Use recIntSecs 2017-11-29 17:19:54 +01:00
grauser
ac04d20edd FIT : Export : Correct file duration 2017-11-26 23:46:34 +01:00
grauser
f573b5c48f FIT : Small addition and correction for expor
hardware_version and lap start_time had incorrect field_num
2017-11-26 22:38:50 +01:00
Alejandro Martinez
e3f48beae4 Added new Garmin Devices from Fit SDK Release 20.50.00 2017-11-22 19:59:55 -03:00
grauser
b0d676cef6 FIT : Add Rouvy and The Sufferfest
Trainer Apps for Winter...
2017-11-22 23:33:58 +01:00
Mark Liversedge
038860a4ec FitRideFile compiler error
- implicit conversion from char to QString wasn't supported.
2017-10-26 16:22:42 +01:00
Keith Reynolds
58a49b6576 Fixes ZWIFT files which are not reporting local timestamp.
Secondary fix for regular expression which did not catch the ZWIFT file naming convention using dashes rather than underscores.
2017-10-25 23:32:11 -06:00
grauser
5cb3f07437 FIT : Add temperature and lrbalance in export 2017-10-13 22:43:59 +02:00
grauser
36b16a558f FIT : Add the local_msg_type
in write_message_definition to prepare adding temp and lrbalance
2017-10-11 23:07:11 +02:00
grauser
98f54da285 FIT : Add Quarq as Manu/Prod
Add Powertap P1
      Add Powertap C1
2017-10-11 07:46:44 +02:00
grauser
e06ce3ebe8 Fit : Device info - display manufacturer when no product number 2017-08-09 23:51:24 +02:00
Joern
51eb386ad5 Fix MSVC Compile Error
... default settings in MSVC2015 do not support "not" operator - so change to "!"
... since this is only a single occurance in overall code
2017-07-18 16:49:27 +02:00
Mark Liversedge
4ecab4f201 Fix FitRideFile unused lap_trigger compiler warning 2017-07-18 06:38:26 +01:00
Mark Liversedge
44a52bb972 Merge pull request #2562 from dhewg/pr/parser
TCX and FIT parser improvements
2017-07-18 06:35:11 +01:00
grauser
a0f89c4fa5 Fit : lap name for trigger 2017-07-17 22:41:42 +02:00
Andre Heider
f7c87eb04d FIT: respect the time zone the ride was recorded in
The "activity" message contains data to determine the time zone the
ride was recorded in. Parse this and adjust the start time accordingly.

This also fixes e.g. Strava synchroniziation. Rides recorded in
time zones different to the box GC runs on now properly match.
2017-07-17 12:11:32 +02:00
Andre Heider
4467eb5096 FIT: enable decodeDeviceInfo()
Enable parsing and saving of all attached devices.
2017-07-17 12:11:32 +02:00
Andre Heider
c3ee9ed685 FIT: remove duplicates from the device infos
There're scenarios where the attached devices get added again, e.g.
a power cycle. Filter out the duplicates so each member only gets listed
once.
2017-07-17 12:11:32 +02:00
Andre Heider
dc8c9d7f64 FIT: fix out of bounds access in decodeDeviceInfo() 2017-07-17 12:11:32 +02:00
Andre Heider
e3d1df34b1 FIT: add BATTERY_SOC to XDATA
Identify the battery level properly instead of using "FIELD_81".
2017-07-17 12:11:32 +02:00
Andre Heider
fdc8af2d34 FIT: let getScaleForExtraNative() return a float directly
The caller wants a float anyway, so get rid of the cast and allow non
integral values.
2017-07-17 12:11:32 +02:00
Andre Heider
5d2729e39d FIT: add Wahoo ELEMNT BOLT to product list
Properly identify files created by this device.
2017-07-17 12:11:32 +02:00
Andre Heider
3a87010b98 FIT: set file format info 2017-07-17 12:11:32 +02:00
Vianney BOYER
100e26eab8 DI2 ANT+ messages used to populate dedicated XData serie 2017-05-18 22:37:33 +02:00
grauser
1bf6fd9b77 FIT : Add Combined Pedal Smoothness in 'EXTRA' XDATA 2017-05-09 23:12:02 +02:00
grauser
ed15b61749 Today's Plan : Coach can access there own data (2) 2017-03-19 21:45:21 +01:00
grauser
207e99ae9a FIT : Add some minor fields 2017-03-19 17:20:25 +01:00
grauser
07def42a28 FIT : Disabled debug traces 2017-03-02 18:36:03 +01:00
grauser
676fc9acb8 FIT export : Add Start and Stop event 2017-03-02 07:34:24 +01:00
grauser
2130bfa6a1 FIT : Add some info in FIT export 2017-02-25 11:53:21 +01:00
grauser
13372a847a FIT : Add lap (entire activity) 2017-02-25 11:53:21 +01:00
grauser
050a913474 Correct total_elapsed_time in Session message
Thanks Aaron
2017-02-19 17:29:58 +01:00
Joern
125549f37b FIT - add new Garmint devices to list 2017-02-19 11:07:26 +01:00
Joern
6c61b0e253 FIT - Fix Lap Starting time
... if lap data contains a developer field, lap starting time is corrupt, if field num of the developer field == 2
... since we don't store any lap specific developer fields, let's ignore them all
2017-02-19 11:07:26 +01:00
Mark Liversedge
5d3307cafa Fix FIT export SEGV on manual rides
.. or rides which contain no datapoints.
2017-02-10 09:33:41 +00:00
grauser
18470a780e FIT : No NaN in float values 2017-02-05 23:29:15 +01:00
Leif Warland
0cff7c2868 Read R-R data into Xdata 2017-01-29 21:01:05 +01:00
Mark Liversedge
23031f7c8b Revert "HRV / R-R updates to RideFile and Allplot"
.. inadvertently committed alongside updates for sport tags.

.. these updates introduced a serious regression for the
   ridefile JSON format and backwards compatibility

.. reverts the following commits:
       b47cb733a2
       d432602b35
2017-01-29 13:00:19 +00:00
Leif Warland
e62d3c69d6 Added SubSport from Garmin FIT format.
Based on FIT.pm from http://pub.ks-and-ks.ne.jp/cycling/GarminFIT.shtml.
2017-01-28 18:42:09 +01:00
Leif Warland
b7151e3d10 Added reading of R-R data from FIT files 2017-01-28 18:42:09 +01:00
grauser
8c1fc46773 FIT: correct GPS data (export) 2017-01-25 07:55:29 +01:00