Giter Club home page Giter Club logo

Comments (7)

MHatGH avatar MHatGH commented on August 25, 2024 1

hi,
I think it is not necessary to record a separate RR-Session.
In Bipolar "QVariantMap TrainingSession::parseSamples(QIODevice &data) const"
you got this unused record "28".
I gues this containes RR-Samples used to calc the heard rate from.
Adding the following to the QVariantMap, works for me (not checked in detail but gives meaningful result at first glance, Thanks to rsc-dev/loophole, I got the idea from).

I use M400 and try to calc training-zones from this values. Likely to older "OwnZone" feature.

ADD_FIELD_INFO("28"  ,    "RRSample",                 EmbeddedMessage);     //RR-Sample Section
ADD_FIELD_INFO("28/1",    "RRvalue",                   Uint32);                           //RR-value - if not offline
ADD_FIELD_INFO("28/2",    "RRoffline",                EmbeddedMessage);     //RR-offline event
ADD_FIELD_INFO("28/2/1",  "starttime",                EmbeddedMessage);     //offline starts at lap-time
ADD_FIELD_INFO("28/2/1/1","hour",                     Uint32);              //start-hour
ADD_FIELD_INFO("28/2/1/2","minute",                   Uint32);              //start-minute
ADD_FIELD_INFO("28/2/1/3","second",                   Uint32);              //start-second
ADD_FIELD_INFO("28/2/1/4","milliseconds",             Uint32);              //start-milliseconds
ADD_FIELD_INFO("28/2/2"  ,"duration",                 EmbeddedMessage);     //offline duration
ADD_FIELD_INFO("28/2/2/1","hour",                     Uint32);              //duration-hour
ADD_FIELD_INFO("28/2/2/2","minute",                   Uint32);              //duration-minute
ADD_FIELD_INFO("28/2/2/3","second",                   Uint32);              //duration-second
ADD_FIELD_INFO("28/2/2/4","milliseconds",             Uint32);              //duration-milliseconds

from bipolar.

pcolby avatar pcolby commented on August 25, 2024

Hi @ArtMag,

The first thing to do is check whether Bipolar has captured any *-rrsamples files. Assuming Windows, these would be in directory like C:\Uses\<user>\AppData\Local\Polar\PolarFlowSync\export. There's a number of reasons why the V800 may not record R-R samples; for example, if it silently fell back to using the H7 sensor's 5kHz mode.

I've just checked my own captured V800 data, and it appears that Bipolar stopped seeing R-R data just after 2014-11-15 (no code changes around this time). This corresponds with the V800 1.2. firmware release, so its possible that firmware update changed / broke / disabled R-R export in some way. ๐Ÿ˜ฆ

I'll investigate. Thanks.

from bipolar.

ArtMag avatar ArtMag commented on August 25, 2024

Hi pcolby
Thank you for your answer. I havent got any *-rrsamples in directory C:\...\export after 27.11.2014. I saw that in not only my problem (Polar Forum ยป Discussions on heart rate monitors ยป V800 ยป Bipolar open-source project) after V800 1.2. firmware release :(. Ill waiting for results of your investigation. Bipolar still gives better possibilities to export data than Polar Flow offers.

from bipolar.

pcolby avatar pcolby commented on August 25, 2024

Just a small update.

So far I've not been able to find an R-R data being exported since the 1.2 firmware release ๐Ÿ˜ฆ

I will try an actual R-R recording session soon, just in case that gives any hints to what Polar changed (they may have dropped R-R from exercise sessions, or they may have reformatted / included it with one of the other data files?) ๐Ÿ˜•

from bipolar.

pcolby avatar pcolby commented on August 25, 2024

Cool! Thanks @MHatGH!

If what you're saying is correct, then it means that sometime back around V800 1.2 firmware release Polar moved the R-R sample data from a standalone rrsamples file a new field (28) in the samples data instead. If that's the case, then I'll definitely be able to update the app to use it.

๐Ÿ˜„

from bipolar.

MHatGH avatar MHatGH commented on August 25, 2024

my pleasure !

With M400 the user do not have the Option for recording RR-Intervalls at all.
There is just an "Fitnes Test", wich records them for a 2-3min period.
But this results are stored in a separate RRSample file in a /FT - Folder on the device under the currecnt day.

So please do not delete this functionality of converting RRSample files, maybe there could be an application in future.

from bipolar.

pcolby avatar pcolby commented on August 25, 2024

So please do not delete this functionality of converting RRSample files

Understood! I'll add support the new field, while maintaining the existing support too ๐Ÿ˜„

from bipolar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.