Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New parameter in Overviewdiagramm #123

Open
ssaring opened this issue Mar 20, 2010 · 9 comments
Open

New parameter in Overviewdiagramm #123

ssaring opened this issue Mar 20, 2010 · 9 comments

Comments

@ssaring
Copy link
Owner

ssaring commented Mar 20, 2010

Hi,

i needed an additional feature "Heart rate" for the overviewdiagramm. Therefore i programmed (implemented) it.
Now the questions:

  1. Is there an easy way with netbeans to support the language files, or must i implement all languages per hand?
  2. Do you need the new source files (with no warrenty of perfectness)

I am currently developing an application for HRM on a Nokia N79 phone with a Zephyr™ HxM.
I want to export my data in the polar HRM format.
Witch HRM versions (1.02, 1.05, 1.06, 1.07) from polar do the SportsTracker can import?

Best regards
Ralf

Reported by: rtralow

@ssaring
Copy link
Owner Author

ssaring commented Mar 20, 2010

Hi Ralf,

a lot of questions - I try to answer all of them...

Can you please describe the new Heartrate feature? I would like to know more about it first,,,

The text resources needs to be inserted manually in at least the default english properties file. NetBeans has very nice tool support for editing the files.

If you want to send me the sources, then please create a patch against the latest Subversion repositiory.

I always want to support the latest HRM format version. The older ones are supported automatically, new versions are mostly just extend the older ones. Please let me know if you have problems with unsupported HRM files.

Bye, Stefan

Original comment by: ssaring

@ssaring
Copy link
Owner Author

ssaring commented Mar 21, 2010

added heartrate in overview diagramm

Original comment by: rtralow

@ssaring
Copy link
Owner Author

ssaring commented Mar 21, 2010

Hi Stefan,

thanks for the fast respond.
I only wanted to display the heartrate (bpm avg) in the overview diagramm.
Is the created patch correct?
In the future i plan to import the HRM with heartrate in R-R interval.
I cant find the differentiation in the parser source if the heartrate is in bpm or R-R.
Is this assessment correct?

Best regards
Ralf

Original comment by: rtralow

@ssaring
Copy link
Owner Author

ssaring commented Mar 21, 2010

Hi Ralf,

thanks for your patch, I've just reviewed it. I will not commit it, there are several issues:

(1) It's not complete. You're refer new text resources, but you have not included the modified properties file(s).

(2) You just take the avg heartrate of the exercise for each exercise, that's wrong. You need to compute the average avg heartrate for all exercises in the particular time period. Otherwise the information is just wrong! To be exact, you need to include the exercise duration too.

It would be nice when you could fix those issues...

What do you mean by R-R interval? The percentage of the personal maximum hartrate? If yes, there was a lot of discussion here on sourceforge on this topic. You could take a look on those entries first.

Bye,
Stefan

Original comment by: ssaring

@ssaring
Copy link
Owner Author

ssaring commented Mar 22, 2010

Hi Stefan,

sorry for this half patch file. I modified also the properties, but i think i made something wrong with Netbeans (i used only Eclipse before) as i made a diff for all.

It was the first draft and i think i will change this next weekend.
I am not so familiar with your software and i am thankful for your hints.

The R-R Intervall is not the personal maximum heartrate, but the it is the time between every heart beat. (heart rate variability). My new HRM can sample this, and i will only want to display them (In the polarviewer).

Best regards
Ralf

Original comment by: nobody

@ssaring
Copy link
Owner Author

ssaring commented Mar 23, 2010

Hi Ralf,

nice to hear that you want to complete your changes.

R-R Interval: can you tell me how the R-R data is stored in the exercise?
At the moment an exercise is a list of laps and samples, each sample for a fixed duration (e.g. 5 seconds). How does the R-R interval data fit into this domain model?

Bye, Stefan

Original comment by: ssaring

@ssaring
Copy link
Owner Author

ssaring commented Mar 24, 2010

Hi Stefan,

i found this description for Polar HRM:
www.polar.fi/files/Polar\_HRM\_file%20format.pdf
There are more sample rates. (e.g. the R-R with the index 238)

Bye Ralf

Original comment by: rtralow

@ssaring
Copy link
Owner Author

ssaring commented Mar 26, 2010

Hi Ralf,

OK, now I know what R-R is.
At the moment we could display exercises with R-R data as normal exercises with samples for each e.g. 15 seconds. So we must compute the heartrate for those 15 seconds from the parsed R-R data and store it in the exercise object.

The "problem" is that the exercise object model has a fixed duration between every stored sample. I plan a bigger refactoring which will store the millisecond timestamp for each recorded sample, then it would be possible to store the R-R information. The reason is to support heartrate monitors (e.g. from Garmin) which don't have a fixed sample gap.

Bye, Stefan

Original comment by: ssaring

@ssaring
Copy link
Owner Author

ssaring commented Sep 17, 2010

  • labels: 721201 --> SportsTracker

Original comment by: ssaring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant