Commit Graph

1806 Commits

Author SHA1 Message Date
eric1tran e7f9401722 Fix postinst file 2021-03-08 22:59:09 +00:00
eric1tran f9e252c110 Bannner showing the dump1090-fa link will soon be decpreated 2021-03-08 20:12:29 +00:00
eric1tran e7d39c9abb Enable skyaware module in postinst file 2021-03-08 19:29:41 +00:00
eric1tran 2c47717360 Have separate map url for new merged SkyAware. Set default port 8080 to this map 2021-03-08 18:23:20 +00:00
eric1tran 047c193da6 Hide 1090 labels if dump1090 is not enabled 2021-03-08 15:28:39 +00:00
eric1tran bd43fec71e Bug in last commit 2021-03-08 15:21:37 +00:00
Paul Philippov cb25eb2cb8
Update README.md (#92)
Additionally requires fakeroot on a newly installed Debian.
2021-03-08 16:39:37 +08:00
Oliver Jowett f36a0c6d38 More changelog 2021-03-08 16:37:19 +08:00
VasiliyTurchenko 9c2531a98d
fixed screen (first line) issue when in the interactive mode (#116) 2021-03-08 16:34:56 +08:00
Oliver Jowett db53a09dbf Changelog updates 2021-03-08 16:28:07 +08:00
Oliver Jowett 9c67290562 Fix stray '+' in interactive mode when distance mode isn't enabled 2021-03-08 15:40:11 +08:00
Oliver Jowett 005e3db2ba Fix suggestion for --aggressive replacement 2021-03-08 15:37:42 +08:00
Oliver Jowett 1653ce9ca2 Update json docs for messages_by_df, new interval options. Remove
old references to the internal webserver.
2021-03-08 15:25:31 +08:00
Oliver Jowett a75296ae72 Reduce `make wisdom.local` iterations to match `generate-wisdom` 2021-03-08 15:18:35 +08:00
Oliver Jowett 1c7db21349 Add docs about generating starch wisdom files 2021-03-08 15:06:15 +08:00
Oliver Jowett a135d2b915 Add a --no-fix-df option
Usually, all message candidates are speculatively corrected as if
they were DF11/17/18, even if the DF field has a different value. This
allows correction of messages when there is correctable damage to the
DF field.

However, running every message candidate through a couple of CRC checks
is expensive, CPU-wise, when decoding messages off the air, as there are
a large number of message candidates that are actually just junk data, and
computing CRCs for all of those adds up. The --no-fix-df option allows
disabling this sort of correction. The tradeoff is that messages with
damage to the DF field will not be corrected.
2021-03-08 14:23:35 +08:00
eric1tran d90426e1ce Bump script cache bust version to 5.0 2021-03-07 04:25:09 +00:00
eric1tran a59af7385c Update aircraft db to 20210305 2021-03-05 06:02:35 +00:00
eric1tran 5db6efd62d Ignore messages heard on 1090 when we hear them on 978. We will support multiple datasource display in a later release 2021-03-03 20:15:50 +00:00
eric1tran 77ab9f04ba Hide UAT toggle check box if disabled 2021-02-25 19:06:16 +00:00
eric1tran e8fe48485e Change styling for registration numbers that are used as idents. Hide UAT message rate if UAT is disabled. 2021-02-25 15:42:16 +00:00
eric1tran e23cd7e73b Use /data for 1090 directory to avoid breaking exisiting tools like dump1090exporter that may be looking there 2021-02-25 06:00:43 +00:00
eric1tran 74b1a39aa0 Merge 1090 and UAT aircraft into one map
Squashed commit of the following:

commit ef61cba13698090b85fea3136bc77e320eab3d0d
Author: eric1tran <eric1tran@gmail.com>
Date:   Thu Feb 25 04:39:22 2021 +0000

    Remove unused receiver clock code

commit 809cf656b5a098948fbfc5ce2b5f60f753fb4043
Author: eric1tran <eric1tran@gmail.com>
Date:   Thu Feb 25 04:35:32 2021 +0000

    Avoid calling getDataSource() so many times and cleanup spacing

commit a0000b942bb5aa5f8061db0ca9d405461c6eea07
Author: eric1tran <eric1tran@gmail.com>
Date:   Thu Feb 25 04:19:11 2021 +0000

    Copy paste bug

commit ccc3cd3964bddcd86e8faf45c06e577309cffb02
Author: eric1tran <eric1tran@gmail.com>
Date:   Thu Feb 25 04:17:14 2021 +0000

    Filter UAT logic

commit 34dc860a16e1c57cdc3563ec31c45f9b1b133d4c
Author: eric1tran <eric1tran@gmail.com>
Date:   Thu Feb 25 03:24:56 2021 +0000

    Reorder message rate text

commit 25db80799a2a6dc8e33835cb2ed43c305c87a4d8
Author: eric1tran <eric1tran@gmail.com>
Date:   Thu Feb 25 00:56:43 2021 +0000

    Track 1090 and 978 message rate separately

commit a2031d13e4a447ad0f8de61eada75f0da019d1c2
Author: eric1tran <eric1tran@gmail.com>
Date:   Thu Feb 25 00:27:25 2021 +0000

    UAT classification logic

commit 5482274016eecfbc27f2b5de6779c032803ca177
Author: eric1tran <eric1tran@gmail.com>
Date:   Wed Feb 24 23:13:39 2021 +0000

    Spacing

commit 2fc4408e6437ec5e0db2329d46a68fc6538abc45
Author: eric1tran <eric1tran@gmail.com>
Date:   Wed Feb 24 22:57:05 2021 +0000

    Load UAT history.json files if UAT is enabled

commit 9ccf4eba7590b1f38c78aeb73209b48cb8e0c34f
Author: eric1tran <eric1tran@gmail.com>
Date:   Wed Feb 24 22:24:23 2021 +0000

    ajax calls to fetch UAT aircraft json if enabled

commit d8f0c1c042bdba8ae1348a513df7dcca6ebc23fc
Author: eric1tran <eric1tran@gmail.com>
Date:   Wed Feb 24 21:29:01 2021 +0000

    Read skyaware978 config files on initialization

commit 0245fa7449e92555b7631ab0365e43fb38e1c221
Author: eric1tran <eric1tran@gmail.com>
Date:   Wed Feb 24 20:15:09 2021 +0000

    Change SkyAware url to /skyaware to genericize it for dual mode

commit 9384364b2473f8c73d3f165d7f5192c1995457a5
Author: eric1tran <eric1tran@gmail.com>
Date:   Wed Feb 24 19:46:06 2021 +0000

    Add UAT toggle and description (non-functional)

commit 9b65a55c0ceb7c3da3b3515d26f0d5d42192f658
Author: eric1tran <eric1tran@gmail.com>
Date:   Wed Feb 24 19:32:54 2021 +0000

    Removed unused css
2021-02-25 05:43:10 +00:00
eric1tran 9f07a81dfa Bump faup1090 version to 8E 2021-02-24 19:21:26 +00:00
eric1tran ff7aafe0bb Aircraft label styling 2021-02-24 16:34:57 +00:00
eric1tran c23438a5cf Adjust aircraft label outline width 2021-02-22 22:13:59 +00:00
eric1tran b84f427732 Remove unused class var 2021-02-22 21:59:36 +00:00
eric1tran 3773acf4c0 Null check before setting aircraft icon style 2021-02-22 21:57:32 +00:00
eric1tran e111303b1e Implement toggle checkbox to show/hide aircraft labels 2021-02-22 17:37:00 +00:00
eric1tran 45e13b20ba Add aircraft labels on icons and a non-functional checkbox to toggle the labels 2021-02-22 17:02:20 +00:00
Oliver Jowett 22d21cd013 Rework the interactive-mode Mode column to show more detail.
New Mode values:

S:  Mode S, no ADS-B
A0: ADS-B v0, DO-260
A1: ADS-B v1, DO-260A
A2: ADS-B v2, DO-260B
NT: ADS-B non-transponder
R:  ADS-R
T:  TIS-B
2021-02-18 14:20:44 +08:00
Oliver Jowett 3324f072cd Set an up to date message timestamp when refreshing interactive mode, just
in case.
2021-02-18 14:02:54 +08:00
Oliver Jowett 5a33b4ee8f Set at least airground = AG_UNCERTAIN for airborne position messages with valid altitudes.
DF18 messages don't have a CA field so we can't set airground from that.
That meant that aircraft tracking wouldn't update airground state at all from a DF18
airborne position message, even if the existing tracked airground state was stale.
It seems reasonable to set at least AG_UNCERTAIN if we're seeing airborne positions
with valid altitude data.

Fixes github issue #113
2021-02-18 13:57:27 +08:00
eric1tran d8d5f2a117 Change button color on filter set 2021-02-10 20:40:57 +00:00
Oliver Jowett 33bb2d929b Mark cpu_features and starch as vendored code 2021-02-10 14:12:26 +08:00
Oliver Jowett d1f6d02e9a Try to handle generated starch output more sensibly in merges & github compare mode 2021-02-10 13:58:14 +08:00
Jurre Van Wouw c4e346698e
Add NetBSD detection to Makefile; use NetBSD's curses (simply called curses) rather than ncurses on NetBSD (#111) 2021-02-10 12:44:30 +08:00
eric1tran 4eab12497e Update filter slider default values accordingly when changing the DisplayUnits 2021-02-10 01:06:35 +00:00
Eric Tran b7205e2e64
faup1090 changes to consume commands via stdin (#107)
* Create a network service and connection faup's stdin. Create a Modes.faup_rate_multiplier attribute and set from faup command input

* Use faup_rate_multiplier to adjust the minAge for emitting messages

* Convert upload_rate_multiplier to a double and adjust minAge with it

* Cleanup

* Var name change

* MODES_NOTUSED define for unused modes client object

* Sanity check on faup multiplier field
2021-02-09 07:25:51 -06:00
Oliver Jowett c421c31152 Overhaul of message scoring & error correction.
Major changes:

Try to error-correct all messages that potentially could be DF11/17/18
even if the original DF value is different. This allows messages with
correctable damage in the first 5 bits to be correctable.

Track recently-seen DF18 addresses separately to DF17 addresses.
DF18 does not imply Mode S support, so we don't want to treat it like
a known Mode S emitter, but once we've heard some DF18 for an aircraft
we can be more confident about future DF18 messages for the same
address.

Rework the scoring system so it's just a big enum that lists all the
possible outcomes in the order that we want. This makes the relative
ordering of different messages clearer, and makes it easier to move
messages above/below the accept thresholds as needed.

Don't accept 2-bit-error-corrected messages that are from aircraft we
have not previously seen. This greatly reduces the number of garbage
messages when using 2-bit error correction.

Overall results are:

 * more CPU required for decoding (approx 30% increase in my tests)
   as we're doing a lot more speculative CRC-checking work
 * no significant change to message rates with error correction off
 * about 5% more 1-bit-corrected DF17 decodes, with a
   disproportionate increase in those messages contributing to
   successful position decodes / unique aircraft counts
 * _fewer_ decodes with 2-bit correction (versus old code with 2-bit
   correction), but the message quality is substantially improved,
   the rate of garbage decodes / phantom aircraft is greatly reduced

sample stats:

1-bit correction, old code:
    141158 total usable messages
    137852 accepted with correct CRC
      3306 accepted with 1-bit error repaired
     27446 DF17 messages
        51 unique aircraft tracks

1-bit correction, new code:
    141296 total usable messages
    137854 accepted with correct CRC
      3442 accepted with 1-bit error repaired
     27528 DF17 messages
        55 unique aircraft tracks

2-bit correction, old code:
    142656 total usable messages
    137809 accepted with correct CRC
      3283 accepted with 1-bit error repaired
      1564 accepted with 2-bit error repaired
     28803 DF17 messages
       349 unique aircraft tracks (<- note that most of these are garbage)

2-bit correction, new code:
    142426 total usable messages
    137822 accepted with correct CRC
      3420 accepted with 1-bit error repaired
      1184 accepted with 2-bit error repaired
     28666 DF17 messages
        55 unique aircraft tracks
2021-02-09 20:10:55 +08:00
Oliver Jowett 132702cfa7 Regenerate starch-generated code for starch update & aarch64 wisdom 2021-02-09 14:16:12 +08:00
Oliver Jowett 40c24b1c55 Add temporary wisdom.aarch64 2021-02-09 14:15:05 +08:00
Oliver Jowett 5600d3fc71
Merge pull request #108 from gtjoseph/dev-fa-starch-aarch64
Starch config: Add aarch64
2021-02-09 14:08:52 +08:00
Oliver Jowett fa80e7c917 Update starch to upstream commit f76162205fa082d4c9a75b89eb4295e03f5f68fd 2021-02-09 14:05:05 +08:00
eric1tran 270c629515 Italicize filter count text 2021-02-09 04:42:02 +00:00
eric1tran 8c892973be Merge branch 'dev' of github.com:flightaware/dump1090 into dev 2021-02-09 04:33:57 +00:00
eric1tran d5184efa6e Display a count of active filters 2021-02-09 04:33:50 +00:00
eric1tran c2e1c1f6d5 Rearrage My ADS-B Stats page button 2021-02-08 20:14:45 +00:00
George Joseph 2308c1d196 Starch: Changed aarch64 flavor to use simd
The flavor is now armv8_neon_simd
2021-02-08 10:10:44 -07:00
Oliver Jowett d8cca659e7 Remove stray extra cpufeatures makefile include 2021-02-09 00:30:25 +08:00