mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-15 08:59:55 +00:00
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°
This commit is contained in:
@@ -149,7 +149,11 @@ void IntervalSummaryWindow::calcInterval(QList<IntervalItem*> intervals, QString
|
||||
|
||||
f.appendPoint(p->secs-timeOff, p->cad, p->hr, p->km-distOff, p->kph, p->nm,
|
||||
p->watts, p->alt, p->lon, p->lat, p->headwind, p->slope, p->temp, p->lrbalance,
|
||||
p->lte, p->rte, p->lps, p->rps, p->smo2, p->thb,
|
||||
p->lte, p->rte, p->lps, p->rps,
|
||||
p->lpco, p->rpco,
|
||||
p->ltdc, p->rtdc, p->lbdc, p->rbdc,
|
||||
p->ltppp, p->rtppp, p->lbppp, p->rbppp,
|
||||
p->smo2, p->thb,
|
||||
p->rvert, p->rcad, p->rcontact, 0);
|
||||
|
||||
// derived data
|
||||
@@ -184,7 +188,11 @@ void IntervalSummaryWindow::calcInterval(IntervalItem* interval, QString& html)
|
||||
const RideFilePoint *p = ride->dataPoints()[i];
|
||||
f.appendPoint(p->secs, p->cad, p->hr, p->km, p->kph, p->nm,
|
||||
p->watts, p->alt, p->lon, p->lat, p->headwind, p->slope, p->temp, p->lrbalance,
|
||||
p->lte, p->rte, p->lps, p->rps, p->smo2, p->thb,
|
||||
p->lte, p->rte, p->lps, p->rps,
|
||||
p->lpco, p->rpco,
|
||||
p->ltdc, p->rtdc, p->lbdc, p->rbdc,
|
||||
p->ltppp, p->rtppp, p->lbppp, p->rbppp,
|
||||
p->smo2, p->thb,
|
||||
p->rvert, p->rcad, p->rcontact, 0);
|
||||
|
||||
// derived data
|
||||
@@ -266,7 +274,11 @@ void IntervalSummaryWindow::calcInterval(RideFileInterval interval, QString& htm
|
||||
const RideFilePoint *p = ride->dataPoints()[i];
|
||||
f.appendPoint(p->secs, p->cad, p->hr, p->km, p->kph, p->nm,
|
||||
p->watts, p->alt, p->lon, p->lat, p->headwind, p->slope, p->temp, p->lrbalance,
|
||||
p->lte, p->rte, p->lps, p->rps, p->smo2, p->thb,
|
||||
p->lte, p->rte, p->lps, p->rps,
|
||||
p->lpco, p->rpco,
|
||||
p->ltdc, p->rtdc, p->lbdc, p->rbdc,
|
||||
p->ltppp, p->rtppp, p->lbppp, p->rbppp,
|
||||
p->smo2, p->thb,
|
||||
p->rvert, p->rcad, p->rcontact, 0);
|
||||
|
||||
// derived data
|
||||
|
||||
Reference in New Issue
Block a user