Page 19 of 21

Journey Recording using GPS Tracking

Posted: Mon Nov 25, 2013 5:04 am
by Joe Paisley

Thank you very much Maryna! The data is populating in all four label fields. Beautiful! Yet I fear there is still quite a large margin of inaccuracies in the data.

With my device, when I recorded a 12 minute ride, the entire time the altitude label expressed a value of about 0-15 ft. I'm not sure if that data is above sea level or not, but I researched online the actual altitude of the area recorded, and it seemed to be more like 100 ft above sea level.

More importantly though, when I press the "view ride data" button, the app doesn't navigate to "results" page. Below is the screenshot of logcat in Eclipse when the button is clicked.

Also, is there a way to write the computations to exclude outliers in data, thereby making the overall average speed and distance ultimately more accurate?

Thank you so much! Image


Journey Recording using GPS Tracking

Posted: Mon Nov 25, 2013 7:00 pm
by Maryna Brodina

Hello! Sorry, no news yet. I'll update.


Journey Recording using GPS Tracking

Posted: Mon Nov 25, 2013 8:39 pm
by Joe Paisley

Thank you very much!


Journey Recording using GPS Tracking

Posted: Tue Nov 26, 2013 7:36 pm
by Maryna Brodina

Hi,
1) "exclude outliers in data" - could you clarify what do you mean?
2) altitude is taken not from sea level, but from start point
3) "the app doesn't navigate to "results" page" - on results page on page show event in line 27 there is an extra bracket, delete it.


Journey Recording using GPS Tracking

Posted: Fri Nov 29, 2013 1:57 am
by Joe Paisley

I deleted the bracket in line 27 on "results" page show event and I get this feedback in logcat: Image When I click "view ride data" button. What could be the problem? Thank you very much!


Journey Recording using GPS Tracking

Posted: Fri Nov 29, 2013 9:41 pm
by Maryna Brodina

Hello Joe! We'll take a look, but it might take some time.


Journey Recording using GPS Tracking

Posted: Mon Dec 02, 2013 2:34 pm
by Maryna Brodina

On results page Show event in the end there is missing right bracket }


Journey Recording using GPS Tracking

Posted: Fri Dec 06, 2013 1:55 am
by Joe Paisley

Thanks Maryna! I believe I've added the } at the end of the page show event. Still nothing happens when I click "view ride data" button. What else could be the issue? Thanks!


Journey Recording using GPS Tracking

Posted: Fri Dec 06, 2013 6:38 pm
by Kateryna Grynko

Hi Joe,

Do you test on device? Do you save the journey beforehand? Probably there is nothing to display.

Add the following to check the localStorage content:prealert(localStorage.getItem("coordsArray"));
alert(JSON.parse(localStorage.getItem("coordsArray")));/prePlease post screenshots of your alerts, if needed.


Journey Recording using GPS Tracking

Posted: Sun Dec 08, 2013 3:48 am
by Joe Paisley

Thanks Katya! Well, here it is, the logcat after I record a ride and click "view ride data" button. Image
Also there is now an enormous list of alerts when I click the button as well. There is no way to capture them all, as the list is expansive, but it looks something like this:

[{"time": 1386470020957,"lat":45.48666952,"lng": -122.634895256,"alt":11.699999809265137,"speed":0},
{"time":1386473321965,"lat":45.48665257,"lng":-122.63487527,"alt":22,"speed":3.571},{"time":1386473322973,"lat":45.48662909,"lng":-122.63487431,"alt":13.699999809265137,"speed":.5.357},

etc, etc. Why is this coming up in the alert window?

after I click "ok" another alert dialog comes up, and displays:

{object Object},{objectObject}

over and over again. What do these alerts indicate? Thanks so much for your help!