Commit graph

1292 commits

Author SHA1 Message Date
Oliver Jowett a4cf02a728 Changelog. 2016-10-24 22:02:23 +01:00
Oliver Jowett fe60f982cc Add ncurses to wheezy build dependencies. 2016-10-20 13:11:52 +01:00
Oliver Jowett c294ac1327 Allow skipping the history load by adding a #nohistory fragment to the URL
(e.g. for slow / high latency connections)
2016-10-14 22:09:35 +01:00
Oliver Jowett 8f3b7c8fde Realign the default infoblock position so it doesn't overlap the zoom control. 2016-10-14 22:04:44 +01:00
Oliver Jowett 78f88c6f8a Use the json type field to show finer-grained datasource info in the table mode. 2016-10-14 21:52:04 +01:00
Oliver Jowett 74ca8b838b Drop the maximum map marker size. 2016-10-14 21:44:21 +01:00
Oliver Jowett d3fad32d5e Merge remote-tracking branch 'upstream/master' into dev 2016-10-14 21:35:31 +01:00
Oliver Jowett 2b47fe5b68 Fix knots -> km/h conversion in interactive mode.
Fixes #153
2016-10-14 21:29:03 +01:00
Oliver Jowett 4cb17c194c More tweaking to A/C tracking. 2016-10-11 21:29:39 +01:00
Oliver Jowett f6b1b94c7d Use ncurses for interactive mode (reduces flicker on slow connections a lot!) 2016-10-11 20:37:28 +01:00
Oliver Jowett 25ea6d398b Overhaul mode A/C matching to be much cheaper.
The old matching process which tracked mode A values as pseudo-aircraft
got very, very expensive with a large number of mode A/C messages (and
with lots of single-bit errors, which seems common with a Beast doing
the reception)

Instead just count A/C messages directly into a 4096-entry array (which
is very fast) and periodically scan the mode S aircraft list to see if
we can match anything up (which is fixed overhead + cost proportional
to the number of mode S aircraft)
2016-10-11 18:00:11 +01:00
Oliver Jowett 60f1f3bcb6 Table-ize the Mode A to C conversions, add a Mode C to Mode A conversion function. 2016-10-11 17:57:25 +01:00
Oliver Jowett 10b5cde505 Fix interactive-mode row count so it doesn't scroll the header off the top of the terminal. 2016-10-11 17:55:23 +01:00
Oliver Jowett 85d3ecee62 Add source & address type for Mode A/C 2016-10-11 17:55:02 +01:00
Oliver Jowett eece2a54a0 Bump version to 3.2.0~dev 2016-10-11 14:16:07 +01:00
Oliver Jowett edb1eaeee2 Add the source file for the flightaware static data export. 2016-10-05 00:36:05 +01:00
Oliver Jowett 344415b91f Add a port-30003 regression diff script. 2016-10-02 13:27:13 +01:00
Oliver Jowett 52fe01c860 Track CPR encoding type directly rather than inferring it from airground.
(airground can change even while airborne if SPI/Alert status gets set)
2016-10-02 00:16:29 +01:00
Oliver Jowett 617a71e36b Fix a stray extra comma in port 30003 output if only GNSS altitude was available.
(cherry picked from commit 6f2e4fa891)
2016-10-01 15:22:42 +01:00
Oliver Jowett dda5411882 faup1090: Track Comm-B ACAS RA separately to ES ACAS RA as it's useful to see both reported.
Fix repeated reporting of ES ACAS RA reports.

(cherry picked from commit 14a003710e)
2016-10-01 15:22:32 +01:00
Oliver Jowett 7cd66c36d2 Increase the TSV packet size to accomodate all the extra data recently added.
(cherry picked from commit abc30ff656)
2016-10-01 15:22:14 +01:00
Oliver Jowett f6075212f4 faup1090: Reinstate TIS-B reporting as just the address type is
not sufficient if there is both TIS-B and Mode S for the same
aircraft.

