如何在Android上测量GPS信号强度?

发布于 2024-09-15 20:13:10 字数 30 浏览 1 评论 0原文

问题就像标题一样简单:如何测量GPS信号强度?

Question is as simple as the title: How to measure GPS signal strength?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

倒数 2024-09-22 20:13:10

您确定您指的是信号强度与准确性吗?信号强度有什么好处?由于 GPS 位置是通过许多卫星确定的,因此您没有“一个”信号强度。

因此,假设您真正指的是信号强度,您可以通过 LocationManager.getGpsStatus() 获取 GpsStatus,然后通过 getSatellites() 为您提供卫星列表',其中每一个都有一个信噪比 (getSnr())。

假设您指的是准确性,请尝试 Location.getAccuracy()

Are you sure you mean signal strength vs. accuracy? What good is the signal strength? Since the GPS position is determined via many satellites, you don't have "one" signal strength.

So assuming that you really mean signal strength, you can get the GpsStatus via LocationManager.getGpsStatus(), and that gives you a list of satellites via getSatellites()', and each one of those has a signal-to-noise ratio (getSnr()).

Assuming you mean accuracy, try Location.getAccuracy().

内心荒芜 2024-09-22 20:13:10

您可以在 SNR-信噪比中读取 MNEA 消息 GSV 中的信号强度。

信号强度非常重要。信号太弱,接收器无法跟踪它们。您需要几颗“强大”的卫星来获得位置,而不仅仅是一颗。

较旧的接收器无法在树木或建筑物内进行跟踪。现代接收器更加灵敏。

You can read signal strength in MNEA message GSV in SNR-Signal to Noise Ratio.

Signal strength is VERY important. Too weak of a signal and the receiver can't track them. You need several 'strong' satellites to get position, not just one.

Older receivers couldn't track in trees or inside buildings. Modern receivers are much more sensitive.

三生路 2024-09-22 20:13:10

如果没有非常昂贵的测试设备(频谱分析仪或专门的 GPS 接收器),测量 GPS 卫星的信号电平是非常困难的。没有商业可用的工具可以做到这一点。

无论如何,你为什么要这样做?信号电平实际上与确定位置无关。

It is very difficult to measure the signal level of a gps satellite without very expensive test gear (spectrum analyzer or specialized gps receiver). There are no commercially available tools to do this.

Why would you want to do this, anyway? The signal level is actually quite irrelevant in determining position.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文