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
How accurate is the distance? #2
Comments
Thanks for the feedback. What feature(s) in particular do you like? May I ask how you found I have not compared claimed distance versus |
I found RaceRunner while searching Github for good examples of code for running with GPS. I'm trying to make a running app withe very accurate current pace and distance. Since it's so easy to make exact measurements with a wheel, in combination with records etc which you mention I assume that races are accurate down to 1m, but you might be right. I'm using the following settings and are testing the code when running using both Nike+ simultaneously on my phone, and a Garmin Fenix 3 watch with the Styrd footpod (which is said to be super accurate).
Then in locationmanager:
Using this code i get 20% more distance compared to Nike+ and Garmin. These ratios was kept during the whole run, so when Nike+ logged 5km, my code logged 6km. My code differs from yours only in that you use distanceFilter of 10 while I use kCLDistanceFilterNone. Since the GPS location often has a low (actual) horizontalAccuracy, some extra operations should be needed to get really accurate distance. I wanted to see what would happen if I simply adjusted the ratio to align with Nike+, ie 10/12,3 = 0.81 ratio. So I changed the code to
and ran the same 10 km yesterday. This time I got the results: So, this time the ratio was actually to 0.9 than 0.81. So there must be something else that Nike+ does. The most depressing fact is that my code logged 12.3 km the first time and 11.16 km the second time. Ideas:
Both these ideas affects the number of location updates that will be generated. This in turn will make the runner seem to go more "in a straight line", less jitter. This will make the distance shorter which is what we want. But is it a well balanced accuracy for the average running trail? Small turns will not get picked up. Will it be more accurate that the * 0.81 approach? I will probably try today with
and see where that takes me. Sorry for the long post, but it helped me think while I wrote it :) |
Also found this if you're interested |
@thyselius I'm interested in seeing your running app. Sound like iPhone GPS just isn't as accurate as the bike method. |
Hi, thanks for a great app!
I'm seeking the answer to this question https://stackoverflow.com/questions/43980198/getting-most-accurate-current-pace-when-running-with-iphone-gps basically Getting most accurate “current pace” when running with iPhone GPS.
Have you tried running in a measured race and seen how your gps distance compares to the real distance? Would really appreciate your response.
Thanks again
The text was updated successfully, but these errors were encountered: