mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-04-15 05:32:21 +00:00
Read EPOC from Garmin FIT file (#3860)
- Read Garmin/Firsbeat estimation of exercise load based on EPOC - Add "Garmin Edge 1030 Plus" to the list of known devices
This commit is contained in:
committed by
GitHub
parent
c474dae4b6
commit
0b3a883303
@@ -401,6 +401,7 @@ struct FitFileReaderState
|
||||
case 3291: case 3516: return "Garmin Fenix 6x";
|
||||
case 3299: return "Garmin HRM-Dual";
|
||||
case 3405: case 3639: return "Garmin Swim 2";
|
||||
case 3570: return "Garmin Edge 1030 Plus";
|
||||
case 3592: return "Garmin Varia RTL515";
|
||||
case 20119: return "Garmin Training Center";
|
||||
case 65532: return "Android ANT+ Plugin";
|
||||
@@ -1131,6 +1132,10 @@ struct FitFileReaderState
|
||||
this_timestamp = value + qbase_time.toTime_t();
|
||||
active_session_["_timestamp"] = static_cast<quint32>(this_timestamp);
|
||||
break;
|
||||
case 168: /* undocumented: Firstbeat EPOC based Exercise Load */
|
||||
active_session_["EPOC"] = QString::number(round(value / 65536.0 ));
|
||||
rideFile->setTag("EPOC", QString::number(round(value / 65536.0 )));
|
||||
break;
|
||||
case 254: //index
|
||||
case 0: //event
|
||||
case 1: /* event_type */
|
||||
|
||||
@@ -284,6 +284,13 @@
|
||||
<fieldvalues>""</fieldvalues>
|
||||
<fielddiary>0</fielddiary>
|
||||
</field>
|
||||
<field>
|
||||
<fieldtab>"Metric"</fieldtab>
|
||||
<fieldname>"EPOC"</fieldname>
|
||||
<fieldtype>4</fieldtype>
|
||||
<fieldvalues>""</fieldvalues>
|
||||
<fielddiary>0</fielddiary>
|
||||
</field>
|
||||
<field>
|
||||
<fieldtab>"Metric"</fieldtab>
|
||||
<fieldname>"Recovery Time"</fieldname>
|
||||
|
||||
Reference in New Issue
Block a user