I have run the Fortius with GC on Linux and the installation went fine. However, I had serious problems with the slope control and reported power. Since I did a fairly detailed analysis of the Fortius protocol back in 2010 to insure that it could eventually run on Linux, I could get back to my notes and try to dig into the problem.
Here is what I found:
- The unit does not show much wheel resistance.
- The code uses byte 46 as the pedal sensor signal, used for feedback to the trainer and insure that the trainer software is still working correctly, something called a watchdog in computing jargon. The traces that I took show that byte 42 is the pedal sensor, while byte 46 is the brake status. Once you change from byte 46 to 42, the trainer starts to better respond to changes in slope.
With the pedal feedback corrected, other problems become visible:
- The slope felt is about double the slope requested. In the code, the slope is converted with (1300 * gradient + 507) while in my traces the conversion factor seemed to be (gradient * 650).
- When a gradient of 5% is requested, a value of 4% is sent to the device. This is because the code converts to int before multiplying by 650, thus something like 4.99% is truncated to 4%.
- The reported power is all over the place. I came to the conclusion in 2010 that the value obtained must be the force on the brake unit. You can then multiply by the speed to get the power. With this, the values reported seem much better. However, we would need someone with a powermeter to validate the metrics reported and possibly fine tune the equations.
- The Tacx software on Windows polled the trainer every 100ms. If you go faster, you do not get new values from the trainer which replies with 24 instead of 48 bytes, and you simply waste CPU time. The current code has a 10ms cycle, it could be increased to 50 or 100ms.
I will prepare a pull request for these changes. However, I would like to hear feedback from developers who have played with the Fortius driver who may have more insight. More importantly, if the Fortius currently works like a charm for you, let me know before I submit changes that may break your setup. Alternatively, if all you get is the type of problems that I am reporting here, let me know as well. Thanks!