Commit Graph

1902 Commits

Author SHA1 Message Date
Oliver Jowett f932baa5fa Adaptive gain: more aggressively re-probe for a higher gain
following a decrease in gain due to an increased noise floor.

This is controlled by --adaptive-range-scan-delay and defaults
to 5 minutes (vs. the default rescan delay of 1 hour)
2021-12-07 17:29:50 +08:00
Oliver Jowett fa8a066b4c Disable cpufeatures on darwin/arm64 2021-12-07 15:18:58 +08:00
Oliver Jowett b645f7d4f2 Try to respect CFLAGS/CPPFLAGS as far as possible; move required extra flags into a separate var.
This means you can, in theory, completely override CFLAGS/CPPFLAGS without also having to
provide all the internal flags that the Makefile usually detects.

$ make CFLAGS=-qwerty
[...]
cc  -I. -DMODES_DUMP1090_VERSION=\"unknown\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -D_DEFAULT_SOURCE -DENABLE_CPUFEATURES -Icpu_features/include -DENABLE_RTLSDR -DENABLE_BLADERF -DENABLE_HACKRF -DENABLE_LIMESDR -DSTARCH_MIX_X86 -qwerty -std=c11 -fno-common -Wall -Wmissing-declarations -Werror -W -I/usr/include/ -I/usr/include/libusb-1.0 -I/usr/include/ -I/usr/include/ -I/usr/include/libusb-1.0  -c dump1090.c -o dump1090.o

Should fix #161
2021-12-07 15:12:49 +08:00
Oliver Jowett bc72177c8b Treat ARCH=arm64 like ARCH=aarch64 2021-12-07 13:17:02 +08:00
eric1tran 24c0248fc0 Openlayers cleanup. Remove v4.4.2 js/css files and remove source map files as minified files are not being used to begin with 2021-11-22 18:27:12 +00:00
Oliver Jowett cdbd6c77a9 Updates for bullseye, drop jessie support.
* dh-compat 10
 * no dh-systemd dependency
 * backport version for buster
 * teach prepare-build about bullseye
 * update stretch maintainer address
 * update Jenkinsfile (this will be broken until the builder machine is upgraded)
2021-11-22 19:29:30 +08:00
Oliver Jowett 059e48b82b Allow env vars (not only command line overrides) to set CPUFEATURES_{ARCH,UNAME}.
Change CPUFEATURES_{ARCH,UNAME} defaults to use {ARCH,UNAME} values.

