Commit graph

1318 commits

Author SHA1 Message Date
James Wilson b0dc4f8a4f Update header styling 2017-01-17 17:19:23 -06:00
Oliver Jowett a0c11c4156 Changelog. 2017-01-16 15:48:27 +00:00
Oliver Jowett 72e786af35 Tweak reported timestamps so that the relative timing of Mode S and
Mode A/C messages is the same as from a Beast/Radarcape.
2017-01-15 19:29:25 +00:00
Oliver Jowett 58e227897b Prepare for 3.3.0 release. 2017-01-15 13:36:15 +00:00
Oliver Jowett 9c935d95a5 Changelog. 2017-01-15 13:35:44 +00:00
Oliver Jowett 298525adc9 --max-range should not be overridable in faup1090. 2017-01-15 13:33:15 +00:00
Oliver Jowett 382b28767c Make package default max range match what the piaware sdcard image configures. 2017-01-15 12:50:10 +00:00
Oliver Jowett 814b4109f5 Changelog. 2017-01-12 13:54:59 +00:00
Oliver Jowett f2872d6c15 Update FlightAware static data export, regenerate the aircraft DB. 2017-01-12 13:52:22 +00:00
Oliver Jowett 1f0e75bce1 Changelog. 2017-01-06 14:51:21 +00:00
Oliver Jowett 52464b97c1 Remove internal webserver code entirely. 2016-12-29 18:35:35 +00:00
Oliver Jowett 64fd61cffc Don't process Beast mode A/C messages if mode A/C is disabled. 2016-12-29 17:57:53 +00:00
Oliver Jowett 6336611bc7 Turn on mode A/C if a Beast connection asks for it.
Add a --no-modeac-auto option to disable this.
2016-12-29 17:56:32 +00:00
Oliver Jowett cbdfd9dc5d Read Beast commands on Beast output clients, interpret the Mode A/C setting command. 2016-12-29 17:55:56 +00:00
Oliver Jowett 34aeb29347 Refactor the network input parser to make it easier to extend for new formats. 2016-12-29 17:54:53 +00:00
Oliver Jowett 0526388bdc Factor out sendBeastSettings(), use it in view1090. 2016-12-29 17:53:04 +00:00
Oliver Jowett 11b6cdba06 Rearrange fatsv location update message. 2016-12-27 19:15:56 +00:00
Oliver Jowett 4517055320 One less magic constant. 2016-12-27 19:14:20 +00:00
Oliver Jowett 4bb070be50 Add support for radarcape type 5 (receiver position) messages. 2016-12-27 19:07:10 +00:00
Oliver Jowett 5063efe064 Add #ifdef-ed code to display mode A/C signals graphically. 2016-11-12 17:13:36 +00:00
Oliver Jowett 32231cf142 Tweaks to A/C demodulator.
* use a global noise level rather than one computed from a few bits
 * work out level vs power confusion in some thresholds
 * fix the power calculation for working out the phase offset from
   the framing bits
 * require fewer quiet trailing bits
 * relax the bit-threshold tests
2016-11-12 17:10:29 +00:00
Oliver Jowett 5ef2612bb4 Version bump. 2016-11-12 14:09:18 +00:00
Oliver Jowett cc47718a2d Measure mean signal level in the converters.
Rearrange the meaning of the measured power level to be consistent
with the signal level.
2016-11-12 14:07:58 +00:00
Oliver Jowett 8182dc9a8f Preparing for 3.2.0 release. 2016-10-25 23:40:19 +01:00
Oliver Jowett 8f1663cb98 Prune the special handling for 000000 which is not needed. 2016-10-25 21:09:27 +01:00
Oliver Jowett 14748b1e8f Emit heading_magnetic correctly. 2016-10-25 21:05:03 +01:00
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