Giter VIP home page Giter VIP logo

Comments (5)

rafaelnajera avatar rafaelnajera commented on August 17, 2024 2

As far as I can tell there's nothing more to compressed TS than to calculate the record's timestamp with the most recent full TS and the record's offset using the formula given in the FIT documentation. I just did a pull request with code that I think implements this feature, please have a look.

BTW, thanks for the library, it's really useful.

from php-fit-file-analysis.

laufhannes avatar laufhannes commented on August 17, 2024

@undertrained is currently trying to convert the current FIT parser of Runalyze, which is using mrihtar/Garmin-FIT (a perl module), to this one. Although there's a lot of other stuff to do in that branch, I already can see that message in our unit tests, thrown by FR70-intervals.fit. Feel free to use that for your testing and developing ;)

from php-fit-file-analysis.

adriangibbons avatar adriangibbons commented on August 17, 2024

Thanks @laufhannes I'll take a look when I get chance, but very busy right now. Very useful to have a FIT file with a compressed timestamp header πŸ‘

from php-fit-file-analysis.

adriangibbons avatar adriangibbons commented on August 17, 2024

@rafaelnajera Hey, thanks for the PR! I will get round to reviewing this properly soon. At first glance it looks good. I didn't think it was overly complex, just haven't had much free-time lately and up until recently no FIT files with compressed timestamps to test with!

from php-fit-file-analysis.

adriangibbons avatar adriangibbons commented on August 17, 2024

Closing this issue following merging PR from Rafael. Will probably add a test or two for the new code and include a FIT file with a compressed timestamp. Thanks all

from php-fit-file-analysis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.