Fixes #158
2021-09-23 13:24:59 +08:00
Oliver Jowett 5f7e7cf8e0 Version bump to 7.0~dev 2021-09-23 13:14:03 +08:00
Oliver Jowett 752a7aeac0 No-change 6.1 release for PiAware 6.1
Fix 6.0 changelog date format
2021-09-06 16:07:03 +08:00
Oliver Jowett 08c7ccbc8e Adaptive gain docs.
(These are not included in the build so don't need to re-tag 6.0)
2021-09-01 19:45:01 +08:00
eric1tran 9788588aba Release 6.0 & changelog 2021-08-31 21:26:24 +00:00
eric1tran 8b9dd42676 Merge branch 'dev' into staging 2021-08-24 16:52:07 +00:00
Oliver Jowett 14e6d5c3fa Rearrange config upgrade so upgrading a v6 config file
disables adaptive gain.

This is needed for the case where a v5 package with an unmodified
config file is upgraded. dpkg will install the v6 default config
file automatically so it will already be a v6 config by the time
that upgrade-config runs, but we do still need to go in and
disable adaptive gain.
2021-08-23 13:07:05 +08:00
eric1tran e8eeac4654 Merge branch 'dev' into staging 2021-08-18 18:40:20 +00:00
Eric Tran abf8fa2b00
Revert "CSS updates (including dark mode)" (#149) 2021-08-18 13:37:50 -05:00
eric1tran 06bc3c34cf Version bump to 6.0 2021-08-17 20:41:14 +00:00
Oliver Jowett 88fec00f17 Add VH- registration rule to public_html_merged, too 2021-08-17 21:12:23 +08:00
Oliver Jowett ae042eeb27 Update aircraft db to 20210817 (Australian registrations & types)
Update public_html db so it's in sync with public_html_merged
2021-08-17 15:03:34 +08:00
Oliver Jowett f45b2c6475 Add a deterministic registration rule for VH- registrations 2021-08-17 14:34:10 +08:00
eric1tran 2ba2f4da71 Update aircraft db to 20210816 2021-08-16 17:32:24 +00:00
eric1tran 29a6ae5102 Merge branch 'dev' of github.com:flightaware/dump1090 into dev 2021-08-16 17:16:37 +00:00
Oliver Jowett 0aac23e049 Enable rtlsdr bounce buffers on aarch64, too (thanks to @wiedehopf for the suggestion) 2021-08-11 17:28:47 +08:00
Oliver Jowett ef70374126 Report json write errors, with some rate limiting.
Fixes #129
2021-08-04 17:33:28 +08:00
Oliver Jowett 7d552a2ede Remove old testfile (no longer useful due to sampling rate changes)
fixes #135 (well, wallpapers over the cracks at least)
2021-08-04 17:22:10 +08:00
Oliver Jowett 8b0e8ce6e3 Merge just one commit (21d1fe0f11) from PR #143 2021-08-04 17:11:44 +08:00
Oliver Jowett e02d0d5ffa Regenerate starch-generated files 2021-08-04 17:08:00 +08:00
Oliver Jowett 871a7e685f Update starch to upstream commit 0c8249fa4bc523345c156885542e9192e8bf9420 2021-08-04 17:07:08 +08:00
Oliver Jowett dd53b36bdf
Merge pull request #142 from flightaware/mrar
MRAR Comm-B support
2021-08-03 21:28:58 +08:00
Oliver Jowett 26924e4efe
Merge pull request #144 from b3nn0/stratux-gain
Stratux output: include current receiver gain
2021-08-03 17:22:54 +08:00
Adrian Batzill 6785c56348 Stratux output: include current receiver gain 2021-07-30 12:32:45 +01:00
VirusPilot 21d1fe0f11
Update dump1090.c
corrected an obvious typo
2021-07-30 08:36:45 +02:00
Oliver Jowett 3367cc5a82 faup1090: bump TSV_VERSION to 9E for MRAR, Comm-B changes 2021-07-29 19:04:54 +08:00
Oliver Jowett fe36349083 faup1090: upload MRAR data 2021-07-29 19:04:54 +08:00
Oliver Jowett e0f794b1a5 Track MRAR data per-aircraft and emit in aircraft.json 2021-07-29 19:04:54 +08:00
Oliver Jowett 95ab1c0faa faup1090: upload unknown-format Comm-B messages on demand 2021-07-29 19:04:53 +08:00
Oliver Jowett fab8081322 Upload Comm-B GICB messages 2021-07-29 19:04:53 +08:00
Oliver Jowett 9d4e2230d2 Add a few more Comm-B EMPTY_RESPONSE cases 2021-07-29 19:04:52 +08:00
Oliver Jowett 825f959e4d Add skeletal BDS0,5 decoding.
These messages duplicate ADS-B messages so it's not clear why
they are being interrogated for, and we don't really trust them
enough to do anything with the position information. But
recognizing/decoding them where possible does let us exclude other
Comm-B message types, avoiding some false positives.
2021-07-29 19:04:52 +08:00
Oliver Jowett c148fdca84 Distinguish "unknown format" from "didn't even try to decode"
when decoding Comm-B messages
2021-07-29 19:04:51 +08:00
Oliver Jowett 9f146fcb71 Set mrar_source_valid correctly 2021-07-29 19:04:51 +08:00
Oliver Jowett cdc818a9f3 MRAR source=5 is bogus, don't decode that. 2021-07-29 19:04:50 +08:00
Oliver Jowett e3a8e00412 WIP on MRAR decoding 2021-07-29 19:04:49 +08:00
Oliver Jowett 6b8cac3922 Increase default adaptive gain rescan interval to 1 hour 2021-07-26 22:08:57 +08:00
Oliver Jowett 899ee2530c Add CONFIG_STYLE to default config for unambiguous detection of
new-style config. Try to handle un-upgraded config files in
start-dump1090-fa. Always pass --quiet to dump1090-fa.
2021-07-26 20:26:17 +08:00
Oliver Jowett d6405ddefd Ignore bogus -I/ from librtlsdr pkgconfig 2021-07-26 20:25:35 +08:00
Oliver Jowett e058929977 stretch compile fixes? round two 2021-07-21 20:51:57 +08:00
Oliver Jowett 7b1771cdad Fix limesdr build 2021-07-21 20:03:06 +08:00
Oliver Jowett 017e5d391b Add ADAPTIVE_DYNAMIC_RANGE_TARGET config var 2021-07-21 19:42:09 +08:00
Oliver Jowett 5bd1718bb2 try non-static const to make stretch build happy? 2021-07-21 19:41:42 +08:00
Oliver Jowett f3e498a62a Treat the magic agc setting as just another gain step.
The legacy -10 value is still supported for compatbility with old
configs, but new configs should just select an appropriate gain e.g.
60dB.

rtlsdr default gain continues to be the highest regular gain step (~ 49.6dB)
2021-07-19 17:34:45 +08:00