profanum429 / v800_downloader

Tool to download data files from the Polar V800 GPS watch
GNU General Public License v3.0
56 stars 27 forks source link

TCX-Output Modification #32

Open p-val opened 6 years ago

p-val commented 6 years ago

I am using py_trainer to analyze my data. v800_downloader works out of the box with my M400. Now, to be able to import the *.tcx files in py_trainer, a small addition in the xml is needed (Build tag).

screenshot_20180418_143859

Would be nice if this change can be implemented without hurting other users. Tnx Peter

pcolby commented 6 years ago

Hi @p-val,

Unfortunately @profanum429 seems to have abandoned this project.

The code to include the missing build information is actually in the project (was borrowed, with my permission) from my Bipolar project, however the code has been commented out by @profanum429.

You can see the code here: https://github.com/profanum429/v800_downloader/blob/master/src/bipolar/polar/v2/trainingsession.cpp#L2251

You can uncomment the code, and re-compile. You'll just need to define the BUILD_USER (or simply edit it out and put your own name in).

(The Bipolar project use the QMake build system to set the BUILD_USER from the current logged-in user at build time).

Cheers.

p-val commented 6 years ago

Hi Paul, thank you for the reply within 2 hours - wow! I do have the modified trainingsession.cpp ready for a compile. Would you please line out which steps I have to take to get the an executable binary (Linux, Leap 42.3)? My programming skills are outdated :( (Cobol, Assembler).

Tnx a lot! Peter

Hi @p-val,

Unfortunately @profanum429 seems to have abandoned this project.

The code to include the missing build information is actually in the project (was borrowed, with my permission) from my Bipolar project, however the code has been commented out by @profanum429.

You can see the code here: https://github.com/profanum429/v800_downloader/blob/master/src/bipolar/pola r/v2/trainingsession.cpp#L2251

You can uncomment the code, and re-compile. You'll just need to define the BUILD_USER (or simply edit it out and put your own name in).

(The Bipolar project use the QMake build system to set the BUILD_USER from the current logged-in user at build time).

Cheers.

p-val commented 6 years ago

Hi Paul, the missing build-tag is no longer a problem, auto-inserted it using SED. Now it looks like I am out of luck this time. Only the first session was downloaded under Linux corrcectly. When I tried to download three new sessions under Linux, they did not show up for selection (: Well, started my virtual WIN10 for a try under Windows. Three sessions showed up for selection(!) and the download started, resulting in this error. error Looking into the download directory I found dir instead of a tcx-file. What else can I do if I do not want my data in the cloud?

Peter

p-val commented 6 years ago

sorry, closed it accidently!