Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to best use GPS data?

I am currently developing an application that receives GPS data gathered using and android phone. I need to analyze that data in terms of speed, acceleration, etc...

My question is: Can I trust the speed values returned by the phone? Or should I use the difference in position and time between two points to get the values I want? Also, is there any "standard" method for filtering input data? Or any library (python welcomed) that does that kind of task?

Thank you in advance! :)

like image 714
jrrt Avatar asked Feb 24 '10 16:02

jrrt


1 Answers

Except using rather complicated data signal processing techniques, or by using an accelerometer and dead reckoning (which is highly inaccurate), a GPS device cannot measure its own velocity. Due to this, the velocity data provided by a GPS unit is interpolated using the exact same method you want to use. The two probably have similar precision excluding minor errors introduced from whatever algorithms both you and the GPS chip manufacturer use.

There are more advanced filtering / data processing techniques for interpolating velocity across multiple points, not just the most recent two. In all likelihood, your GPS chip is already implementing one of these and so will be more accurate than your more rudimentary implementation.

like image 143
David Pfeffer Avatar answered Sep 30 '22 09:09

David Pfeffer