Commit Graph

20 Commits

Author SHA1 Message Date
Poncho
2d463c8bc2 Upgrade FIT SDK to 21.188 (#4776) [skip ci]
The presence of a \ in a string will produce an error in python 3.13
Using raw strings in all regexes avoids this.
2025-12-27 16:05:48 -03:00
Alejandro Martinez
7f584aa02e Upgrade FIT SDK to 21.171
Includes new Garmin devices and manufacturers
Adds SIGMA ROX 4.0 SE from #4689
Updates fitprod.py to new format
2025-08-19 22:14:11 -03:00
Alejandro Martinez
4b2cbec6b1 Update FITmetadata.json to FIT SDK v21.158
[skip ci]
2024-12-29 14:04:08 -03:00
Michal Powalko
76e8a07f59 Add Morpheus M7 heart rate monitor
Adds the heart rate monitor from Morpheus Training System:

https://trainwithmorpheus.com/
https://trainwithmorpheus.com/m7-user-guide/
2024-09-26 17:16:00 -03:00
Poncho
8ec8f2aaf4 Update FIT SDK definitions to 21.141 2024-08-31 10:34:35 -03:00
Poncho
7971bec15c util/fit/nongarmin.json: add Favero Assioma Pro MX 2024-08-31 10:34:35 -03:00
Alejandro Martinez
edc3979504 Update FITmetadata.json to FIT SDK 21.133 2024-04-08 16:35:01 -03:00
Poncho
c0c8f57a13 Update FIT SDK definitions to 21.126 (#4423) 2023-12-01 09:44:36 -03:00
Mark Liversedge
943deb67ea Generic Support for Session and Lap in FIT files
GENERIC SUPPORT FOR PARSING INTO XDATA

.. Generically parse FIT file messages into XDATA. The current
   implementation does this for session, lap and totals messages
   but could very easily be extended to any other message type

.. Generic parsing uses metadata rather than hard coding the
   message and field types and so on

.. The FIT metadata (FITmetadata.json) has been expanded to
   include definitions of message types and all the standard
   fields within the message types

.. The existing hard-coded parsing remains to extract data
   and apply directly to ridefile samples and metadata. The
   generic parser simply adds additional tabs on the data
   view as XDATA so users can access it.

   CODE REFACTORING, COMMENTS AND BUG FIXES

.. At some point the code needs to be refactored as it is
   janky and needs to align with the rest of the codebase

.. Includes a mild refactor renaming some of the classes/structs
   and variables to reflect what they actually are, for example:

       FitFileReadState -> FitFileParser
       FitDefinition -> FitMessage

.. Added lots of code comments and re-organised the code
   into clear sections to help navigate what is a very
   cumbersome source file, this breaks git blame history
   but is worth the loss (you can checkout an earlier commit
   to do a full blame)

.. Changed debugging levels to be more helpful

.. Generally I did not change any code, but there were a
   couple of serious bugs that needed to be corrected:

      Field definitions gets the type wrong in a couple of
      places since the type is stored in the low 4 bits:
      type = value & 0x1F

      The decodeDeveloperFieldDescription function did not
      check for NA_VALUEs for scale, offset, native field

.. For less serious bugs I added FIXME comments throughout the code

Fixes #4416
2023-11-10 17:14:50 +00:00
Damien Grauser
fabc344aac Add Wahoo PowrLink 2023-09-08 21:16:11 +02:00
Alejandro Martinez
7173437ab2 Update FIT SDK definitions to 21.115 2023-06-22 20:03:43 -03:00
dconka
14cb588f55 Update nongarmin.json (#4373)
Add new SIGMA ROX 12.1 EVO
2023-06-22 19:57:59 -03:00
Alejandro Martinez
dbd33465c4 Update FIT SDK to 21.105 2023-04-14 20:02:39 -03:00
Alejandro Martinez
9531acf366 Remove Garmin devices already included in latest FIT SDK 2023-01-18 21:27:39 -03:00
Alejandro Martinez
523d2d1909 Update FITmetadata.json to FIT SDK 21.94 2023-01-17 18:48:35 -03:00
Mark Liversedge
853e248383 FIT nongarmin.json remove duplicate entries
.. added same rows twice in error.

[skip ci]
2022-08-17 14:28:32 +01:00
Mark Liversedge
ce089de33e FITmetadata.json
.. clarify how to make updates in the README

.. replace the fit_example.h from the current SDK

.. added Garmin devices not yet supported in the SDK to
   the nongarmin.json file

.. updated the makefile to use python3 and update when
   the python program is changed.
2022-08-17 14:20:16 +01:00
Alejandro Martinez
dc470ecf74 FITmetadata.json - Avoid symlinks due to git behavior on Windows
Continuation of c50cd4c
2022-08-03 10:56:32 -03:00
Alejandro Martinez
4ed7425d0c Fit import - add new sensor types and devices 2022-08-01 23:01:42 -03:00
Mark Liversedge
0a0c46b0e2 FITmetadata.json
Added the tooling to the util directory to generate a
JSON file with product and manufacturer metadata for
use by the FITRideFile decoder.

[skip ci]
2022-07-30 19:40:09 +01:00