GPS help. Distance driven/gone.

Cynikal

Member
Licensed User
Longtime User
How would I log the distance driven/walked?

I know I can calculate it between 2 points. But, what I want to know is, without a secondary point..how could I do it?
 

derez

Expert
Licensed User
Longtime User
The algorithm to do it is this:
1. set a minimum distance, to take into account only distance above (so not to count random jumping of the GPS reading)
2. set a start point coordinates
3. check every GPS reading if the distance to the start point is greater than the minimum. if no - do nothing, if yes - add the distance to an accumulator, and set the current position as the start point.

Bear in mind that it will not count movements within the minimum range.
 
Upvote 0

Cynikal

Member
Licensed User
Longtime User
Now, When using GPS.Start (0, 0) does that mean its running at full power?

I know it says set it to 0 for 'High Frequency', but in my experience High Frequency doesnt necessarily mean the best...
 
Upvote 0
Top