get the total distance covered using the GPS