OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Incorrect PGX file with stationary exercise.

2 posters

Go down

Incorrect PGX file with stationary exercise. Empty Incorrect PGX file with stationary exercise.

Post  bodypilot Thu Mar 21, 2013 9:02 pm

Hi Orux,

This might be related to this bug: https://oruxmaps.forumotion.com/t3078-record-without-gps-fix and is losely related to this feature request: https://oruxmaps.forumotion.com/t2263-possibility-hrm-logging-without-gps-on-record
When I'm indoor cycling (http://en.wikipedia.org/wiki/Indoor_cycling) I'm obviously not moving but I am recording a track with OruxMaps and a heart rate monitor.

After stopping the recording and uploading the exercise to www.trainingstagebuch.org I discovered an anomaly in the way Oruxmaps creates a GPX file for a "non-moving exercise";

Code:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" creator="OruxMaps" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<metadata>
<name><![CDATA[2013-03-20 19:37]]></name>
<desc><![CDATA[]]></desc>
<link href="http://www.oruxmaps.com">
<text>OruxMaps</text>
</link>
<time>2013-03-20T18:37:35Z</time><bounds maxlat="xxx" maxlon="xxx" minlat="xxx" minlon="xxx"/>
</metadata>
<trk>
<name><![CDATA[2013-03-20 19:37]]></name>
<desc><![CDATA[<h1>OruxMaps</h1><br /><hr align="center" width="480" style="height: 2px; width: 517px"/><h2>Name: 2013-03-20 19:37</h2><br /><p>Start time: 03/20/2013 19:50</p><p>Finish time: 03/20/2013 19:50</p><p>Distance: 0 km (00:00)</p><p>Moving time: -01:-49</p><p>Average speed: 0 km/h</p><p>Avg. Speed Mov.: 0 km/h</p><p>Max. Speed: 5.5 km/h</p><p>Minimum altitude: 22 m</p><p>Maximum altitude: 22 m</p><p>Elevation gain: 0 m</p><p>Elevation loss: 0 m</p><p>Rise time: 00:00</p><p>Fall time: 00:00</p><p>Min. HRM: 81</p><p>Max. HRM: 173</p><p>Avg. HRM: 128</p><p>Calories: 0</p><hr align="center" width="480" style="height: 2px; width: 517px"/>]]></desc>
<type>Mountain biking</type>
<trkseg>
<trkpt lat="xxx" lon="xxx">
<ele>22.04</ele>
<time>2013-03-20T18:50:17Z</time>
<extensions><gpxtpx:TrackPointExtension><gpxtpx:hr>111</gpxtpx:hr></gpxtpx:TrackPointExtension></extensions>
</trkpt>
</trkseg>
</trk>
<extensions>
<om:bpm  xmlns:om="http://www.oruxmaps.com/oruxmapsextensions/1/0">
85 2013-03-20T18:37:35Z
86 2013-03-20T18:37:36Z
86 2013-03-20T18:37:37Z
87 2013-03-20T18:37:38Z
87 2013-03-20T18:37:38Z
88 2013-03-20T18:37:40Z
89 2013-03-20T18:37:41Z
91 2013-03-20T18:37:42Z
92 2013-03-20T18:37:43Z
93 2013-03-20T18:37:44Z
94 2013-03-20T18:37:45Z
94 2013-03-20T18:37:45Z
95 2013-03-20T18:37:47Z
94 2013-03-20T18:37:48Z
<snip> deleted the rest of the data points</snip>
</om:bpm>
</extensions>
</gpx>
I removed a lot of the data points for clarity and removed the GPS bounds and trackpoints for privacy reasons. Please note that Oruxmaps had a GPS fix throughout the entire exercise (I was in an attic where the GPS sensor could apparently "see" the satellites).

Apparently Oruxmaps only records the first trackpoint with the corresponding heart rate info and then appends all the other hear rate data at the end of the file (as it would with a GPX file of an exercise in which I did move).

Could you please alter this behaviour is such a way that there is a proper trackpoint for each heart rate data point? It would be even better if it was possible to record an exercise without having the GPS switched on but still have correct trackpoints with heart rate data (with a "dummy" gps fix perhaps?) in th GPX file. This would save energy as a GPS fix isn't really required in a stationary exercise.

Regards,
Bodypilot

Edit: I also noticed that the duration of a stationary exercise is not recorded properly. Presumably due to the missing trackpoints?

bodypilot

Cantidad de envíos : 5
Fecha de inscripción : 2012-06-24

Back to top Go down

Incorrect PGX file with stationary exercise. Empty Re: Incorrect PGX file with stationary exercise.

Post  orux Fri Mar 22, 2013 4:51 pm

bodypilot wrote:Hi Orux,

