mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 08:08:42 +00:00
committed by
Mark Liversedge
parent
c1fc674609
commit
7e42cdd486
@@ -78,7 +78,7 @@ RealtimeController::processRealtimeData(RealtimeData &rtData)
|
||||
double mph = rtData.getSpeed() * MILES_PER_KM;
|
||||
// using the algorithm from:
|
||||
// http://thebikegeek.blogspot.com/2009/12/while-we-wait-for-better-and-better.html
|
||||
rtData.setWatts((0.0115*(mph*mph*mph)) - ((0.0137)*(mph*mph)) - ((8.9788)*(mph)));
|
||||
rtData.setWatts((0.0115*(mph*mph*mph)) - ((0.0137)*(mph*mph)) + ((8.9788)*(mph)));
|
||||
}
|
||||
default : // unknown - do nothing
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user