Rather than committing the srmio code to the GC repository, let the user
download and build it on their own. It can be found at
http://www.zuto.de/project/file/srmio/
or
git://github.com/rclasen/srmio.git
The ghetto part is that we just read the device path out of the device name,
then pass that path directly to Rainer's srmpc_get_data, rather than passing
it an abstraction of a serial port. As such, this code will only work on
Unix-like operating systems. But it does work, and that's a good start.
fix to use last N days worth of rides for BiksScore estimates
fix for skipping some rides in BikeScore estimates
skips rides with zero Bikescore for BikeScore estimates
hitting enter on ManualRide entry dialog doesn't write file
better checking for inputs on ManualRide dialog
Signed-off-by: Robert Carlsen <robert@robertcarlsen.net>
I hate to change so many lines of code just for a little rename, but I want to
distinguish between "devices", like the PowerTap and SRM, and "communications
ports", like the serial port and the native D2XX drivers. This work is in
preparation for adding direct download support for the SRM.
at column 10.
The TIME (L_SEC) field appears to always increment one recording
interval at a time -- however it always increment consistently. When
there is a pause, the TIME field increments as if there was NO pause.
For example:
11, 0.015, 0, 0, 12.7, 0,1350.2, 11.7, 0, 0
12, 0.015, 0, 0, 12.7, 0,1350.0, 11.7, 0, 0
13, 0.015, 0, 0, 12.7, 0,1350.0, 11.7, 0, 35607
14, 0.015, 0, 0, 2.9, 70,1095.2, 4.7, 0, 0
15, 0.021, 0, 0, 2.9, 70,1094.0, 4.7, 0, 0
At the 13th second, there was a pause for 35607 seconds. The 14th
second is actually the 14+35607 second.
The attached patch loads those files correctly. This allows the "Ride
-> Split Ride..." menu option to work as expected.
Thanks Berend De Schouwer