Comments (5)
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.
@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.
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.
@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.
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)
- Problem with some latitude fields? HOT 13
- Notice: Undefined offset: 84 in phpFITFileAnalysis.php on lineΒ 1228 HOT 4
- Precision rounding of fields HOT 3
- data_mesgs['record'] null HOT 8
- getJSON function for laps or other fit sections HOT 2
- loadFromFile, loadFromData Suggestion... HOT 3
- incorrect speed values HOT 8
- pause or smart record HOT 1
- data_mesgs['session'] is null HOT 6
- example for leaflet js HOT 3
- Multiple sessions HOT 5
- Suunto Ambit Support HOT 5
- Garmin Product Information is incorrect HOT 2
- Help with corrupted FIT file HOT 7
- Multisport HOT 1
- Error processing FIT files caused by invalid $architecture variable
- Demo not working HOT 3
- Google Geocoding API: Error HOT 3
- [(Probably) since Garmin Edge 1040 Solar Firmware Update] Uncaught TypeError: end(): Argument #1 ($array) must be of type array, null given HOT 9
- Missing Data from Garmin FIT File - strengh_training
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-fit-file-analysis.