Commit graph

953 commits

Author SHA1 Message Date
Oliver Jowett
4b0bc4cee9 Make 2.4MHz sampling the default for new installs. 2015-01-25 16:11:34 +00:00
Oliver Jowett
09b6b3aa8c Fix some lintian warnings. 2015-01-24 01:08:05 +00:00
Oliver Jowett
c1ac4d1036 Update GPL coverage. 2015-01-24 01:04:45 +00:00
Oliver Jowett
26feb1d078 Add some testing code that looks for ambiguous syndromes that
could confuse the partial correction used in DF11.

That code shows that yes, there are ambiguous syndromes in the
2-bit correction case only, so disable corrections of more than
1 bit in DF11.
2015-01-23 21:59:31 +00:00
Oliver Jowett
5ac90e30a8 Changelog. 2015-01-23 21:26:57 +00:00
Oliver Jowett
dcd9f0b1e7 Link ICAO to airframes.org (complete with horrible javascript form-submission workaround) 2015-01-23 19:17:07 +00:00
Oliver Jowett
245bbd8b97 Report total, not latest-minute, message count in aircraft.json so that
the webmap value doesn't jump around over a reset.
2015-01-23 17:40:03 +00:00
Oliver Jowett
c5b61a33fd Oops, another compile error, sigh. 2015-01-23 02:11:44 +00:00
Oliver Jowett
c07e45a4c8 Report CPU in integer milliseconds, makes it a bit easier to process. 2015-01-23 02:03:57 +00:00
Oliver Jowett
df5e41363a Fix compile error. 2015-01-23 01:49:14 +00:00
Oliver Jowett
5b40377b98 Measure CPU for demodulator, read thread, and background tasks individually. 2015-01-23 01:22:22 +00:00
Oliver Jowett
9deac8d894 Continuing to try to work around libusb/librtlsdr problems. 2015-01-23 01:20:22 +00:00
Oliver Jowett
4fb607a826 Noise floor measurement is too expensive to be worth it, disable it. 2015-01-22 23:38:21 +00:00
Oliver Jowett
dc8891e0ba Reduce the demodulation length properly when we see a 56-bit DF. 2015-01-22 23:34:47 +00:00
Oliver Jowett
d76b8948b3 Make doubleclick-follow also set zoom, like clicking the follow arrow does. 2015-01-22 23:12:41 +00:00
Oliver Jowett
5020d75b9e Move setting of CF earlier so we can use its value while decoding AA.
(Needed to notice non-ICAO addresses in TIS-B)
2015-01-22 22:19:38 +00:00
Oliver Jowett
07c4f045aa Fix italicizing of non-ICAO rows 2015-01-22 22:19:17 +00:00
Oliver Jowett
f76842d186 Doubleclick on plane marker to follow, too. 2015-01-22 21:35:59 +00:00
Oliver Jowett
53203a5f71 Make the arrow bold/unbold to reflect current follow mode. 2015-01-22 21:31:02 +00:00
Oliver Jowett
a4360cd775 Move the "follow" button to an arrow by the callsign.
Also make the callsign clickable to follow.
2015-01-22 21:30:37 +00:00
Oliver Jowett
3040609816 Doubleclick on a table entry to follow that aircraft. 2015-01-22 21:28:35 +00:00
Oliver Jowett
eb023ff1d9 Don't include latest in 1/5/15 min totals, it's a bit confusing.
This means the 1/5/15 min values may reflect a period that ended
up to 1 minute ago, but the length of the measured period is always
as expected i.e. 1/5/15 mins.
2015-01-22 20:45:53 +00:00
Oliver Jowett
fe0a87a588 Fix remote_received_modes counter. 2015-01-22 20:40:30 +00:00
Oliver Jowett
c8025700e5 Emit all stats in stats.json. 2015-01-22 20:18:51 +00:00
Oliver Jowett
008ae926e7 Add --net-verbatim, which forwards the original uncorrected message to net clients,
not the corrected version. Then the client can make its own policy decisions about
whether to accept and correct the damaged messages.
2015-01-22 19:56:38 +00:00
Oliver Jowett
a59077a370 Stats overhaul. 2015-01-22 19:49:19 +00:00
Oliver Jowett
6672d92d9e Don't double up the ICAO display if there's no callsign. 2015-01-22 17:35:20 +00:00
Oliver Jowett
d3537ec139 When first following a plane, zoom in if we are zoomed far out. 2015-01-22 16:14:32 +00:00
Oliver Jowett
3fd2032f49 Make altitude column indicator consistent with the detailed info. 2015-01-22 16:14:11 +00:00
Oliver Jowett
09c50fff4d Show vertical rate indicators next to altitude. 2015-01-22 16:09:19 +00:00
Oliver Jowett
ba8a8935be Move ICAO for the selected plane into the header line.
Put RSSI in the selected info box where ICAO used to be.
2015-01-22 15:31:35 +00:00
Oliver Jowett
ffe03fe749 Track RSSI in PlaneObject. 2015-01-22 15:31:10 +00:00
Oliver Jowett
b77d52bd1f Include recent RSSI in aircraft output. 2015-01-22 15:30:34 +00:00
Oliver Jowett
89d6b64747 Treat signal level in network messages as a (RMS) amplitude, since that
is what was previously done and it gives us better range for small signals.

