srhea/GoldenCheetah — pull request #11 by ibooij (2012-02-05 08:41:29+00:00)
Title: Cleanup of Tacx Fortius code

The Fortius code does not use a thread anymore, but simply uses singleshot
timers to perform the read from the device 70ms after the write. Also,
telemetry is pushed to the controller using Qt's signal-slot mechanism.

Running averages are computed using the new RunningAverage class, which
simply computes the average of the last n items added to the object.

Furthermore, I've tried to clean up the code to minimize the compile
dependencies of the files.

There is still something wrong with the Fortius power calculations. At high speeds, the power does not seem to match. Unfortunately, my Fortius gave up on me. It starts overheating during training activities, so I'm no longer using it for training.

Hopefully you agree that the changes I made make the code somewhat more clear, and easier to fix in case anyone else still has a working Fortius.

thanks for looking at this pull request,
Ilja