team-mount-ventoux / JayPS-AndroidApp

JayPS (Pebble Bike/Ventoo) Android App
http://www.pebblebike.com
MIT License
44 stars 14 forks source link

GPS data filtering + stats #1

Closed jay3 closed 11 years ago

jay3 commented 11 years ago

Add MyPosition class and compute average speed, distance, elapsed time and positive ascent.

Configuration parameters should work for cycling but need to be tuned with more tests in real condition, especially ascent.

nicholasjackson commented 11 years ago

Sweet, excellent dude, will look forward to testing this.

On Friday, 31 May 2013, JayPS wrote:

Add MyPosition class and compute average speed, distance, elapsed time and positive ascent.

Configuration parameters should work for cycling but need to be tuned with

more tests in real condition, especially ascent.

You can merge this Pull Request by running

git pull https://github.com/jay3/PebbleCyclingComputer-AndroidApp master

Or view, comment on, or merge it at:

https://github.com/nicholasjackson/PebbleCyclingComputer-AndroidApp/pull/1 Commit Summary

  • Add MyLocation to compute statistics on filtered gps data
  • Bugfix: intial value of lastGoodAscentLocation

File Changes

  • M src/com/android/njackson/GPSService.javahttps://github.com/nicholasjackson/PebbleCyclingComputer-AndroidApp/pull/1/files#diff-0(35)
  • A src/fr/jayps/android/MyLocation.javahttps://github.com/nicholasjackson/PebbleCyclingComputer-AndroidApp/pull/1/files#diff-1(221)

Patch Links:

- https://github.com/nicholasjackson/PebbleCyclingComputer-AndroidApp/pull/1.patch

https://github.com/nicholasjackson/PebbleCyclingComputer-AndroidApp/pull/1.diff