Sunday, February 20, 2011

Native ANT+ Support

Mark Rages from Quarq published the source for quarqd recently as Dynastream released ANT+ to the open source world. This means that we can now add support for realtime streaming of data directly to Golden Cheetah using just a USB stick.

I've been seriously busy at work and have made very slow progress, basically a couple of hours each week on a Sunday morning (the kids are off playing rugby).

I've got HR working and am getting onto my SRMs now to sort power and cadence et al. Give me 2 or 3 weeks and it should be there.

I've also refactored the ANT+ code so it can be used in other open source projects, will provide details when done.

Later.


8 comments:

Anonymous said...

just my interest, how was it before? there was some proprital code or different schema? Because ANT USB stick was working in GC for realtime.....thanks Beeda

Mark Liversedge said...

Hi,

Yes we could already work with USB adaptors but needed quarqd between GC and the device. This work is about putting ANT+ support in GC and removing the need to quarqd.

This simplifies the setup considerably and also makes life easier for Windows users since quarqd doesn't run on windows.

parawolf said...

Can we define realtime? I assume a sample period is still involved from the ANT+ transmitter (eg: CinQo, Powertap, HR strap), but it just captures and interepts the raw ANT+ packets? or does it still do 1second (or sub 1second) sampling).

Very very interested.

Mark Liversedge said...

ANT is 4HZ so thats pretty close to realtime :)

Mike said...

Hi Mark.

I am a physiologist working with elite athletes and am trying to find a solution to allow me to collect heart rate data directly to the computer. Specifically, I need to measure the exact "r-r interval" for each heart beat for a period of 15 minutes or so. What I mean by this is that I need to be able to get a duration for each heart beat, in milliseconds. I've been told that ANT+ is capable of this, but do you know if QuarqD or your native implementation of it will allow for this type of data collection? In the same vein, do you know if it will be possible to collect raw torque if I had my laptop beside someone doing a standing start on a track bike?

Thanks!

Mike Patton
Canadian Cycling Association

rob2jim said...

I've got PowerTap working but I think there is an issue with quarqd starting / opening the channel for HR - can you give me any clues or list of commands in quarqd that you used to get HR going please? What HR strap were you using? Thanks Robert

Mark Liversedge said...

@Mike - Sorry for the delay in responding; R-R is supported by the higher end Polar devices and you might want to take a look at Kubios?

See here: http://kubios.uku.fi/

@Robert - I used a GARMIN HR strap with native/quarqd.

rob2jim said...

@Mike @Mark - I'm looking at r-r as well for an app I'm working on. We're about a month away from having a development version up so that we can play with the data.