您的 Android 指南针硬件在驾驶或乘坐火车时可以工作吗?

发布于 2024-12-25 03:55:25 字数 204 浏览 3 评论 0原文

我有一个 Desire Z,当快速移动时,罗盘硬件开始返回完全错误的值。它可能是硬件在快速移动时无法正确测量,但我想知道是否所有设备都有这个问题。

您可以通过安装任何指南针应用程序在自己的手机上尝试(不要使用 Google 地图,因为它们在移动时会自动切换到 GPS 指南针模式)。 我需要知道这一点,因为对于增强现实应用程序来说,了解用户在火车/汽车中时正在看哪里仍然相关。

I have a Desire Z and when moving to fast the compass hardware starts to return totally wrong values. Its probably the hardware which can't measure correctly when moving to fast but i want to know if all devices have this problem.

You can try it with your own phone by installing any compass app (don't use Google Maps cause they switch automatically to GPS-compass-mode when moving).
I need to know this because for Augmented Reality applications its still relevant to know where the user is looking when being in a train/car.

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

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

发布评论

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

评论(2

番薯 2025-01-01 03:55:25

我什至不希望传统的磁罗盘能够在汽车的钢笼中正常工作。在通过第三根轨道获取电力的火车上,我看到表盘在加速时会翻转 180 度以获取电流。

I wouldn't even expect a conventional magnetic compass to work correctly in the steel cage that is a car. On an train that draws electric power through the third rail, I've seen the dial flip through 180 degrees as it draws current on acceleration.

泪意 2025-01-01 03:55:25

指南针在汽车上通常工作良好;有几家制造商生产它们,他们只需要避开发动机舱、车窗电机和后窗除霜器即可。

另一方面,火车……作为普通的地铁(电动)和城际火车(柴油)乘客,指南针几乎毫无用处。根据我在汽车中使用 JCI(汽车供应商)的模块进行的一些测试,在铁路道口行驶时,指南针会陷入混乱。从指南针读取数据的控制模块有一个内置的毛刺过滤器,可以丢弃这种方向上的根本变化(这在某种程度上是可申请专利)。

Compasses generally work fine in cars; several manufacturers make them and they just need to avoid the engine bay, window motors, and rear-window defrosters.

Trains on the other hand...as a usual metro (electric) and intercity train (diesel) rider, compasses are near-as-makes-no-difference useless. From some testing I did with a module from JCI (automotive supplier) in a car, driving over railroad crossings throws a compass into disarray. The control module that read from the compass had an in-built glitch filter to discard such radical changes in orientation (which somehow is patentable).

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