开发者

How to best use GPS data?

开发者 https://www.devze.com 2022-12-20 23:17 出处:网络
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...

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 poi开发者_JS百科nts 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! :)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消