GPS精度问题
哪些因素影响我的 GPS 精度?我正在使用 android gps 那么我该如何解决准确性问题,因为我正在做一个依赖于 GPS 的现实生活游戏,所以这对我来说这不准确性似乎是地狱
what the factors effect my GPS accuracy ? i'm using android gps so how can i solve the problem of the accuracy because i'm doing a real life game depend on the GPS so its seems to be hell to me this un accuracy
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有一个传感器本身是准确的,并且有太多的现实因素来判断哪个传感器可能是最准确的。
尽管如此,我还是对每个传感器实现了加权平均值,并根据新近度和声称的准确性进行加权:
LocationProvider
名称的Map
到相应的Location
对象。Location
对象,其人工 LocationProvider 名称为“average”,并计算出lat
/lon
以在程序的其余部分中使用。另请参阅以下内容: http://developer.android .com/guide/topics/location/obtaining-user-location.html#BestEstimate
None of the sensors are accurate by themselves, and there are too many real world factors to tell which may be the most accurate.
Nonetheless, I've implemented a weighted average of each sensor, weighted by both recency and claimed accuracy:
Map
of eachLocationProvider
name to the correspondingLocation
object.Location
object with artificial LocationProvider name "average" and computedlat
/lon
to use through out the rest of your program.Also, see the following: http://developer.android.com/guide/topics/location/obtaining-user-location.html#BestEstimate