Commit Graph

24 Commits

Author SHA1 Message Date
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
Alejandro Martinez
552c44d847 Fixed pre target 2021-11-10 21:31:09 -03:00
David Rio Deiros
80086ace46 Makefile that captures details on how to build GC on raspberry pis (#3695)
[skip ci]
2020-12-09 14:42:31 -03:00
Mark Liversedge
d93404fe77 Fixup script on Mac use backwards copatible dmg format
.. creates a JHFS+ UDBZ format DMG
2019-02-25 13:41:52 +00:00
TuxedoFish
f19cb68108 Add MacOS util/bundle_fixup.sh
.. used to put Python framework into app bundle for release binaries.
2018-02-15 15:25:54 +00:00
Mark Liversedge
9d7f115f76 R OSX bundle dylib fixing tool
.. see util/osx_bundle_fix.sh

.. couldn't quite get it fully automated, for some reason
   you may need to run it multiple times.
2016-05-02 19:00:19 +01:00
Mark Liversedge
8fb1d51dfd OSX Release Build R libs into Bundle
.. a script to copy the R dylibs to the app bundle and
   update the paths to the libs
2016-04-30 21:44:37 +01:00
Mark Liversedge
9c1c7f560d R remove out of date docs/utils
.. since we don't need RInside/Rcpp now.

[skip ci]
2016-04-29 09:14:59 +01:00
Mark Liversedge
197aab06a5 CI update install-packages.R
.. to reflect we need to build with RInside with
   callbacks enabled.

[skip ci]
2016-04-12 19:48:06 +01:00
Mark Liversedge
ba5b797aba Add an 'R' Chart
.. first part just to get the configuration ready to
   build out a chart for the trend and activity view

.. src.pro and gcconfig.pri are updated to link in with
   the RInside/Rcpp package install (new dependency)

.. there is a script in util called install-packages.R
   which can be run to install the packages so long as
   R is available:

   $ R CMD BATCH util/install-packages.R
2016-04-08 11:45:34 +01:00
Mark Liversedge
1b55780d51 Reorg tidy src directory
.. move the fluff that has collected into the src directory
   to somewhere more appropriate.
2016-02-26 09:28:28 +00:00