Some accuracy was lost in an integer divison for speed and cadence in getCadence and getWheelRPM, the expression was correct but non obvious in setWheelRPM, and the speed was not reset upon disconnection for CyclingPower while this service is used for power and speed when present.
GoldenCheetah
About
GoldenCheetah is an open-source data analysis tool primarily written in C++ with Qt for cyclists and triathletes with support for training as well.
GoldenCheetah can connect with indoor trainers and cycling equipment such as cycling computers and power meters to import data.
In addition, GoldenCheetah can connect to cloud services.
It can then manipulate and view the data, as well as analyze it.
Installing
Golden Cheetah install and build instructions are documented for each platform;
INSTALL-WIN32 For building on Microsoft Windows
INSTALL-LINUX For building on Linux
INSTALL-MAC For building on Apple OS X
Alternatively, official builds are available from http://www.goldencheetah.org
whilst the latest developer builds are available from https://github.com/GoldenCheetah/GoldenCheetah/releases