Commit graph

1022 commits

Author SHA1 Message Date
Oliver Jowett 5d681f4819 faup1090: Don't bother with the tisb field now that we have addrtype.
(cherry picked from commit df9648911e)
2016-10-01 15:20:50 +01:00
Oliver Jowett 197fb2625a Tool to replay beast captures with the right inter-message timing. 2016-10-01 15:06:02 +01:00
Oliver Jowett 0c71b3db27 Fix up unsigned subtractions & use of abs.
Also fix heading difference which was just wrong, signed or not.

Should fix #150
2016-09-26 22:00:52 +01:00
Oliver Jowett 729d91c1ab Fix up address type categorization to match the spec. 2016-09-15 15:30:34 +01:00
Oliver Jowett 7c1fed98d2 faup1090: entirely blank (all spaces) idents are not interesting 2016-09-15 15:09:35 +01:00
Oliver Jowett 7e003097a0 faup1090: apply the same update rules to squawks/idents as to other data. 2016-09-15 15:09:22 +01:00
Oliver Jowett fb454c0a10 faup1090: accept squawks, idents as "useful" things. 2016-09-15 15:08:50 +01:00
Oliver Jowett 92136f3807 faup1090: only report airGround if we got a message confirming it since the last update. 2016-09-15 15:00:44 +01:00
Oliver Jowett 001f4956ea faup1090: report non-A-class categories. 2016-09-15 15:00:10 +01:00
Oliver Jowett 9653d365db faup1090: emit events from DF18 as well as DF17 2016-09-15 14:59:04 +01:00
Oliver Jowett 46f0c15471 Test page for markers. 2016-09-15 01:32:38 +01:00
Oliver Jowett 50a606d23f Make it clearer that ADDR_ADSB_ICAO includes Mode S too. 2016-09-14 17:19:49 +01:00
Oliver Jowett 4dacb291ab Fix tabs in faup1090 output. 2016-09-14 17:19:36 +01:00
Oliver Jowett 8441cf7d90 Emit non-icao addresses, address types from faup1090 2016-09-14 17:02:23 +01:00
Oliver Jowett 0ae2c5efc8 Emit addrtype in json output. 2016-09-14 17:01:07 +01:00
Oliver Jowett 8d8443f3dc Track the "best" addrtype we ever saw for an aircraft. 2016-09-14 16:54:00 +01:00
Oliver Jowett 2a4aa29f03 Record the address type details when decoding. 2016-09-14 16:37:07 +01:00
Oliver Jowett 10641303cb Add a couple more ME types. 2016-09-14 16:12:08 +01:00
Oliver Jowett 9e179d46bf Don't accept all-zeros messages (e.g. off the network - the demodulator
doesn't accept them already)
2016-09-14 16:11:31 +01:00
Oliver Jowett b827806ce8 Simplify ident decoding, add some sanity checks to the BDS2,0 case. 2016-09-14 16:02:20 +01:00
Oliver Jowett 8e8b8588bf Merge branch 'master' into tracking-rewrite 2016-09-10 20:53:59 +01:00
Oliver Jowett d75cc94e40 Fix handling of nodejs module stuff when loaded in the browser. 2016-09-10 17:51:57 +01:00
Oliver Jowett 65a0f7f963 Compress vrs.csv since it's basically readonly. 2016-09-10 17:43:10 +01:00
Oliver Jowett 9b0d40fd4f CUTnnnn should be CU-Tnnnn 2016-09-10 17:39:42 +01:00
Oliver Jowett 2a3e4a0a0d Support reading multiple CSVs in csv-to-json.py 2016-09-10 17:26:55 +01:00
Oliver Jowett f45430e3b5 Warn about CSV mismatches in filter-regs.js 2016-09-10 17:26:36 +01:00
Oliver Jowett 2f12447fda Russian regs should be RA-nnnnn not RAnnnnn 2016-09-10 16:19:06 +01:00
Oliver Jowett aa916439e4 Prune the static DB with filter-regs.js 2016-09-10 16:07:38 +01:00
Oliver Jowett d1a33f4655 Add a script that filters redundant registrations from the json db 2016-09-10 15:54:59 +01:00
Oliver Jowett e5912c322f Add some mechanical hexid->registration conversions. 2016-09-09 17:16:17 +01:00
Oliver Jowett 1958b23a93 Tweak the on-the-ground conditions a little. 2016-09-02 18:46:48 +01:00
Oliver Jowett 2636353e4a Fix aircraft-relative position validity check. 2016-09-02 18:41:59 +01:00
Oliver Jowett f9419f13d5 Break up decodeExtendedSquiiter, it was getting pretty large. 2016-09-01 23:13:31 +01:00
Oliver Jowett a1fdc07db2 Restructure decoding to use a helper function to extract bit ranges
With forced inlining this is about as fast, and it is much less
errorprone than the twisty little maze of handcoded bitshifts that
it was before.

(notably, at least one error - in the ACAS RI field - has been fixed)
2016-09-01 22:45:49 +01:00
Oliver Jowett 303d3c3fef Make faup1090 emit iSource to say where the ident came from. 2016-09-01 19:11:33 +01:00
Oliver Jowett 08fba4e3b0 Add support for markers that don't rotate but have a heading arrow.
Use it for balloons.
2016-08-29 12:38:00 +01:00
Oliver Jowett 3e08de91ed WIP on decoding operational status & target state messages. 2016-08-29 11:11:04 +01:00
Oliver Jowett fa91b24ffa Use _DEFAULT_SOURCE to get ANSI-plus-defaults rather than
_BSD_SOURCE + _POSIX_SOURCE which newer glibc doesn't like.

Fixes #143
2016-08-28 23:48:17 +01:00
Oliver Jowett 08887642ea Rename the ACAS stuff a bit, emit ES target state. 2016-08-28 12:51:03 +01:00
Oliver Jowett 954034855a Make faup1090 emit some interesting messages when they occur. 2016-08-28 01:29:37 +01:00
Oliver Jowett 244ea9851d Add A380 and B737-800 markers. 2016-08-27 19:19:13 +01:00
Oliver Jowett 4d47ada055 Add some more type->marker mappings. 2016-08-27 19:18:57 +01:00
Oliver Jowett 4c79319145 Fix the scaling comment. 2016-08-27 16:43:17 +01:00
Oliver Jowett 158a8298fc Rearrange json DB stuff so it can work with CSV input. 2016-08-27 16:13:10 +01:00
Oliver Jowett ca57fb27f0 Add more aircraft icons courtesy Peter Lowden.
Add support for selecting an icon based on aircraft type from the json DB.
2016-08-27 15:49:04 +01:00
Oliver Jowett 54ca2c7fb2 WIP big rewrite of message decoding / aircraft tracking. 2016-08-27 14:34:14 +01:00
Oliver Jowett f152bf633e Build in C11 mode on Linux. 2016-08-27 13:15:41 +01:00
Oliver Jowett 36a5c16dd2 Initialize from static "zero" messages rather than using memset. 2016-08-26 21:39:39 +01:00
Oliver Jowett 8b8f8d7a40 Use INVALID_ALTITUDE in a few more places. 2016-08-26 21:38:06 +01:00
Oliver Jowett 08c14484cd Use the haversine formula for small greatcircle distances, rather
than clamping to zero.
2016-08-26 11:36:29 +01:00