mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +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:
@@ -90,7 +90,8 @@ struct Bin2FileReaderState
|
||||
if (count)
|
||||
*count += 1;
|
||||
|
||||
res += c;
|
||||
if (c != 0)
|
||||
res += c;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
@@ -243,7 +244,7 @@ struct Bin2FileReaderState
|
||||
lng = lng/10000000.0;
|
||||
|
||||
// 0.0 values at end are for garmin vector torque efficiency/pedal smoothness which are not available
|
||||
rideFile->appendPoint(*secs, cad, hr, km, kph, nm, watts, alt, lng, lat, 0.0, 0, temp, lrbal, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, interval);
|
||||
rideFile->appendPoint(*secs, cad, hr, km, kph, nm, watts, alt, lng, lat, 0.0, 0, temp, lrbal, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, interval);
|
||||
(*secs)++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user