Means a sqrt() call on beast output, but this shouldn't be too bad as
it's only done once per message.
2015-01-22 15:28:35 +00:00
Oliver Jowett
fac838b9ad Rearrangements to infoblock layout. 2015-01-22 14:44:32 +00:00
Oliver Jowett
6daf116b40 Clean up config.js a bit, support configuring page name and site name. 2015-01-22 14:33:42 +00:00
Oliver Jowett
b78b28d95f Add a "follow" link to the selected plane info. 2015-01-22 14:17:12 +00:00
Oliver Jowett
35e0364670 Fix compile errors. 2015-01-22 13:29:13 +00:00
Oliver Jowett
70e8579850 Simple filter for spurious messages that make it past checksum:
don't show aircraft until we have seen 2 messages from them.
2015-01-22 13:22:16 +00:00
Oliver Jowett
7500cabb08 Show rows with non-ICAO addresses in italic. 2015-01-22 13:21:47 +00:00
Oliver Jowett
af3eb3df2b Move to a simpler versioning scheme (the one derived from upstream
is going to break the ordering that Debian expects very soon).

When building from source not via debian/rules, derive a version from
git describe.
2015-01-22 13:19:15 +00:00
Oliver Jowett
ada188a1c8 Changed my mind, put the non-ICAO flag bit in the address itself
since we have 8 bits spare, so there's no chance of confusing it
with an ICAO address, and we can safely use the filter table to match
future messages without also matching equivalent ICAO addresses.
2015-01-22 12:30:12 +00:00
Oliver Jowett
35551b4455 Don't emit FATSV output for non-ICAO addresses. 2015-01-22 12:18:46 +00:00
Oliver Jowett
6e1315e3a6 Flag non-ICAO addresses in json output. 2015-01-22 12:18:14 +00:00
Oliver Jowett
d0605629b6 Avoid zero signalLevel. 2015-01-22 11:40:52 +00:00
Oliver Jowett
9a91507583 Flag non-ICAO addresses, display them differently in interactive mode. 2015-01-22 11:14:22 +00:00
Oliver Jowett
34ae2c7349 Make sure to clear address. 2015-01-22 11:13:54 +00:00
Oliver Jowett
04eff1778f Use the right field for CF in DF 18 2015-01-22 10:59:11 +00:00
Oliver Jowett
7850848ef7 Export a few stats via JSON. 2015-01-22 01:21:53 +00:00
Oliver Jowett
19082d92ea Measure signal power / noise power (at least in 2.4MHz mode).
Switch signalLevel back to a power measurement, don't put SNR in there.
But make it a 0.0 - 1.0 double so we're not scaling everywhere.

Adjust for the amplitude offset when calculating power.

Adapt everything else to the new scheme.
2015-01-22 01:01:39 +00:00