Skip to content
Permalink
Browse files

Added virtual power support for Elite Crono Mag Elastogel

Fixes #1538
  • Loading branch information...
amtriathlon committed Oct 30, 2019
1 parent a6875c5 commit 5cf76dd95cbb88c7f8524f61058e9d05cd590b02
Showing with 8 additions and 0 deletions.
  1. +1 −0 src/Train/AddDeviceWizard.cpp
  2. +7 −0 src/Train/RealtimeController.cpp
@@ -1276,6 +1276,7 @@ AddFinal::AddFinal(AddDeviceWizard *parent) : QWizardPage(parent), wizard(parent
virtualPower->addItem(tr("Power - Elite Crono Fluid ElastoGel")); // 66
virtualPower->addItem(tr("Power - Elite Turbo Muin (2015)")); // 67
virtualPower->addItem(tr("Power - CycleOps JetFluid Pro")); // 68
virtualPower->addItem(tr("Power - Elite Crono Mag Elastogel (3/5)")); // 69

//
// Wheel size
@@ -605,6 +605,13 @@ RealtimeController::processRealtimeData(RealtimeData &rtData)
}
break;

case 69: // Elite Crono Mag elastogel
{
double V = rtData.getSpeed();
rtData.setWatts(7.34759700400455518172 * V - 0.00278841177590215417 * pow(V,2) + 0.00052233430180969281 * pow(V,3));
}
break;

default : // unknown - do nothing
break;
}

0 comments on commit 5cf76dd

Please sign in to comment.
You can’t perform that action at this time.