Can Golden Cheetah record HRV in train mode?

968 views
Skip to first unread message

Hany

unread,
Sep 7, 2018, 12:13:29 PM9/7/18
to golden-cheetah-users
I have the new Scosche Rythm 24 heart rate sensor, which can be put in HRV mode. When I do so and record a workout in GC, I keep getting a heart reading followed by a ZERO, which made me wonder if GC can accept an HRV data stream. I know you can import HRV data from other devices and files in the activity tab, but can GC accept HRV data over ANT+ or Bluetooth?

Mark Liversedge

unread,
Sep 8, 2018, 2:46:54 AM9/8/18
to golden-cheetah-users
R-R data is decoded from ANT+ HR straps but is ignored, its pretty trivial to add to the workout data.
I looked at the code and its probably a 1day effort to use a similar approach to the ANT+ remote control.. I just don't have an ANT+ strap that does R-R to test.

Would make a fun patch for someone to try ;)

Mark

Hany

unread,
Sep 10, 2018, 11:21:06 PM9/10/18
to golden-cheetah-users
Thanks for the reply Mark. I wish I could figure out how to do that myself. Anyway, it can be made a feature request :)

Erik Botö

unread,
Sep 14, 2018, 1:52:25 PM9/14/18
to golden-cheetah-users
Should R-R data stored per heart beat, and not per second as I suspect most other data in ridefile? I might be able to have a go at this if I can get some pointers to how the data should be stored in order to be useful, has been a while since I did anything useful :-)

Cheers,
Erik

Ale Martinez

unread,
Sep 15, 2018, 7:55:25 AM9/15/18
to golden-cheetah-users
Hi Eric, R-R data should be stored as XData, seethe FIT, HRV or SML readers for sample code

Mark Liversedge

unread,
Sep 15, 2018, 2:04:47 PM9/15/18
to golden-cheetah-users
During the actual training session the measurement time etc is available from ANTChannel::rrdata(...)
You most likely will need to write temporarily to a xxxxx.hrv file
On import of GC format csv look for an accompanying xxxx.hrv file and import into XData.

Not ideal but separates the two.

Mark

Mark Liversedge

unread,
Sep 22, 2018, 6:36:15 AM9/22/18
to golden-cheetah-users
R-R is now recorded in train view and will appear in XDATA series "HRV" on import.
This also means the HRV metrics added by Leif will be calculated, stuff like SDNN/SDANN.

Mark

On Saturday, 15 September 2018 12:55:25 UTC+1, Ale Martinez wrote:

Hany

unread,
Sep 22, 2018, 1:23:27 PM9/22/18
to golden-cheetah-users
Wow! Thank you all so much for making GC what it is.

Just curious if this HRV implementation is now available in a new build  and if so, where would that build be?

Mark Liversedge

unread,
Sep 22, 2018, 3:25:46 PM9/22/18
to golden-cheetah-users
We're planning a new build really soon, need to tidy up some things first.

Hany

unread,
Sep 30, 2018, 12:04:11 AM9/30/18
to golden-cheetah-users
Before I say anything else, I just want to convey my appreciation for implementing this feature in GC. I downloaded the latest build and started to play with it, but the data does not seem to make much sense. The R-R flag is always -1 and the RR intervals don't make any sense. I get values that are either > 60000 or < 100 . But the Elite HRV app reads the data just fine from my heart monitor.

Also in train view, can the RR interval be displayed like Telemetry data is done?

Mark Liversedge

unread,
Sep 30, 2018, 3:51:15 AM9/30/18
to golden-cheetah-users
what HR strap are you using?

Hany

unread,
Sep 30, 2018, 3:53:52 AM9/30/18
to golden-cheetah-users
I am using the scosche rhthym 24

Mark Liversedge

unread,
Sep 30, 2018, 4:01:11 AM9/30/18
to golden-cheetah-users
Ok, thats not one I've come across. Can you record a session that is ONLY HR and send the antlog.raw file across?
You will find it in the athlete's directory, in the folder containing activities, config etc.

Mark Liversedge

unread,
Sep 30, 2018, 4:03:48 AM9/30/18
to golden-cheetah-users
I also see that according to the EliteHRV website it says it doesn't send accurate RR intervals ?
Or has there been some kind of firmware update?

Hany

unread,
Sep 30, 2018, 4:33:26 AM9/30/18
to golden-cheetah-users
I attached 3 files, the antlog.raw file and its corresponding json file for the recording I just took. I also attached a json that was created from importing the EliteHRV app data.

As for the compatibility, the Rhythm 24 is new but is supported I believe. I called Scosche to check and they suggested this app.
antlog.raw
GC HR recording.json
EliteHRV recording.json

Hany

unread,
Sep 30, 2018, 4:36:37 AM9/30/18
to golden-cheetah-users
Also the note in the this link regarding Scosche is for the Rhythm+ which is the previous model. The Rhythm 24 is the latest model which came out this summer.

Mark Liversedge

unread,
Sep 30, 2018, 5:12:51 AM9/30/18
to golden-cheetah-users
Ah ok, that log seems to help.

On a first glance it looks like the Scocshe sends the ANT R-R data page 4 but sets it to "unused" and we don't spot that, so we're using data that is not valid. We should ignore those messages and just pick it up from page 0.

Will need to fix that

Mark

Mark Liversedge

unread,
Sep 30, 2018, 6:25:41 AM9/30/18
to golden-cheetah-users
Hmmm. I'm not sure now. The unused byte is fine and the last/next beat numbers are kinda crazy values like 950 and 974, and given the units are in 1024ths of a second, something is screwy. Couldn't see RR data in the Elite file either, unless they encode it in the timestamps !?

Mark

Hany

unread,
Sep 30, 2018, 6:55:13 AM9/30/18
to golden-cheetah-users
the RR data is in the JSON I sent, down below in the XDATA section. As for the numbers being crazy, I guess I don't understand why because I am assuming the units are in msec.

I can't get raw data from the EliteHRV app. They just export a bunch of text files that I import into GC. 

Mark Liversedge

unread,
Sep 30, 2018, 7:29:16 AM9/30/18
to golden-cheetah-users
I was referring to a lack of RR data in the EliteHRV file.
The data in JSON reflects the data provided by device accurately.
Or at least, that what it seems to me.

Mark

MANUEL MATEO MARCH

unread,
Dec 13, 2018, 3:32:50 AM12/13/18
to golden-cheetah-users
Dear Mark
I just saw that from a common log file with GARMIN I can get the R-R values of the registry.
You know how I can configure Golden Cheetah to get these values from the rest of the files?
If this is possible, I am really excited about the possibilities.
Thank you!

Captura de pantalla 2018-12-12 a las 17.30.29.png

Reply all
Reply to author
Forward
0 new messages