Difference between revisions of "GNURadio: gr-adsb"

From OnnoWiki
Jump to navigation Jump to search
Line 28: Line 28:
 
==Jalankan Web Server + Google Maps==
 
==Jalankan Web Server + Google Maps==
  
  cd gr-adsb/
+
  cd /usr/local/src/gr-adsb/
 
  cd web/
 
  cd web/
 
  ./webserver.py or $ python2 webserver.py
 
  ./webserver.py or $ python2 webserver.py
Line 36: Line 36:
 
* Open a web browser
 
* Open a web browser
 
* Browse to localhost:5000
 
* Browse to localhost:5000
 
  
 
==Referensi==
 
==Referensi==

Revision as of 10:55, 6 January 2020

Sumber: https://github.com/mhostetter/gr-adsb#webserver-dependencies

Instalasi Pendukung

Jika menggunakan built-in Google Maps webserver, kita perlu menginstalasi package Python berikut,

sudo su
apt update
apt -y install python-pip
pip install flask
pip install flask-socketio
pip install gevent
pip install gevent-websocket

Download, Compile & Install

cd /usr/local/src
git clone https://github.com/mhostetter/gr-adsb.git
cd /usr/local/src/gr-adsb/
mkdir build
cd build/
cmake ../  # or cmake -DCMAKE_INSTALL_PREFIX=<path_to_install> ../
make
sudo make install
sudo ldconfig


Jalankan Web Server + Google Maps

cd /usr/local/src/gr-adsb/
cd web/
./webserver.py or $ python2 webserver.py

Client

  • Open a web browser
  • Browse to localhost:5000

Referensi

Pranala Menarik