本文介绍了使用超声确定2个移动设备的相对位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在考虑使用超声波(听不清)作为确定2个移动设备(可以在Android或iOS设备上)的相对位置的选项。我的应用程序将安装在这两个设备上。它的用户将彼此面对(最大距离为1.5米),使设备彼此面对。

I am considering using ultrasound (inaudible) as an option for determining the relative position of 2 mobile devices (which can be either on Android or iOS devices). There will be my app installed on both of these devices. Its users will face each other (with their max. distance being 1,5 m), holding the devices facing each other.

我想知道是否有可能创建一个有效的系统,其中一个应用程序将发送超声波/听不见的信号,而其他用户的应用程序将收到它并确定这个特定用户(站得很近)发送它(发出声音)。

注意:在我的情况下,声音可以听见但是声音越少越好(因此我使用了超声波这个词)。此时此类应用的电池消耗并不重要(尽管我会感谢任何信息)。我只想知道这种应用是否可能以及效率如何。我还想发送(如果可能的话)几个字节的信息,但系统也应该在有环境噪声的地方工作。

Note: In my case the sound can be audible but the less audible it is, the better (therefore I used the word ultrasound). Battery consumption of such application is not important at this point (though I'll appreciate any information). I only would like to know whether it's possible and how efficient such application would be. I also want to send (if possible) few bytes of information but the system should work also in places where there is some ambient noise.

任何人都可以回答这样的问题/分享关于这个主题的经验?

Can anyone answer such question/share experiences on this topic?

推荐答案

请在此处查看相关问题:

See related question here: Transfering data using ultrasound

我绝对认为这是可能的。

I definitely think this would be possible.

作为起点,我会看一下和对于他们的传输方法。您可以在软件音频处理代码中应用它们的处理概念。

As a starting point, I would look at this project and the wikipedia page for their transmission method. You would apply their processing concepts in your software audio processing code.

这篇关于使用超声确定2个移动设备的相对位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 01:31