Commit graph

1002 commits

Author SHA1 Message Date
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
Oliver Jowett a910454c02 Comm-D ELM is actually DF 24..31, not just 24.
This DF is formatted with the first two bits as 1, and the next 3 bits
are part of the message rather than part of the DF code. So effectively
it spans 8 DF values if you are looking at the full 5 bits.
2016-08-26 11:35:11 +01:00
Oliver Jowett 308b928f8c If maxrange is 0, we cannot do receiver-relative CPR at all. 2016-08-26 11:31:32 +01:00
Oliver Jowett 43906f994b Limit aircraft-relative CPR to 50km. 2016-08-26 11:30:46 +01:00
Oliver Jowett 568e843b9f Add --max-range to view1090, use the same defaults as dump1090. 2016-08-26 11:29:42 +01:00
Oliver Jowett 8d998b2525 Rename --hae to --gnss since it's not always HAE.
(In the baro+GNSS modes, the reported GNSS can be either HAE or geoid-corrected MSL;
in the pure GNSS mode it is HAE only)
2016-08-26 11:27:46 +01:00
Oliver Jowett bc8ba5b73a Refresh the nexrad tiles every 5 mins. 2016-08-05 01:18:23 +01:00
Oliver Jowett 8766a58811 Add a NEXRAD layer suggested in #135 2016-08-04 21:19:31 +01:00
Oliver Jowett 50fd2ac2af Store the state of each overlay layer in localStorage. 2016-08-04 21:18:54 +01:00
Oliver Jowett ca3c4979f5 Add a note about quoting keys in config.js 2016-07-24 21:15:21 +01:00
Oliver Jowett 426e77a252 Don't choke when selecting positionless planes in the table. 2016-07-24 16:58:13 +01:00
Oliver Jowett 4305c99b01 Add Bing roadmap layer (if you have a key) 2016-07-24 16:25:14 +01:00
Oliver Jowett d3565b407e Generate geodesic circles for range rings.
Turns out that OL3's circles aren't geodesic circles so the
ranges are all off if you're anywhere but on the equator.
So generate our own LineStrings that approximate a circle.

Should fix #133
2016-07-24 16:13:04 +01:00
Oliver Jowett a06b13d42a Relax the A/C quiet threshold; this seems to pick up a lot more A/C messages. 2016-07-24 15:05:52 +01:00
Oliver Jowett 1e5a6fd854 Don't touch the GPS setting (I had it backwards anyway). 2016-07-13 10:56:54 +01:00
Oliver Jowett 474b564385 Try to configure whatever faup1090 connects to for the settings we want. 2016-07-13 10:02:15 +01:00
Oliver Jowett b2aaa23984 Remove the last vestiges of the update-aircraft-db cronjob. 2016-07-10 12:22:32 +01:00
Oliver Jowett ad3d0e4d74 Upgrade the lighttpd dependency to Recommends 2016-07-10 12:13:49 +01:00
Oliver Jowett 9012b46ee1 Make the lighttpd enable/disable a bit more automatic. 2016-07-10 12:12:09 +01:00
Oliver Jowett ebfa6f63be Strip out the config options for the internal webserver. 2016-07-10 11:58:46 +01:00
Oliver Jowett e4ceea33da Disable the internal webserver at build time. 2016-07-10 11:56:31 +01:00