ADS-B: ADSBox

From OnnoWiki
Jump to navigation Jump to search

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