This might be related to this bug: https://oruxmaps.forumotion.com/t3078-record-without-gps-fix and is losely related to this feature request: https://oruxmaps.forumotion.com/t2263-possibility-hrm-logging-without-gps-on-record
When I'm indoor cycling (http://en.wikipedia.org/wiki/Indoor_cycling) I'm obviously not moving but I am recording a track with OruxMaps and a heart rate monitor.

After stopping the recording and uploading the exercise to www.trainingstagebuch.org I discovered an anomaly in the way Oruxmaps creates a GPX file for a "non-moving exercise";

Code:

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gpx xmlns="http://www.topografix.com/GPX/1/1" xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1" creator="OruxMaps" version="1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd">
<metadata>
<name><![CDATA[2013-03-20 19:37]]></name>
<desc><![CDATA[]]></desc>
<link href="http://www.oruxmaps.com">
<text>OruxMaps</text>
</link>
<time>2013-03-20T18:37:35Z</time><bounds maxlat="xxx" maxlon="xxx" minlat="xxx" minlon="xxx"/>
</metadata>
<trk>
<name><![CDATA[2013-03-20 19:37]]></name>
<desc><![CDATA[<h1>OruxMaps</h1><br /><hr align="center" width="480" style="height: 2px; width: 517px"/><h2>Name: 2013-03-20 19:37</h2><br /><p>Start time: 03/20/2013 19:50</p><p>Finish time: 03/20/2013 19:50</p><p>Distance: 0 km (00:00)</p><p>Moving time: -01:-49</p><p>Average speed: 0 km/h</p><p>Avg. Speed Mov.: 0 km/h</p><p>Max. Speed: 5.5 km/h</p><p>Minimum altitude: 22 m</p><p>Maximum altitude: 22 m</p><p>Elevation gain: 0 m</p><p>Elevation loss: 0 m</p><p>Rise time: 00:00</p><p>Fall time: 00:00</p><p>Min. HRM: 81</p><p>Max. HRM: 173</p><p>Avg. HRM: 128</p><p>Calories: 0</p><hr align="center" width="480" style="height: 2px; width: 517px"/>]]></desc>
<type>Mountain biking</type>
<trkseg>
<trkpt lat="xxx" lon="xxx">
<ele>22.04</ele>
<time>2013-03-20T18:50:17Z</time>
<extensions><gpxtpx:TrackPointExtension><gpxtpx:hr>111</gpxtpx:hr></gpxtpx:TrackPointExtension></extensions>
</trkpt>
</trkseg>
</trk>
<extensions>
<om:bpm  xmlns:om="http://www.oruxmaps.com/oruxmapsextensions/1/0">
85 2013-03-20T18:37:35Z
86 2013-03-20T18:37:36Z
86 2013-03-20T18:37:37Z
87 2013-03-20T18:37:38Z
87 2013-03-20T18:37:38Z
88 2013-03-20T18:37:40Z
89 2013-03-20T18:37:41Z
91 2013-03-20T18:37:42Z
92 2013-03-20T18:37:43Z
93 2013-03-20T18:37:44Z
94 2013-03-20T18:37:45Z
94 2013-03-20T18:37:45Z
95 2013-03-20T18:37:47Z
94 2013-03-20T18:37:48Z
<snip> deleted the rest of the data points</snip>
</om:bpm>
</extensions>
</gpx>
I removed a lot of the data points for clarity and removed the GPS bounds and trackpoints for privacy reasons. Please note that Oruxmaps had a GPS fix throughout the entire exercise (I was in an attic where the GPS sensor could apparently "see" the satellites).

Apparently Oruxmaps only records the first trackpoint with the corresponding heart rate info and then appends all the other hear rate data at the end of the file (as it would with a GPX file of an exercise in which I did move).

Could you please alter this behaviour is such a way that there is a proper trackpoint for each heart rate data point? It would be even better if it was possible to record an exercise without having the GPS switched on but still have correct trackpoints with heart rate data (with a "dummy" gps fix perhaps?) in th GPX file. This would save energy as a GPS fix isn't really required in a stationary exercise.

Regards,
Bodypilot

Edit: I also noticed that the duration of a stationary exercise is not recorded properly. Presumably due to the missing trackpoints?


Hi;

you have to change some settings, if you want to save 1 point per second when you are stationary.

settings--gps
--minimum distance --> to 0 meters

orux
orux
orux

Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06

Back to top Go down

Incorrect PGX file with stationary exercise. Empty Re: Incorrect PGX file with stationary exercise.

Post  bodypilot Sun Mar 24, 2013 2:50 pm

orux wrote:

Hi;

you have to change some settings, if you want to save 1 point per second when you are stationary.

settings--gps
--minimum distance --> to 0 meters

orux

Hi Orux,

Thank you! I did scan through the settings but never realised that this setting would do the trick.

Regards

bodypilot

Cantidad de envíos : 5
Fecha de inscripción : 2012-06-24

Back to top Go down

Incorrect PGX file with stationary exercise. Empty Re: Incorrect PGX file with stationary exercise.

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum