Commit graph

1228 commits

Author SHA1 Message Date
Oliver Jowett 417cda7061 Make SC16Q11-nodc conversions table-based for speed.
Add a mechanism for converters to initialize tables on demand.
Move UC8 table setup to the new lazy-setup path.
Fix uc8 lookup table allocation size.
2017-02-03 00:36:33 +00:00
Oliver Jowett 8a41bcb730 Fix up end_cpu_timing (seems to break on Pi 1s otherwise) 2017-02-03 00:30:54 +00:00
Oliver Jowett bad821f5de Add a benchmarker for the sample converters. 2017-02-03 00:30:49 +00:00
Oliver Jowett cf9e3005e8 Add a bladeRF SDR type. 2017-02-03 00:30:42 +00:00
Oliver Jowett 234beb0bc4 Version bump to 3.4.0~dev 2017-02-03 00:29:45 +00:00
Oliver Jowett 75b221c0e3 Lots of refactoring to move the SDR-type-specific bits out of the
main code and make them optionally buildable.
2017-01-27 17:30:40 +00:00
Oliver Jowett bfc4b742af Move {start,end}_cpu_timing into util.c 2017-01-27 12:33:43 +00:00
Oliver Jowett b1149f344d Ditch a debug message. 2017-01-27 12:33:03 +00:00
Oliver Jowett b1a1771bb0 Speed up float converters a little, add a SC16Q11-nodc converter. 2017-01-27 12:31:34 +00:00
Oliver Jowett cde047aac3 Merge pull request #6 from rparenton/see_photos_fix
Fix 'See Photos' link for hyphenated registrations
2017-01-25 19:14:05 +00:00
Robert 0afe1441de Fix 'See Photos' link for hyphenated registrations
\W would probably work for the regex, but I wanted to make it as narrow as possible.
2017-01-24 11:27:25 -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