Fixed Estimated VO2MAX metric

.. to use latest ACSM formula.

.. see: http://blue.utb.edu/mbailey/handouts/pdf/MetCalnew.pdf
This commit is contained in:
Mark Liversedge
2014-01-07 16:20:23 +00:00
parent 2ac02e7b0b
commit ce7e881957
2 changed files with 6 additions and 1 deletions

View File

@@ -72,6 +72,7 @@
// 51 05 Nov 2013 Mark Liversedge Added average aPower
// 52 05 Nov 2013 Mark Liversedge Added EOA - Effect of Altitude
// 53 18 Dec 2013 Mark Liversedge Added Fatigue Index (for power)
// 54 07 Jan 2014 Mark Liversedge Revised Estimated VO2MAX metric formula
int DBSchemaVersion = 53;

View File

@@ -303,7 +303,11 @@ class Vo2max : public RideMetric {
const Context *) {
PeakWPK5m *wpk5m = dynamic_cast<PeakWPK5m*>(deps.value("5m_peak_wpk"));
setValue(wpk5m->value(false) * 12 + 3.5);
// Using New ACSM formula also outlined here:
// http://blue.utb.edu/mbailey/pdf/MetCalnew.pdf
// 10.8 * Watts / KG + 7 (3.5 per leg)
setValue(10.8 * wpk5m->value(false) + 7);
setCount(1);
}
RideMetric *clone() const { return new Vo2max(*this); }