Commit Graph

73 Commits

Author SHA1 Message Date
Chris Cleeland
e7ca201a97 Add FIT file device ID parsing for Zwift.
There is no official proclamation that ID 260:0 is officially assigned
to Zwift; it is simply the value observed in data files downloaded from
Zwift for the author. A support request opened with Zwift requesting
confirmation has gone unanswered.
2015-03-02 08:28:10 -06:00
Mark Liversedge
2a0b477cfb Merge pull request #1292 from Joern-R/smart
Fit-File Format - Smart Recording
2015-01-30 09:35:05 +00:00
Joern
836f3054ab Fit-File Format - Smart Recording
... fix .FIT format Smart Recording (similar logic like for .TCX)
... use the GC-Preferences Settings to determine if Gaps shall be filled
(and which Gap size)
2015-01-29 19:02:50 +01:00
Jan de Visser
f7c8024632 Use the FIT 'sport' field and it's associated enum. Populate the RideFile 'Sport' tag and switch between cycling and running cadence.
Swim files are recognized and the 'Sport' tag is properly filled, but nothing else particularly useful is read. Not even date/time.
2015-01-28 22:37:16 +00:00
Mark Liversedge
276c712dee Add Sigma to FIT manufacturers
Fixes #1286
2015-01-26 09:40:57 +00:00
Damien
e2c6b31045 RideEditor: Change column order 2015-01-06 21:39:12 +01:00
Damien
fb7f6d70d5 Garmin Cycling Dynamics : Switch on Power Phase 2015-01-06 18:44:27 +01:00
Damien
b24ee97278 FitRideFile: Add new FIT fields
Especially for Vectors new metrics
	- Left and Righ Platform Center Offset - eg: -8mm and -11mm
	- Left and Right Top dead Center  - eg: 10° and 11°
	- Left and Right Bottom dead Center  - eg: 203° and 210°
	- Left and Right Peak Power Phase Start - eg: 83° and 76°
	- Left and Right Peak Power Phase End - eg: 115° and 125°
2015-01-05 08:01:33 +01:00
Mark Liversedge
0976369ab7 FreeBSD #include "time.h"
.. needed in Fit and Bin ridefiles for time_t, which for
   some other reason compiles cleanly on Linux.
2014-12-31 13:52:23 +00:00
Mark Liversedge
5bf1cf141c Erroneous qDebug() in FitRideFile
.. was working on an interval problem and left a
   qDebug() in by accident on last commit
2014-12-21 22:10:50 +00:00
Mark Liversedge
22a34a5428 Fix SEGV on delete ride in AllPlot hover
.. tries to traverse the ride data after its been deleted.
2014-12-21 21:53:30 +00:00
Mark Liversedge
fb9c09234d Moxy Fit tHb
.. divide by 100 not 10
2014-11-04 22:00:59 +00:00
Mark Liversedge
5eceef6dda Moxy FIT file support
.. type 54/57 in .fit file for thb and smO2
2014-11-04 14:31:17 +00:00
Mark Liversedge
85bcc60456 Add Garmin FR620 Device Type
.. to FitRideFile
2014-09-30 18:36:03 +01:00
Mark Liversedge
b1bc12d853 Add Garmin Running Dynamics Data
.. read from FIT/TCX
.. write to JSON
.. view in Editor

NOTE: They are not on any of the charts yet.
2014-09-25 14:31:06 +01:00
gcoco
f6639d4ff1 Add Fenix2 to Garmin Devices
Submitted by: Jon Beverley <jon@carltonsoftware.co.uk>
From Pull Request #995.
2014-08-03 09:43:33 +01:00
gcoco
6ccd30887d Document Global Message 104 - battery
But who knows what it actually has in it.
2014-07-03 15:28:32 -04:00
Mark Liversedge
60766ed4f3 Merge pull request #959 from spenneb/master
Edge 1000 added
2014-07-02 15:45:04 +01:00
Ralf Spenneberg
8e8cc647f2 Edge 1000 added 2014-07-02 16:41:33 +02:00
Mark Liversedge
a084ec96e6 Fix Average Temperature Issues
.. Don't include -255 in average

.. Don't show -255 in ride navigator

.. Don't show a value on summary if not preset
2014-06-20 12:59:03 +01:00
Joern
018cff3baa Translation Enablement & "seconds"
... more tr() changes
... added comparison for  both "seconds" OR tr("seconds") to all other
occurences found
... added "Lap" text for Intervalls imported in Garmin FIT format (this
is what Garmin delivers)

(cherry picked from commit ad790f05a386e3ae5c5b9dc129a216ac451b8cfc)
2014-06-08 17:55:24 +02:00
Damien
afd0712133 Correct errors in last commits 2014-04-27 00:02:49 +02:00
Damien
8047e73382 Add hemoglobin SmO2% and tHb data series (Moxy) 2014-04-19 09:22:06 +02:00
Mark Liversedge
0a32f3c571 Add Vector/Rotor TE and PS data series
.. Added the torque effectiveness and pedal smoothness
   data series to the RideFile structures.

.. The only file formats that support it at this stage
   are Fit and  GoldenCheetah JSON.

.. As more file formats support it we will add it here.

.. The charts/editor now need to be updated to support
   these new data series.
