您的位置:首页 > 其它

使用USRP实现ADS-B的飞机信号获取

2016-07-20 00:15 381 查看
1、配置好gnuradio环境与UHD,保证gnuradio与uhd正常工作

 

2、下载gr-air-modes包 https://github.com/bistromath/gr-air-modes 通过其帮助文档进行安装

 

3、安装依赖环境

 

    $ sudo apt-get update

    $ sudo apt-get install build-essential

    $ sudo apt-get install python-setuptools

    $ sudo easy_install pip

    $ sudo apt-get install libzmq-dev

    $ sudo apt-get install python-zmq

 

4、执行python

 

    $ python

    Python 2.7.3 (default, Apr 20 2012, 22:44:07)

    [GCC 4.6.3] on linux2

    Type "help", "copyright", "credits" or "license" for more     information.

     

    >>> import zmq

    >>> zmq.zmq_version()
    '2.1.11'

 

5、下载googleearth




https://www.google.com/earth/download/ge/agree.html\

下载相应版本,用ubuntu软件中心直接安装

如果上述链接下载失败可尝试以下下载链接下载googleearth

32位:http://dl.google.com/dl/earth/client/current/google-earth-stable_current_i386.deb

64位:http://dl.google.com/dl/earth/client/current/google-earth-stable_current_amd64.deb

6、测试googleearth

在终端输入google-earth运行googleearth可能会出现乱码或闪退,按照网上的方法删除Qt文件或者换安装方式即可解决。  

7、连接好USRP设备后,在终端执行

$ modes_rx -A RX2 -K aircraft.kml

正常执行会不断接收数据并在当前路径下生成一个aircraft.kml文件。

8、双击aircraft.kml文件即可在googleearth上打开,正常情况下可查看到搜索到的飞机。

注:此例程也可以简单的用电视棒进行实现,理论上能接受300公里左右范围的飞机信号,接受天线最好放置在空旷的地方或屋顶效果更好。

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu gnuradio USRP ADS-B