1.ã¯ããã«
ç§ã®çŸåšã®æŽ»åã¯èªç©ºãšã¯äœã®é¢ä¿ããããŸããããããŸããŸç æ°ã«ãªããŸããã ãããèµ·ãã£ãæ£ç¢ºãªç¬é-ãããããæåã®é£è¡ãããã«å€§ããè²¢ç®ãããšã¯èšãé£ãã§ãã ãã°ããããŠãç§ã¯èªç©ºã®ããŒãã«é¢ããæ ç»ãèŠå§ããé£è¡æ©ã®æ§é ãšéãã«èå³ãæã¡ãç§ã®æŽ»åãå°ãªããšãå°ã趣å³ãšçµã³ä»ããæ¹æ³ãæ¢ãå§ããŸããã ã ããç§ã¯ã ADS-Bãã¯ãããžãŒãšãæ奜家ã®éã§ã®ãã®äºæãã¬å¿çšãã¬ãŒããŒã¹ãããã£ã³ã°ã«ç²ŸéããŸããã Habrã®ãªãŒãã³ã¹ããŒã¹ã§ã¯ããã®ããŒãã«é¢ããèšäºãé »ç¹ã«è¡šç€ºãããããšã¯ãããŸããïŒ one ã two ïŒã ãããã£ãŠãããã§ã¯ã¬ãŒããŒã¹ãããã£ã³ã°ã®ãããã¯ã«ã€ããŠå°ãã話ããã人æ°ã®ãããªãœãŒã¹flightradar24ãžã®ããŒã¿ã®ç¬ç«ãããããŒããã£ã¹ããäœæããããã»ã¹ã詳现ã«èª¬æããŸãã
ããã§ãèªç©ºãšèªç©ºæ©èŠ³æž¬ã®ãããã¯ã«èå³ãæã¡ïŒç æ°ïŒããããŠããã«çŽæ¥åå ããããã¹ãŠã®äººã®ããã«ãç«ãžããããã
2.ã¬ãŒããŒã¹ãããã£ã³ã°ãšã¯
ã¬ãŒããŒã¹ãããã£ã³ã°ã¯ãã¹ãããã£ã³ã°ã®çš®é¡ã®1ã€ã§ãïŒã¯ãŒãã¹ããããã-芳å¯ãŸã§ïŒãèªç©ºæ©ããåä¿¡ããããŒã¿ãåŠçãã芳枬è ã«ãšã£ãŠäŸ¿å©ãªåœ¢åŒã§è¡šç€ºã§ããç¹å¥ãªåä¿¡æ©ãšãœãããŠã§ã¢ã䜿çšããŠèªç©ºæ©ãç£èŠãã趣å³ã®äžçš®ã§ãã ã¬ãŒããŒã¹ãããã£ã³ã°ã¯ADS-Bãã¯ãããžãŒã«åºã¥ããŠãããADS-Bãã©ã³ã¹ãã³ããŒãè£ åããèªç©ºæ©ãããèªç©ºæ©ã®ICAOã¢ãã¬ã¹ããã®äœçœ®åº§æšãã³ãŒã¹ãé«åºŠãæ°Žå¹³ããã³åçŽé床ãªã©ã®ãã©ã¡ãŒã¿ãŒãååŸã§ããŸãã
éåžžããœãããŠã§ã¢ããã±ãŒãžå šäœã¯2ã€ã®éšåã§æ§æãããŠããŸãã
- ããŒã¿ãåä¿¡ããã³ãã³ãŒãããããã®ãœãããŠã§ã¢ïŒ ADSBScope ã Basestation ã dump1090ãªã©ïŒ;
- åä¿¡ããããŒã¿ãèŠèŠçã«è¡šç€ºïŒéä¿¡ïŒããããã®ãœãããŠã§ã¢ïŒ Virtual Radar Server ã PlanePlotterãªã©ïŒã
ç¹å®ã®ãœãããŠã§ã¢ã®éžæã¯ãäž»ã«åä¿¡è ã®ã¿ã€ããšã¿ã¹ã¯ã«äŸåããŸãã ããšãã°ã microADSBã¬ã·ãŒããŒããããã¢ã³ããã®ç¯å²å ã«ãããã©ã€ãã確èªãããå Žåã¯ã ADSBScope + PlanePlotterãã³ãã«ã䜿çšã§ããŸãã
ãã ãããã®å Žåã¯ãåä¿¡æ©ã«æ¥ç¶ãããã¢ã³ããã«ãã£ãŠå¢çãèšå®ãããããŒã«ã«ãšãªã¢ã®ã¿ã芳å¯ã§ããŸãã äžçäžã«ããäœäžãã®ããã€ã¹ïŒããªããå«ãïŒããã®ããŒã¿ãæµãã倧èŠæš¡ãªç»åã芳å¯ããããšã¯ãã¯ããã«èå³æ·±ãããã«æããŸãã
ããã§ç§ãã¡ã¯èŠåºãã«ã¹ã ãŒãºã«è¿ã¥ããŸãã-倧ããªééçè²»çšã«é Œããã«ããããã®ãµãŒãã¹ã®1ã€ãžã®ç¬èªã®ããŒã¿éä¿¡ãæŽçããããã§ãã
3.çŽ æããŒã¹
ç¬èªã®ããŒã¿ã»ã³ã¿ãŒãæ§ç¯ããã«ã¯ã次ã®ããšãè¡ãå¿ èŠããããŸãã
- ADS-Båä¿¡æ©ïŒåä¿¡æ©ïŒ;
- 1090 MHzã®ã¢ã³ããã
- æ¥ç¶ã±ãŒãã«;
- ã³ã³ãã¥ãŒã¿ãŒãŸãã¯ãã®ä»ã®ããã€ã¹ïŒããã«ã€ããŠã¯åŸã§æ€èšããŸãïŒã
- ãœãããŠã§ã¢ã¹ã€ãŒãã
- æ°žç¶çãªã€ã³ã¿ãŒãããã¢ã¯ã»ã¹ã
3.1 ADS-Bã¬ã·ãŒããŒ
åæ段éã§ã¯ã RTL2832ãããã»ããã«åºã¥ãUSB DVB-Tã¬ã·ãŒããŒã¯ããããã®ç®çã«æé©ã§ãã ãã®ãããªããã€ã¹ã¯ãåãEbayã§è±¡åŸŽçãª7ã9ãã«ã§æ³šæã§ããŸãã
ãã®ããã€ã¹ã®æäœã®è©³çŽ°ã«ã€ããŠã¯ã ãã¡ããã芧ãã ãã ã äœãããã£ãšçå£ã«äœ¿çšãããå Žåã¯ãããªãå€æ°ã®ç°ãªãADS-Båä¿¡æ©ãããã«ãªã¹ããããŠããŸã ã
3.2 1090 MHzã®åä¿¡ã¢ã³ãã
ããã§ã¯ãã¹ãŠãã¯ããã«è€éã§ãã ãªããªã ADS-Bãã©ã³ã¹ãã³ããŒããã®ä¿¡å·ã¯éåžžã«åŒ±ãããããšã¬ã¡ã³ãé·ã69 mmã®åçŽã«äžåãã«ãã€ããŒã«ã¢ã³ãããåãä»ããããšãæãŸããã§ãã å€ãã¯ããã®ããã€ã¹ã®èšèšãšè£œé 粟床ã«äŸåããŸãã
èªå®¶è£œã®ã¢ã³ãããšå·¥æ¥çšã®ã¢ã³ããã®äž¡æ¹ã販売ãããŠããŸããããšã³ããªãŒã¬ãã«ã®äž¡æ¹ã®ãªãã·ã§ã³ã®äŸ¡æ Œã«ã¯å€ãã®èŠæãæ®ãããŠããŸãã
èªäœã¢ã³ããã䜿çšãããšã ãã©ã³ã¯ãªã³ã¢ã³ãããåçŽã³ãªãã¢ãªã©ã®ãªãã·ã§ã³ã«æ³šæãæãããšãã§ããŸãã ãã©ã³ã¯ãªã³ã¢ã³ãããæåŠããçç±ã¯ãèªå® ã§ïŒæ¥ãã§ïŒè£œé ããå Žåãæ£ç¢ºãªå¹ŸäœåŠç寞æ³ãç¶æããããšã¯ã»ãšãã©äžå¯èœã ããã§ãã
åæ³¢ãã€ãã¬ãŒã¿ãŒãå³å¯ã«åçŽã§ãããåãå¹³é¢ã«ããããšã確èªããå¿ èŠããããŸããããããªããšããã¹ãŠã®æå³ã倱ãããŸãã ããã«ãã±ãŒãã«ã®æ¥ç¶å ã«ã€ããŠã¯å€ãã®è°è«ããããŸãã
ãã®ç¹ã§ããã¶ã€ã³ãåçŽã³ãªãã¢ããã€ãŸããã®ãªãã·ã§ã³ã§åæ¢ããããšã決å®ãããŸããã
3D㧠é«å質 ïŒ
ã¢ã³ããã®ããŒã¹ãšããŠãé«åšæ³¢ã³ãã¯ã¿SR-75-166Fã®äžéšã䜿çšããŸãã ã
ã³ãã¯ã¿ã®ä»ã®éšåã¯ãã¢ã³ãããDVB-Tåä¿¡æ©ã«æ¥ç¶ããããã®ã±ãŒãã«ã«æ¥ç¶ãããŠããŸãã ãã®ããã«ã¯ãé©åãªã±ãŒãã«ã䜿çšããå¿ èŠããããŸãã ãã©ãŒã©ã ãããè¡æãã¬ãããã®75Ωã®æµæã®ã±ãŒãã«ãé©ããŠããããšãããããŸããã
ã¢ã³ããèªäœã®èŠçŽ ã¯ã Ã2mmã®é ç·ã§ã§ããŠããŸãã ã èŠçŽ ã®å¯žæ³ãšã¢ã»ã³ããªå³ã¯å³é¢äžã«ãããŸãã
äž»ãªé£ç¹ã¯ãé·ãL = 69 mmã2ã¿ãŒã³äœæããããšã§ãã ããã§ãé©åãªçŽåŸã®ãã¥ãŒããæ¡çšããŸãããããããæçµçãªãã®ã§ãã
ãã®èšèšããªãŒãã³ã¹ããŒã¹ïŒæé©ãªãªãã·ã§ã³ïŒã«èšçœ®ããå Žåãéåžžãã¢ã»ã³ããªå šäœã¯é©åãªçŽåŸã®PVCãã¥ãŒãã§äœãããç¹å¥ãªã±ãŒã·ã³ã°ã«é 眮ãããé èŠçŽ ã®é žåãé²ãã匷床ãé«ããŸãã
ã¿ã¹ã¯ãå°ãç°¡ç¥åããæ§é å šäœãå±æ ¹ã®äžã«é 眮ããŸããã
3.3ãœãããŠã§ã¢ããã³ããŒããŠã§ã¢
å ¬åŒã«ã¯ãflightradarã«ã¯Windows ã Linux ã OSX ãããã³Raspberry Piçšã®ãœãããŠã§ã¢ããããŸã ã ãã®ãªã¹ãããã®ç¹å¥ãªã¹ãªã«ã¯ãLinuxã®ãµããŒããåå ã§ãã ãã®å ŽåãUSBããŒããšã«ã¹ã¿ã ãã¡ãŒã ãŠã§ã¢ïŒOpenWrtïŒãåããéåžžã®ããŒã ã«ãŒã¿ãŒã«ãããã³å šäœãå±éããããšãã§ããŸãã ãããããã®å¥ã®æéã«ã€ããŠã®è©³çŽ°ã
CentOS 6.7 x86_64ãå®è¡ããŠããæ¢åã®LinuxãµãŒããŒã§ãã®ã¿ã¹ã¯ãå®è¡ããããšã決å®ãããŸããã 以éã®ã€ã³ã¹ããŒã«æé ã¯ãã¹ãŠã ãã®ããŒãžã§ã³ã®OSã«ã®ã¿é©çšãããŸãïŒ
flightradar24ã®ãœãããŠã§ã¢ããã±ãŒãžã¯ã2ã€ã®ã¢ãžã¥ãŒã«ã§æ§æãããŠããŸãã
- dump1090-ããŒã¿ã®åä¿¡ããã³ãã³ãŒãçšã
- fr24feed-åä¿¡ããããŒã¿ãflightradar24ãµãŒããŒã«ãããŒããã£ã¹ãããããŒã¢ã³ã
Ubuntuãšã¯ç°ãªããCentOSã«ã¯æ¢è£œã®ã€ã³ã¹ããŒã«* .rpmããã±ãŒãžããªãããããã¹ãŠã®ãœãããŠã§ã¢ãæåã§ã¢ã»ã³ãã«ããå¿ èŠããããäžéšã®ã¢ãžã¥ãŒã«ã¯ãœãŒã¹ããã³ã³ãã€ã«ããå¿ èŠããããŸãã å·çæç¹ã§ã¯ãflightradarã®ææ°ã®ãœãããŠã§ã¢ã¯1.0.18-5 ã§ãã ã
NTPã»ããã¢ãã
ããŒã¿ãéä¿¡ããå ŽåãADS-Bãã±ãããåä¿¡ãããšãã®ãã¹ããã·ã³ã®æ£ç¢ºãªæéã®å€ãéåžžã«éèŠãªåœ¹å²ãæãããŸãã CentOSã¯ntpdããŒã¢ã³ã䜿çšããŠæå»ãåæããŸãã
NTPãµãŒãã¹ãæ§æããŸãã
ãã¡ã€ã«
ãéãã
ãèšå®ã
ãã¡ã€ã«
ãéããNTPãµãŒããŒã®ã¢ãã¬ã¹ãæžã蟌ã¿ãŸãã ç§ã®å Žåã次ã®ããã«ãªããŸãã
ãµãŒãã¹ã®èµ·åãæ§æããæå»ãåæããŸãã
/etc/sysconfig/ntpdate
ãéãã
SYNC_HWCLOCK=yes
ãèšå®ã
SYNC_HWCLOCK=yes
ãã¡ã€ã«
/etc/ntp.conf
ãéããNTPãµãŒããŒã®ã¢ãã¬ã¹ãæžã蟌ã¿ãŸãã ç§ã®å Žåã次ã®ããã«ãªããŸãã
server 0.by.pool.ntp.org
server 1.ru.pool.ntp.org
server 2.europe.pool.ntp.org
ãµãŒãã¹ã®èµ·åãæ§æããæå»ãåæããŸãã
# service ntpd start
# chkconfig --level 345 ntpd on
# ntpdate 0.by.pool.ntp.org
fr24feedãã€ã³ã¹ããŒã«ãã
ã¢ãŒã«ã€ããåãåã£ãŠè§£åããŸãã
# wget http://feed.flightradar24.com/linux/fr24feed_1.0.18-5_amd64.tgz
# tar -zxvf fr24feed_1.0.18-5_amd64.tgz
ã¢ãŒã«ã€ãã®å éšã¯æ¬¡ã®ãšããã§ãã
fr24feed
ãã€ããªãã¡ã€ã«ã
version.txt
ãœãããŠã§ã¢ããŒãžã§ã³ã瀺ãããã¹ããã¡ã€ã«ã
LICENSE.fr24feed
ã©ã€ã»ã³ã¹å¥çŽã
ãã¡ã€ã«ããã£ã¬ã¯ããªã«å解ããŸãïŒ
# cp fr24feed /usr/bin/
# chown root.root /usr/bin/fr24feed
# chmod 755 /usr/bin/fr24feed
# mkdir -p /usr/share/doc/fr24feed
# cp LICENSE.fr24feed /usr/share/doc/fr24feed
# chown -R root:root /usr/share/doc/fr24feed
# chmod 755 /usr/share/doc/fr24feed
# chmod 644 -R /usr/share/doc/fr24feed/*.*
èµ·åããããšããïŒ
# cd /usr/bin/
# ./fr24feed
ããã«å¯Ÿå¿ããŠãã»ãšãã©ã®å Žåã次ã®èŠåã衚瀺ãããŸãã
./fr24feed: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by ./fr24feed)
./fr24feed: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by ./fr24feed)
./fr24feed: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by ./fr24feed)
./fr24feed: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by ./fr24feed)
ããã¯ãã·ã¹ãã ã«å¿ èŠãªã©ã€ãã©ãªããªãããšã瀺ããŠããŸãã ããã®ãã¹ãŠã¯åæã«åçŽã§è€éã§ãïŒlibcããã³libstdc ++ã©ã€ãã©ãªãå¿ èŠãªããŒãžã§ã³ã«ã¢ããã°ã¬ãŒãããå¿ èŠããããŸãã æšæºã®CentOSãªããžããªã䜿çšããå Žåããšã«ããå¿ èŠãªã©ã€ãã©ãªããŒãžã§ã³ã¯ããã«ãããŸããã CentOS 7ã«åãæ¿ããŠãããã®åé¡ã¯å®å šã«ã¯è§£æ±ºãããŸããã
libstdc++.so.6
ã¯GCC 4.9ããã±ãŒãžã«å«ãŸããŠãããæåã§ã¢ã»ã³ãã«ããå¿ èŠããããŸãã
è¡ããïŒ
GCCã®ã¢ã»ã³ããªãéå§ããåã«ãããã»ã¹ã§å¿ èŠãªã¢ãžã¥ãŒã«ãæäŸããå¿ èŠããããŸãã
è¿œå ã®ã³ã³ããŒãã³ããããŠã³ããŒãããŸãã
èšå®ïŒ
-64ãããã³ã³ãã€ã©ãŒã®ã³ã³ãã€ã«;
-ãµããŒããããŠããèšèªã®ã»ããïŒïŒ
çµã¿ç«ãŠãšèšçœ®ïŒ
# wget https://ftp.gnu.org/gnu/gcc/gcc-4.9.3/gcc-4.9.3.tar.gz
# tar -zxvf gcc-4.9.3.tar.gz
# cd gcc-4.9.3/
GCCã®ã¢ã»ã³ããªãéå§ããåã«ãããã»ã¹ã§å¿ èŠãªã¢ãžã¥ãŒã«ãæäŸããå¿ èŠããããŸãã
# yum install gcc gcc-c++
# yum install zip
è¿œå ã®ã³ã³ããŒãã³ããããŠã³ããŒãããŸãã
# ./contrib/download_prerequisites
èšå®ïŒ
--disable-multilib
-64ãããã³ã³ãã€ã©ãŒã®ã³ã³ãã€ã«;
--enable-language=c,c++
-ãµããŒããããŠããèšèªã®ã»ããïŒïŒ
# ./configure --disable-multilib --enable-language=c,c++
çµã¿ç«ãŠãšèšçœ®ïŒ
# make && make install
ããã±ãŒãžã®æ§ç¯ããã»ã¹ã«ã¯éåžžã«é·ãæéãããããŸãã 1ã€ã®ã³ã¢ãš1 Gbã® RAMãæèŒããä»®æ³ãã·ã³ã§ã¯ã5ã6æéãš6 Gbã®ãã£ã¹ã¯ã¹ããŒã¹ãå¿ èŠã§ããã
ããã±ãŒãžãã€ã³ã¹ããŒã«ããããšãã©ã€ãã©ãªã¯
/usr/local/lib64
ã³ããŒãããŸãã ããããã¢ããªã±ãŒã·ã§ã³ã§äœ¿çšã§ããããã«ããã«ã¯ãç°å¢å€æ°
LD_LIBRARY_PATH
ãã¹ãç»é²ããå¿ èŠããããŸãã
ã·ã¹ãã ã®åèµ·ååŸã«ãã®å€æ°ã®å€ã䜿çšã§ããããã«ããã«ã¯ããŠãŒã¶ãŒã®ããŒã ãã£ã¬ã¯ããªã«ãã
.bashrc
ãå€æŽã
.bashrc
ã
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib64
Libc.so.6ã¢ããããŒã
ããŠã³ããŒãããã±ãŒãžãã¢ããã°ã¬ãŒãããã«ã¯ïŒ
ã€ã³ã¹ããŒã«ïŒ
ä¿¡é Œæ§ã確ä¿ãããããfr24feedãããäžåºŠç¢ºèªããããšããå§ãããŸãã
libc.so.6
ããŠã³ããŒãããã±ãŒãžãã¢ããã°ã¬ãŒãããã«ã¯ïŒ
# wget http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/redsleeve/steam/glibc-2.15-60.el6.x86_64.rpm
# wget http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/redsleeve/steam/glibc-common-2.15-60.el6.x86_64.rpm
# wget http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/redsleeve/steam/glibc-devel-2.15-60.el6.x86_64.rpm
# wget http://ftp.vim.org/ftp/pub/ftp/os/Linux/distr/redsleeve/steam/glibc-headers-2.15-60.el6.x86_64.rpm
ã€ã³ã¹ããŒã«ïŒ
# rpm -Uvh glibc-2.15-60.el6.x86_64.rpm glibc-common-2.15-60.el6.x86_64.rpm glibc-devel-2.15-60.el6.x86_64.rpm glibc-headers-2.15-60.el6.x86_64.rpm
ä¿¡é Œæ§ã確ä¿ãããããfr24feedãããäžåºŠç¢ºèªããããšããå§ãããŸãã
dump1090ãã€ã³ã¹ããŒã«ãã
USBã«å¿ èŠãªã³ã³ããŒãã³ããé 眮ããŸãã
# yum install libusb1
# yum install usbutils
ããã€ãã¹ã«ããæ¥ç¶ããã·ã¹ãã ãããããèŠããæ¹æ³ã確èªããŸãã
# lsusb
ãã®åçã¯ãããã€ã¹ã®æ£ããå®çŸ©ã瀺ããŠããŸãã
Bus 001 Device 002: ID 0bda:2838 Realtek Semiconductor Corp. RTL2838 DVB-T
Dump1090ã«ã¯ã librtlsdrã©ã€ãã©ãªã®ã»ãããå¿ èŠã§ãã å®éã rtl_sdrã¯ããã¥ãŒããŒã®ã誀ã£ãã䜿çšãæäŸããADS-Bä¿¡å·ãåä¿¡ã§ããããã«ãããã©ã€ããŒã§ãã 幞ããªããšã«ãEPELãªããžããªã«ã¯æ¢è£œã®* .rpmããã±ãŒãžããããŸãã
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/r/rtl-sdr-0.5.3-3.el7.x86_64.rpm
# yum install ./rtl-sdr-0.5.3-3.el7.x86_64.rpm
ãœãŒã¹ãããã«ãããããšã§dump1090èªäœãã€ã³ã¹ããŒã«ãããïŒGitHubã®ãããžã§ã¯ã ïŒããŸãã¯* .rpmããã±ãŒãžãããŠã³ããŒãããããšãã§ããŸãïŒãããç§ã¯ãã¹ãŠãæ¢è£œã«ããã®ã奜ãã§ãïŒã
# wget http://download.opensuse.org/repositories/hamradio/openSUSE_Tumbleweed/x86_64/dump1090-1.10.3010.14-3.17.x86_64.rpm
# yum install ./dump1090-1.10.3010.14-3.17.x86_64.rpm
æåã®æã¡äžã
ãã®ãããç®æšã«ã»ãŒè¿ã¥ããŠããŸããæ®ã£ãŠããã¢ã¯ã·ã§ã³ã¯ãããã§ãã
1. flightradar24ã§ãã§ãã¯ã€ã³ããŸã ã
2. fr24feedãå®è¡ããŸãã
ã¹ããããã€ã¹ãããã®ã»ããã¢ãããéå§ãããŸã-æ瀺ã«åŸã£ãŠãã ããïŒ
ç»é²æã«è¡šç€ºãããã¡ãŒã«ã¢ãã¬ã¹ãå ¥åããŠãã ãã
以åã«flightradarã§ããŒã¿ããããŒããã£ã¹ãããããšãããå Žåããã®ã¢ã€ãã ãã¹ãããã§ããŸãããããããäžæã®ããŒãå¿
èŠã§ã-å
¥åãããããã£ãŒã«ãã空ã®ãŸãŸã«ããŠãã ãã
å¿ èŠã«å¿ããŠã MLATãã¯ãããžãŒã䜿çšããŠèªç©ºæ©ã®åº§æšã®èšç®ã«åå ã§ããŸã-ã客æ§ã®è£éã§
空枯ã®è¿ãã«ããå Žåã¯ã空枯ã³ãŒããå ¥åãããããã£ãŒã«ãã空ã®ãŸãŸã«ããŸã
ã¢ã³ããäœçœ®ã®åº§æšïŒç·¯åºŠãšçµåºŠïŒãå°æ°ç¹ä»¥äž4æ¡ã®ç²ŸåºŠã§å ¥åããŸãã ããŠããŠããã¿ã¹ãªGoogleããããããã§åœ¹ç«ã¡ãŸãã
ã¢ã³ããã®æµ·é¢ããã®é«ãïŒãã£ãŒãåäœïŒã瀺ããŸãïŒ ãã¡ããåç §ïŒ
ããã°ã©ã ã¯ç¶ç¶èŠæ±ãçæããŠçºè¡ããŸã
åä¿¡æ©ã®ã¿ã€ããéžæããŠãã ãã
ããã°ã©ã ã¯ãdump1090ã®å Žæããã§ãã¯ããŸãã å¿ èŠã«å¿ããŠãè¿œå ã®ãã©ã¡ãŒã¿ãŒãèšå®ã§ããŸã
30002ããã³30003ããŒãã§ã®ããŒã¿äº€æãèš±å¯ããŸã
* .logãã¡ã€ã«ã®ãµã€ãºãšå Žæãèšå®ãã
ããã§fr24feedã®äºåèšå®ãå®äºããŸããã ãã©ã¡ãŒã¿ãŒã¯/etc/fr24feed.iniãã¡ã€ã«ã«ä¿åãããŸãã ããã«ïŒè¡éã§èªã¿åãïŒãäžæã®ã¬ãŒããŒèå¥åãšäº€æããŒãåãåããŸãã
# cd /usr/bin
# ./fr24feed --signup
ã¹ããããã€ã¹ãããã®ã»ããã¢ãããéå§ãããŸã-æ瀺ã«åŸã£ãŠãã ããïŒ
ç»é²æã«è¡šç€ºãããã¡ãŒã«ã¢ãã¬ã¹ãå ¥åããŠãã ãã
Step 1.1 - Enter your email address (username@domain.tld)
$:my_email@google.com
以åã«flightradarã§ããŒã¿ããããŒããã£ã¹ãããããšãããå Žåã
Step 1.2 - If you used to feed FR24 with ADS-B data before enter your sharing key.
$:
å¿ èŠã«å¿ããŠã MLATãã¯ãããžãŒã䜿çšããŠèªç©ºæ©ã®åº§æšã®èšç®ã«åå ã§ããŸã-ã客æ§ã®è£éã§
Step 1.3 - Would you like to participate in MLAT calculations? (yes/no)$:no
空枯ã®è¿ãã«ããå Žåã¯ã空枯ã³ãŒããå ¥åãããããã£ãŒã«ãã空ã®ãŸãŸã«ããŸã
Step 2 - Enter nearest airport code (IATA or ICAO)
Enter airport code or leave empty$:
ã¢ã³ããäœçœ®ã®åº§æšïŒç·¯åºŠãšçµåºŠïŒãå°æ°ç¹ä»¥äž4æ¡ã®ç²ŸåºŠã§å ¥åããŸãã ããŠããŠããã¿ã¹ãªGoogleããããããã§åœ¹ç«ã¡ãŸãã
Step 3.A - Enter antenna's latitude (DD.DDDD)
$:_
Step 3.B - Enter antenna's longitude (DDD.DDDD)
$:_
ã¢ã³ããã®æµ·é¢ããã®é«ãïŒãã£ãŒãåäœïŒã瀺ããŸãïŒ ãã¡ããåç §ïŒ
Step 3.C - Enter antenna's altitude above the sea level (in feet)
$:_
ããã°ã©ã ã¯ç¶ç¶èŠæ±ãçæããŠçºè¡ããŸã
Validating email/location information...OK
Enter your choice (yes/no)$:yes
åä¿¡æ©ã®ã¿ã€ããéžæããŠãã ãã
Step 4.1 - Receiver selection:
1 - DVBT Stick (USB)
Enter your receiver type (1-7)$:1
ããã°ã©ã ã¯ãdump1090ã®å Žæããã§ãã¯ããŸãã å¿ èŠã«å¿ããŠãè¿œå ã®ãã©ã¡ãŒã¿ãŒãèšå®ã§ããŸã
Checking for dump1090...FOUND
Step 4.3 - Enter your additional dump1090 arguments or leave empty
$:
30002ããã³30003ããŒãã§ã®ããŒã¿äº€æãèš±å¯ããŸã
Step 5.1 - Would you like to enable RAW data feed on port 30002 (yes/no)$:yes
Step 5.2 - Would you like to enable Basestation data feed on port 30003 (yes/no)$:yes
* .logãã¡ã€ã«ã®ãµã€ãºãšå Žæãèšå®ãã
Step 6A - Please select desired logfile mode:
2 - 72 hour, 24h rotation
Select logfile mode (0-2)$:2
Step 6B - Please enter desired logfile path (/var/log):
$:/var/log/fr24feed
Submitting form data...OK
Saving settings to /etc/fr24feed.ini...OK
ããã§fr24feedã®äºåèšå®ãå®äºããŸããã ãã©ã¡ãŒã¿ãŒã¯/etc/fr24feed.iniãã¡ã€ã«ã«ä¿åãããŸãã ããã«ïŒè¡éã§èªã¿åãïŒãäžæã®ã¬ãŒããŒèå¥åãšäº€æããŒãåãåããŸãã
3. fr24feedããŒã¢ã³ã®äœæ
ããã©ã«ãã§ã¯ã fr24feedã¯ãµãŒãã¹ãšããŠæ©èœã§ãããããã«ããããã»ã¹ãå°ãè€éã«ãªããŸãã ãã®ãããªåé¡ã解決ããããã«ãããŒã¢ã³ã®åœ¢ã§ä»»æã®ããã»ã¹ãéå§ãããã®åŸã«ã·ã°ãã«ãéä¿¡ã§ããstart-stop-daemonãŠãŒãã£ãªãã£ããããŸãã
ãã¡ã€ã«ã
ãã£ã¬ã¯ããªã«é 眮ããŸã
ããŒã¢ã³ãèªåèµ·åçšã«ç»é²ããŸãã
ãµãŒãã¹ãéå§ããŸãã
# wget http://download.opensuse.org/repositories/home:/sschapiro:/openstack:/IS24/RedHat_RHEL-6/x86_64/start-stop-daemon-1.9.18-2.4.x86_64.rpm
# yum install ./start-stop-daemon-1.9.18-2.4.x86_64.rpm
ãã¡ã€ã«ã
/etc/init.d
ãã£ã¬ã¯ããªã«é 眮ããŸã
ããŒã¢ã³ãèªåèµ·åçšã«ç»é²ããŸãã
# chkconfig --add fr24feed
# chkconfig --list fr24feed
ãµãŒãã¹ãéå§ããŸãã
# service fr24feed start
4. iptablesã«ã«ãŒã«ãè¿œå ããŸã
fr24feedã«ã¯ãããŒã8754ã«ããå°ããªWebããŒã¹ã®ç®¡ç ããã«ããããç£èŠå¯Ÿè±¡ã®ããŒããšããã°ã©ã èšå®ã®ãªã¹ãã«ãã°ããã¢ã¯ã»ã¹ã§ããŸãã
# iptables -A INPUT -p tcp -m tcp --dport 8754 -j ACCEPT
# iptables-save | tee /etc/sysconfig/iptables
# service iptables restart
ãã¹ãŠã奜ãïŒ ãã®æ®µéã§ããœãããŠã§ã¢ã®ã€ã³ã¹ããŒã«ãšæ§æã¯å®äºãããšèŠãªãããšãã§ããŸãã
4.ãããªãŒãã£ã³ã°
äžå®ã®äœæ¥æéã®åŸãããŒã¿ã¯flightradar24ã§åä¿¡ãããçµ±èšãåéãããŸããã ãã¹ãŠã®çµ±èšã¯ãå³åœ¢åŒã§ãµã€ãã«è¡šç€ºãããŸãã UTCæå»åœ¢åŒã䜿çšããŠããéãäžéšã®ã°ã©ãã«ã¯éå»ã®7æ¥éã®ãã®æ¥ã®çµ±èšã衚瀺ãããŸãã
4.1ã¢ã¯ãã£ããã£å³ã®åæ
極座æšãããã
ã¢ã³ãããç¹åŸŽä»ããææšã®1ã€ã¯æŸå°ãã¿ãŒã³ã§ãã Flightradar24ã¯ãåä¿¡ããADS-Bãã±ããã®æ°ãšããã±ãããéä¿¡ãããæ倧è·é¢ãã»ã¯ã¿ãŒã®åã°ã©ãã§è¡šç€ºããŸãã ãã®ãããªçµ±èšã¯24æé以å ã«çæãããŸãïŒ
ãã®å³ã¯ããã±ãããåä¿¡ãããæ倧è·é¢ã143æµ·éãã€ãŸãçŽ264.8 kmã§ããããšã瀺ããŠããŸãã ã¢ã³ãããå±æ ¹ã®äžã«ãããšããäºå®ãèãããšããã®ã€ã³ãžã±ãŒã¿ã¯éåžžã«è¯ãã§ãã ããã«ããã®ãã£ãŒãã䜿çšããŠãä¿¡å·ã®åä¿¡ã劚ããé害ç©ïŒæš¹æšãäžãé«å±€ãã«ãªã©ïŒãç¹å®ã§ããŸãã
ãã¹ãã°ã©ã
åä¿¡ãããã±ããæ°ã®è·é¢äŸåæ§ãèŠããšãäžèŠããã ãã§ã¯ãã¹ãŠããã©è²ã§ã¯ãããŸããã
ã芧ã®ãšãããããã±ãŒãžã®ããŒã¯ã¯45æµ·éã®è·é¢ããŸãã¯80 kmãå°ãè¶ ãããšããã«ãããŸãã ãã®ãã¹ãã°ã©ã ãããæ§é å šäœã®æå¹æ§ãå€æã§ããŸãã ãã±ããåä¿¡ã®ç¯å²ã¯ãã¢ã³ããèªäœã®èšèšãšé 眮ãã¢ã³ããããåä¿¡æ©ãŸã§ã®ã±ãŒãã«é·ãåä¿¡æ©ã®çš®é¡ãä¿¡å·çµè·¯å ã®å€éšèŠå ã®ååšïŒæšãæ¯èŠ³ãé«å±€ãã«ãå¹²æžæºãªã©ïŒãªã©ã®èŠå ã®åœ±é¿ãåããŸãã
å ±åããããããæ°ãšäœçœ®
ãã®ã¿ã€ãã®ãã£ãŒãã«ã¯ãèªç©ºæ©ããåä¿¡ãããã¹ãŠã®ãã±ããã®ç·æ°ïŒãããïŒãšãèªç©ºæ©ã®åº§æšãå«ããã±ããã®æ°ïŒäœçœ®ïŒã衚瀺ãããŸãã
èªç©ºæ©ã«ãã£ãŠéä¿¡ããã座æšã¯ã CPR ïŒ ã³ã³ãã¯ãããžã·ã§ã³ã¬ããŒã ïŒåœ¢åŒã§ãšã³ã³ãŒããããŸããå®å šã«ãã³ãŒãããã«ã¯ã2ã€ã®ãã±ããïŒå¶æ°ãšå¥æ°ïŒãå¿ èŠã§ãã å¹²æžã«ããããã±ããã®äžéšã倱ãããå¯èœæ§ããããŸããããã«ãèªç©ºæ©ã¯åžžã«çŸåšã®åº§æšãå«ããã±ãããéä¿¡ãããšã¯éããªããããã°ã©ãã«ççŸãçããŸãã
èŠãããèªç©ºæ©
éå»7æ¥éã«ã·ã¹ãã ãæ¯æ¥èšé²ããèªç©ºæ©ã®æ°ã確èªã§ããŸãã
4.2äœãèµ·ãã£ã
ãã®çµæãå®å šã«éçšå¯èœãªã·ã¹ãã ãåŸããããã®éçšç¯å²å ãé£è¡ããèªç©ºæ©ããããŒã¿ãåä¿¡ããã³ãã³ãŒãããããšãã§ããŸãã åä¿¡ããããŒã¿ã¯äººæ°ã®ãããªãœãŒã¹ã«éä¿¡ãããåçãªãã©ã€ããããã®åœ¢ã§ãã¹ãŠã®äººã«å©çšå¯èœã§ãã
ã«ãã¬ããžã®ååŸã倧ããããã«ã¯ãã¢ã³ãããä¿è·ããŠãžã³ã°ã«å ¥ããŠïŒå¿ èŠã«å¿ããŠïŒã¢ã³ãããåãåºãããšãã§ããŸãã ãŸããã¬ã·ãŒããŒãžã®ã±ãŒãã«ã®é·ããçãããããäœãã€ãºã¢ã³ãã1090 MHzã«èšå®ãããã§ããŸã ã
ãããããæãæéã®ããããœãããŠã§ã¢ã€ã³ã¹ããŒã«ãªãã·ã§ã³ãããã§èæ ®ãããŸãã UbuntuïŒDebianïŒãã¡ããªãŒã®OSã«* .debããã±ãŒãžããã€ã³ã¹ããŒã«ããå ŽåããŸãã¯Windowsçšã®ãœãããŠã§ã¢ãããŠã³ããŒãããå Žåãã¹ãããæ°ãå€§å¹ ã«åæžãããŸãã
ããã ãã§ã å ¬è¡šã®éçšã§ããšã©ãŒãäžæ£ç¢ºããè³æã«å¿ã³èŸŒãã§ããå¯èœæ§ããããŸããã³ã¡ã³ããŸãã¯PMã§ããããææããŠããã ããã°éåžžã«ããããã§ãã
PSç§ã¯ã»ãšãã©å¿ããŠããŸããïŒããŒã¿è»¢éã«æè¬ããŠãflightradar24ã¯å€ãã®ç°ãªããªãã·ã§ã³ãšãã°ããºããå«ãæ¡åŒµãã¬ãã¢ã ã¢ã«ãŠã³ããæäŸããŸãã