2014-04-11 13:46:10 +01:00
Mark Liversedge
3f6af75aed Another attempt to fix SEGV in FitRideFile
.. when the file is zero length or the header is truncated.
2014-02-02 20:06:40 +00:00
Mark Liversedge
f14ce1224b Revert "Fix SEGV on bad file/header in FitRideFile"
This reverts commit c8e1f95114.
2014-02-02 14:55:49 +00:00
Mark Liversedge
d611882464 Fix SEGV on bad file/header in FitRideFile 2014-01-30 20:57:43 +00:00
Damien
5f1c36c167 FitRideFile: wrong copy-paste 2014-01-25 22:59:09 +01:00
Damien
39067e36da FitRideFile: We may need to add string support 2014-01-25 22:56:52 +01:00
Damien
0a1fe76217 FitRideFile: correct issue with unknown field type in fit file
fix #724
2014-01-25 22:36:52 +01:00
Damien
adca720d62 FitRideFile: Correction for last Garmin firmware updates
In last Garmin firmware there is some (unknow) fields with multiples values

Fixes #724
2013-12-02 18:07:18 +01:00
Damien
0642932aae FitRideFile: - Add Left/Right TorqueEff and Left/Rigth PedalSmooth
- Open Truncated file
2013-11-19 22:38:18 +01:00
gcoco
274d3f9580 Add Garmin Forerunner 910XT 2013-11-18 14:27:47 -05:00
Mark Liversedge
77278b2ed1 A lot less assert
There still some assert left in the code, but removed
a fair number of the examples where, its just as easy
to handle the condition gracefully, without crashing.

By 3.1 we will have eradicated assert from the code.
2013-08-04 11:06:07 +01:00
Mark Liversedge
181f50b058 Remove qDebug from FitRideFile
.. commented out so can reuse when debugging etc.
2013-07-18 22:18:15 +01:00
Damien
caeaef6ea9 FitRideFile: Add Calibration Event parsing 2013-07-18 18:23:11 +02:00
Mark Liversedge
e9a767ab9b FitRideFile fix truncated read crash
.. caused by an eager file.close() recently introduced.
.. and add some more when returning from error.
2013-05-20 08:29:16 +01:00
Mark Liversedge
2968cb3479 More File Closing
Shocked at the lack of file closing in the rest of the
ridefile readers.
2013-05-19 16:00:27 +01:00
Mark Liversedge
9eb5a10182 Fix FitRideFile 'hangs'
We now only interpolate for gaps less than 30 minutes since
some corrupt files may be longer (or forgot to press stop).
2013-04-21 18:02:00 +01:00
Damien
46acd9e72d FitRideFile: Use the slope value 2013-04-06 09:51:11 +02:00
Damien
e2e004406a FitRideFile: Correct wrong copy-past 2013-04-05 23:04:11 +02:00
Damien
2bdeae80a9 FitFile: Add O Synce in manufacturer and navi2coach in product 2013-04-05 18:34:14 +02:00
gcoco
d17197f3f8 Add Garmin Edge 810 2013-02-28 00:37:23 -05:00
gcoco
7b7d69e264 Added Garmin Edge 510 2013-02-27 06:10:59 -05:00
Mark Liversedge
bafbbb0138 Garmin Device Types
.. not so much unknown since we know its a Garmin xxx
2013-02-15 06:33:47 +00:00
gcoco
bcd6d88534 Accuracy is important 2013-02-15 00:17:21 -05:00
gcoco
2603beba19 Add some Garmin Device Types
Garmin Edge 200
Garmin Training Center
Garmin Connect Website
2013-02-14 17:35:18 -05:00
Mark Liversedge
064a294715 Code Cleanup: RideFile readers
.. mostly comments about features not yet implemented, but
   not relevant to current feature set anyway.
2013-02-10 11:27:33 +00:00
Mark Liversedge
f527d8e5c2 Fix compiler warnings
All are harmless but for the sake of clarity have
fixed them all bar a couple;

- Lucene grumbles about signed/unsigned conversion which
  is/isn't valid depending upon the version of CLucene you
  compile with. Either way it is harmless.

- QxtScheduleView has a bunch of issues, but since it is a
  third party widget its better to leave it unchanged.
2013-02-06 15:54:32 +00:00
Damien
4005e27039 Add FileType to RideFile
modified:   src/Bin2RideFile.cpp
	modified:   src/BinRideFile.cpp
	modified:   src/Computrainer3dpFile.cpp
	modified:   src/CsvRideFile.cpp
	modified:   src/FitRideFile.cpp
	modified:   src/FitlogParser.cpp
	modified:   src/FitlogRideFile.cpp
	modified:   src/GcRideFile.cpp
	modified:   src/GpxRideFile.cpp
	modified:   src/ManualRideFile.cpp
	modified:   src/PolarRideFile.cpp
	modified:   src/PolarRideFile.cpp
	modified:   src/PwxRideFile.cpp
	modified:   src/QuarqRideFile.cpp
	modified:   src/RawRideFile.cpp
	modified:   src/SlfRideFile.cpp
	modified:   src/SmfRideFile.cpp
	modified:   src/SplitActivityWizard.cpp
	modified:   src/SplitRideDialog.cpp
	modified:   src/SrdRideFile.cpp
	modified:   src/SrmRideFile.cpp
	modified:   src/SyncRideFile.cpp
	modified:   src/TacxCafRideFile.cpp
	modified:   src/TcxParser.cpp
	modified:   src/TcxRideFile.cpp
	modified:   src/TxtRideFile.cpp
	modified:   src/WkoRideFile.cpp
2012-11-14 00:37:24 +01:00