mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 00:28:42 +00:00
701eb200ef7376fb6550e5a152d978c01d9bf4c2
Second stage of development, refactored the quarqd sources and introduced an ANTChannel and ANTMessage class. This is a functional patch and should work with known ANT+ devices, but has only been tested with a Garmin HR strap, GSC-10 dual speed/cadence and SRM wireless cranks. It has only been tested with a first generation Garmin ANT+ USB stick. It *should* work with other devices (e.g. Powertap, Quarq) but this has not been tested. The configuration pane has not been fixed yet, so you can either add a Native ANT+ device and leave the profile blank (it will autodiscover whatever it can when you run) or you can copy the profile from a Quarqd device and use that. There are lots of bugs; * Calibration is not supported, uses a static srm_offset * Wheel circumference is fixed at 2100mm for speed calculations * Timeouts are hit and miss and need to be completed * Sensor loss / timeouts are not managed yet * Burst data and Acks are not handled * Device descriptions, versions and battery messages are not handled Aside from the bugs above part 3 wil also need to include; * Configuration screen fixups and device pairing * Add a calibration button to the realtime window Lastly, the refactoring of the quarqd code is incomplete, there is still a need to use ANTMessage across the code, especially within the ANTChannel code which still does a bit of decoding locally.
To build cp src/gcconfig.pri.in src/gcconfig.pri cp qwt/qwtconfig.pri.in qwt/qwtconfig.pri Edit both src/gcconfig.pri and qwt/qwtconfig.pri as necessary, then qmake make To uninstall the older FTDI VCP drivers on Mac OS X, open a Terminal and type: sudo mv /System/Library/Extensions/FTDIUSBSerialDriver.kext /tmp Type your password when prompted, then restart your computer.
Description
Languages
Standard ML
68.3%
C++
28.1%
C
2.7%
Yacc
0.2%
QMake
0.2%
Other
0.1%