(cherry picked from commit 32c8358bc1)
2016-10-01 15:21:53 +01:00
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 812e4486a4 Merge remote-tracking branch 'upstream/master' into dev 2016-10-01 15:18:26 +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 6f2e4fa891 Fix a stray extra comma in port 30003 output if only GNSS altitude was available. 2016-10-01 13:11:14 +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 14a003710e faup1090: Track Comm-B ACAS RA separately to ES ACAS RA as it's useful to see both reported.
Fix repeated reporting of ES ACAS RA reports.
2016-09-24 16:09:38 +01:00
Oliver Jowett 2bcd0741c9 Prepare for 3.1.0 release. 2016-09-22 17:21:04 +01:00
Oliver Jowett c144507471 Actually serve data on 8080, not just a redirect.
(This is not ideal but plenty of people seem to be confused by the
redirect and how it interacts with NAT)
2016-09-22 16:49:45 +01:00
Oliver Jowett 802f1f9404 Add a redirect for map URLs with no trailing slash 2016-09-22 16:49:23 +01:00
Oliver Jowett cfb02c1a7c Try to avoid conflicting with other lighttpd config that
touches the stat cache settings.
2016-09-22 16:45:28 +01:00
Oliver Jowett abc30ff656 Increase the TSV packet size to accomodate all the extra data recently added. 2016-09-22 15:33:21 +01:00
Oliver Jowett c56245a954 Don't change marker color when using select-all. 2016-09-22 15:28:51 +01:00
Oliver Jowett 36e7ec4cd8 Fix the ident link. 2016-09-22 15:28:07 +01:00
Oliver Jowett b38061c3c4 Might as well use the mode-s-and-ident link everywhere. 2016-09-22 15:03:46 +01:00
Oliver Jowett d4e1300b1f Fix not displaying mode-S-only aircraft in the table. 2016-09-22 14:21:09 +01:00
Oliver Jowett 32c8358bc1 faup1090: Reinstate TIS-B reporting as just the address type is
not sufficient if there is both TIS-B and Mode S for the same
aircraft.
2016-09-22 13:53:40 +01:00
Oliver Jowett 2a2c1a805e Changelog updates. 2016-09-20 12:22:11 +01:00
Oliver Jowett 662c19568e Don't try to compute registrations on non-hex addresses (e.g. non-icao: ~123456) 2016-09-17 13:32:34 +01:00
Oliver Jowett 6e4eb4b35c Fix dh_auto_test on wheezy 2016-09-16 17:50:00 +01:00
Oliver Jowett 73a3b5113e More attempts at getting this working again on wheezy. 2016-09-16 17:43:21 +01:00
Oliver Jowett bef563b8a3 More hacking on the Makefile to get it working nicely on both jessie + wheezy. 2016-09-16 17:16:28 +01:00
Oliver Jowett b213ab9a50 Tweak wheezy build so it builds rtl-sdr itself rather than relying
on a librtlsdr-dev package that needs to be built separately.
2016-09-16 16:19:16 +01:00
Oliver Jowett daa3e00ade Restyle/realign the sidebar/layer controls some more. 2016-09-16 12:40:06 +01:00
Oliver Jowett 2a708ef848 Make the layerswitcher icon have a transparent background so it looks less out of place. 2016-09-16 11:43:48 +01:00
Oliver Jowett b2375468cb Stopgap fix for crowding in the top-right:
* move zoom control back to default position
 * shrink the sidebar expand/shrink buttons to half size
 * realign everything
2016-09-16 11:43:05 +01:00
Oliver Jowett df9648911e faup1090: Don't bother with the tisb field now that we have addrtype. 2016-09-16 11:19:26 +01:00
Oliver Jowett 4eb8e3d96a Set visible=false if we don't display a marker due to stale position;
this avoids markers briefly blinking back in on zoom.
2016-09-16 11:04:33 +01:00
Oliver Jowett bfa70415a3 Scale icons based on zoom level. 2016-09-16 11:03:54 +01:00