Difference between revisions of "ADS-B: ADSBox"

From OnnoWiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 54: Line 54:
  
 
==Run==
 
==Run==
 +
 +
Contoh menjalankan
  
 
  cd /usr/local/src/adsbox
 
  cd /usr/local/src/adsbox
Line 72: Line 74:
  
 
==Catatan librtlsdr==
 
==Catatan librtlsdr==
 
 
Google Earth notes:
 
    - install GE;
 
    - place adsbox.kml file (see ADSBox source dir) in preffered directory;
 
    - open adsbox.kml in editor and point ADSBox host IP
 
    and port (8080 as default);
 
    - start ADSBox server then open adsbox.kml in GE.
 
 
Web server notes:
 
    - open ADSBox info page (e.g http://192.168.1.6:8080) in
 
    browser and see current status.
 
    - you may also open SQLite web interface at http://192.168.x.x:8080/sqlite.html
 
    (run with --db-edit option to enable write queries).
 
  
 
Librtlsdr compile notes:
 
Librtlsdr compile notes:

Latest revision as of 06:06, 5 January 2020

Sumber: http://ucideas.org/projects/hard/adsb/index.html Rusia

Download

cd /usr/local/src
wget http://ucideas.org/projects/hard/adsb/adsbox-20180427.tar.gz
tar zxvf adsbox-20180427.tar.gz

cd /usr/local/src
wget https://sqlite.org/2019/sqlite-amalgamation-3300100.zip
unzip sqlite-amalgamation-3300100.zip
mv sqlite-amalgamation-3300100 sqlite3

cd /usr/local/src/adsbox
make

Install Google Earth

Download

https://www.google.com/earth/versions/#download-pro

Edit adsbox.kml file

Edit vi /usr/local/src/adsbox/adsbox.kml


<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
  <description>
  <![CDATA[
	Air Traffic by <a href="http://diseqc.alh.org.ua/projects/hard/adsb/index.html">ADSBox</a>.
Flight <a href="http://192.168.0.165:8080">board</a>. ]]> </description> <NetworkLink> <refreshVisibility>1</refreshVisibility> <flyToView>0</flyToView> <Link> <href>http://192.168.0.165:8080/adsbox.kml</href> <refreshMode>onInterval</refreshMode> <refreshInterval>6</refreshInterval> </Link> </NetworkLink> </Document> </kml>

Edit IP addres agar sama dengan IP yang kita gunakan.


Run

Contoh menjalankan

cd /usr/local/src/adsbox
./adsbox &
./adsbox --db-edit &
./adsbox --beast-server 192.168.0.165 --beast-server-port 30009 --lat -6.168614 --lon 106.865016 --name REC1 &
./adsbox --lat -6.168614 --lon 106.865016 --name REC1 &
  • Buka Google Earth
  • Bukan adsbox.kml di Google Earth

Akses

Sesuaikan dengan IP yang kita gunakan

http://192.168.0.165:8080
http://192.168.0.165:8080/sqlite.html

Catatan librtlsdr

Librtlsdr compile notes:

   - set WITH_RTLSDR=yes in Makefile to enable USB SDR dongles support.
   You may need to point rtl-sdr.h and librtlsdr.so files location also.

Referensi

Pranala Menarik