• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

rwth-ti/gr-localization: GNU Radio and ZeroMQ based collection of applications t ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

rwth-ti/gr-localization

开源软件地址(OpenSource Url):

https://github.com/rwth-ti/gr-localization

开源编程语言(OpenSource Language):

Python 99.0%

开源软件介绍(OpenSource Introduction):

gr-localization GNU Radio based localization framework

Application to perform localization experiments using SDR. Includes software for the receivers, fusion center and GUI.

alt text

Dependencies

In order to execute the gr-localization you will need to install the following prerequisites

  • GNU Radio (http://gnuradio.org/)
  • UHD Driver for USRP hardware
  • ZeroMQ including the C++ and Python bindings (http://zeromq.org/)
  • python-qwt5-qt4
  • python-scipy
  • python-pyproj
  • python-matplotlib
  • python-mpltoolkits.basemap

command: sudo apt-get install python-qwt5-qt4 python-scipy python-pyproj python-matplotlib python-mpltoolkits.basemap

Recommended:

Install ntp server:

  • ntp

Add these lines to /etc/ntp.conf

server 127.127.1.0
fudge 127.127.1.0 stratum 10
broadcast 192.168.10.255 #system network

Add the following lines to /etc/sudoers in order to allow the user to change the system time:

"username" ALL=(ALL) NOPASSWD: /bin/date
"username" ALL=(ALL) NOPASSWD: /usr/sbin/ntpdate

How to run the app

First make sure all the computers are reachable and firewalls are not blocking the connection.

To run a basic scenario with one fusion center, one GUI and several receivers and integrated LCXO disciplined oscilators run the following from the apps folder:

Option 1:

Computer 1 (Fusion center, GUI and receiver):

./fusion_center.py
./gui.py
./receiver.py --ntp-server

Computers 2 and 3 (receiver):

./receiver.py --fusion-center "fusion_center_ip_addr"

To reach a longer battery runtime and faster processing, outrsourcing the fusion center to a faster Desktop computer is recommended:

Computer 1 (Fusion center):

./fusion_center.py

Computers 2 to 4(receivers):

./receiver.py --fusion-center "fusion_center_ip_addr"

and at one or more of them:

./gui.py --fusion-center "fusion_center_ip_addr"

Several receivers or GUIs can be run in the system specifying the fusion center ip address. If more than one receiver or GUI is going to be executed in the same computer, specify an index with -i option:

./receiver.py -i 1 --fusion-center "fusion_center_ip_addr"
./receiver.py -i 2 --fusion-center "fusion_center_ip_addr"
./gui.py -i 1 --fusion-center "fusion_center_ip_addr"
./gui.py -i 2 --fusion-center "fusion_center_ip_addr"

In order to have more accurate results, NTP usage is recommended. Run one of the receivers with --ntp-server option:

./receiver_flowgraph.py --fusion-center "fusion_center_ip_addr" --ntp-server

If the clock reference is not the internal oscillator use -g option with one of the compatible devices:

./receiver.py -g lte_lite
./receiverpy -g octoclock

Once everything is running the different components should appear in the setup tab of the GUI.

Copyright information

Copyright © 2017 Institute for Theoretical Information Technology, RWTH Aachen University https://www.ti.rwth-aachen.de/




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap