d71e6bc1e7Interim commit.
Nick Foster
2013-07-17 21:41:55 -07:00
0ce6374656Convert next branch to 3.7 API. Based on Johnathan Corgan's 3.7 conversion of the master branch.
Nick Foster
2013-07-17 18:03:45 -07:00
2766107a76Small changes to map view. WebKit won't render files w/o .htm[l] extension so using a named temp file is out.
Nick Foster
2013-06-21 16:28:56 -07:00
55cd17de67Added support for integrated Google Maps interface via QWebView/JavaScript/JSONP. Broken due to something hairy wrt QWebView and /tmp.
Nick Foster
2013-06-20 23:05:41 -07:00
fbe3c464fbGUI working again w/new parser setup. Live print isn't working due to use of print instead of return.
3.6
Nick Foster
2013-06-19 11:24:11 -07:00
12c09ba1dfFix TCAS printing.
Nick Foster
2013-06-18 22:03:37 -07:00
a7af518653Move parser factory decorator into parse.py. Fix multiple bugs in parse.
Nick Foster
2013-06-18 21:49:07 -07:00
302fa7203dLeft a debug print in there
Nick Foster
2013-06-18 19:09:49 -07:00
e18a2e460cFix SQL bug introduced with AC type addition
Nick Foster
2013-06-18 19:09:09 -07:00
f8f08ecd37Flightgear plugin modified for new parser interface.
Nick Foster
2013-06-18 19:06:30 -07:00
9563972591Moved SBS1, az_map, and SQL modules to new parser interface. Not tested.
Nick Foster
2013-06-18 18:57:24 -07:00
72ae3abf12Forgot to add types.py (from the mlat_server branch).
Nick Foster
2013-06-18 18:11:13 -07:00
d84c0c3204Parser works for the print case. Not quite sure this is the best way to do it, but it's better.
Nick Foster
2013-06-18 17:47:13 -07:00
a1e2297134Progress toward rewriting the parser to be less insane.
Nick Foster
2013-06-18 17:34:11 -07:00
230356bcaaDerp bug in hacked Jawbreaker gain.
Nick Foster
2013-06-18 15:50:06 -07:00
29f8a2c1b4Add try/catch around az_map's parsing.
Nick Foster
2013-06-18 11:45:58 -07:00
d508b39b31Fix modes_gui. Only thing which should be nonfunc. is the reports/sec box (no thread to run it).
Nick Foster
2013-06-10 11:57:12 -04:00
bed2aa499eRe-remove the RTLSDR interpolating filter. Still need to distinguish HackRF vs. RTL-SDR sources.
Nick Foster
2013-06-10 11:24:42 -04:00
244c9105f2Remove leftover arg from sql constructor
Nick Foster
2013-06-10 08:52:28 -04:00
1880126100Move --tcp to radio.
Nick Foster
2013-06-10 08:52:11 -04:00
34939bba52Whoops
Nick Foster
2013-06-10 08:37:28 -04:00
fd6ee2ce89Change reference output so it now outputs SNR, which is much more useful.
Nick Foster
2013-06-10 07:47:42 -04:00
c0543923f6Used wrong gain bin for HackRF source -- this is still a TODO
Nick Foster
2013-06-08 16:53:06 -04:00
1cb8c726edAdd default for --source option
Nick Foster
2013-06-08 16:48:14 -04:00
b5e3964d12Add radio options to separate option group
Nick Foster
2013-06-08 16:12:38 -04:00
94af9fac48Add back in the SBS1 interface
Nick Foster
2013-06-08 16:06:42 -04:00
d2a6f40bbdClean up logic in zmq_socket and don't repeat code
Nick Foster
2013-06-08 16:06:16 -04:00
51cb2bdf46Cleanup and remove dead/obsolete code.
Nick Foster
2013-06-08 15:32:24 -04:00
798d5e15c9Rework options in radio.py for cleaner cmdline interface
Nick Foster
2013-06-08 15:24:23 -04:00
4bbe250f39Publish some SQL notifications. Still TODO: issue list of new ICAOs. Might use a separate thread/publisher for that.
Nick Foster
2013-06-05 18:30:45 -04:00
cfab7123ccNon-functional cosmetic changes.
Nick Foster
2013-06-05 18:18:18 -04:00
a847f5f875Fix introduced CPU consumption bug.
Nick Foster
2013-06-05 17:50:10 -04:00
79aee53a52Subscribe to *all* the servers.
Nick Foster
2013-06-05 16:05:14 -04:00
f62813f039Add getters/setters in preamble/slicer, bring them out to radio.py via pubsub.
Nick Foster
2013-06-05 15:56:09 -04:00
2ace332b89Fix broken msgq assumption
Nick Foster
2013-06-03 09:29:08 -04:00
9dad60303aupdate socks in receive loop
Nick Foster
2013-06-03 09:19:49 -04:00
4fe2334b28Don't need locks for queue inserts
Nick Foster
2013-06-03 09:17:17 -04:00
ba55d24e92Don't use commit() on each SQL insert, it makes things terrislow.
Nick Foster
2013-06-03 09:07:36 -04:00
b71c978e27New universal pubsub interface in zmq_socket.py. Needs more work.
Nick Foster
2013-06-03 08:38:26 -04:00
33874893b7Better exception handling in sql.py
Nick Foster
2013-05-30 01:06:53 -07:00
4216b96262Threading fixes for ZMQ work. Also moved radio optparse options into radio.py.
Nick Foster
2013-05-30 00:58:03 -07:00
841e2aaa04Add checking for 0MQ library to CMake
Nick Foster
2013-05-29 14:57:51 -07:00
4d569f9112In progress, temp commit. Have removed pubsub interface in favor of 0MQ sockets -- this gets us free message-passing across network or local host.
Nick Foster
2013-05-29 14:18:15 -07:00
db34eca30eRefactored modes_rx to use a more modular radio interface (radio.py) using a pubsub pattern to formalize the old "outputs" interface I was using. Should make it easier to reuse the radio interface.
Nick Foster
2013-05-27 19:50:42 -07:00
3e9854f337Move Boost finding into module from Gnuradio
Nick Foster
2013-05-07 13:05:52 -07:00
4e5fb40531Some Windows fixes
Nicholas Corgan
2013-04-01 15:51:00 -07:00
1a0ebab29cTemp commit while adding a modes_report class using named tuples. Mlat server definitely broken as a result.
mlat_server
Nick Foster
2013-01-09 23:26:49 -08:00
f4fbd25bb0Add type 5 squawk ID decoding to parser, fix some SBS-1 outputs.
Stephan Ruloff
2013-01-08 17:25:28 -08:00
7f6a3c7779Return data works. Just need a reasonable way to get mlat data into the output plugins.
Nick Foster
2012-12-19 18:47:47 -08:00
fd12402462mlat server working in the client-server direction. other way round untested.
Nick Foster
2012-12-18 19:23:52 -08:00
1e2b8a4f46Split the int timestamp from frac timestamp so you don't lose precision when using, say, UTC time. Cleaned up some cruft while I was at it. This also allows devices which don't have timestamps to tag based on samples elapsed since the flowgraph started.
Nick Foster
2012-12-12 17:40:01 -08:00
3be6e9fd6eRemove altitude-based extra station. I don't now believe there's a way to construct a "fake" station as you don't have the originating time of the transmission as a known quantity.
Nick Foster
2012-12-11 09:44:21 -08:00
c4c63b5b69Fixed it by using a reasonable initial guess to guarantee monotonicity in the solver, and to avoid converging on the wrong solution. If all your stations lie in a plane (they do), there is an ambiguity about that plane such that there are two solutions. This means you need to provide an initial guess on the correct side of the plane (i.e., above ground). In addition, using a very reasonable solution guarantees that the system is as linear as possible. I'm using the nearest station as a guess; I would have assumed it would work with any station as a guess but this doesn't appear to be the case. The Arne Saknussemm is still broken.
Nick Foster
2012-12-11 09:07:54 -08:00
0384d6bc58Temp commit. mlat only resolves when the aircraft is sufficiently out of plane of the receivers -- 4000km out of plane, to be exact. What gives?
Nick Foster
2012-12-10 18:52:04 -08:00
017cce7ec4Temp commit before I rip out the relative stuff
Nick Foster
2012-12-07 09:36:16 -08:00
1f0ef143a0Fixed your mlat bug -- you'd removed the time error column from H and it happened to work with the extra information gathered by having timestamp[0] equal to the originating time -- i.e., zero time offset. There's currently a bug in the solver returning near-ground-level reports for aircraft at altitude. Also the Arne Saknussemm station doesn't work.
Nick Foster
2012-12-06 19:17:40 -08:00
c7e216bca0mlat test now creates a cheesy moving simulated aircraft. mlat is broken though due to incorrect assumptions in the solver.
Nick Foster
2012-12-06 13:04:11 -08:00
e771c21730First stab at multilateration server. No client, incomplete.
Nick Foster
2012-12-05 11:28:59 -08:00
fcb06ef25aSBS1 list prune fix
Nick Foster
2012-11-04 18:40:45 -08:00
3cfeb5d705Merge remote-tracking branch 'jcorgan/pmf2'
Nick Foster
2012-10-29 17:56:25 -07:00
4c986a70a4Really fix the SBS-1 pruning issue this time.
Nick Foster
2012-10-29 09:39:09 -07:00
90c8ba5a10Merge branch 'az_map'
Nick Foster
2012-10-29 09:28:30 -07:00
504f9265b2Fix for SBS-1 get_aircraft_id list cleanup.
Nick Foster
2012-10-29 09:19:04 -07:00
26f7c779d7Merge branch 'master' into az_map
Nick Foster
2012-10-18 22:00:12 -07:00
1adbf81950Added get_dupes.py (not installed with apps). Pipe modes_rx output through get_dupes.py to find number of spurious replies. Intended to evaluate demodulator changes.
Nick Foster
2012-10-18 12:22:52 -07:00
e2be60017aPull RAC bits correctly in parse_tcas
Nick Foster
2012-10-17 23:07:56 -07:00
b886bd42e9Fix for TCAS unknown report type.
Nick Foster
2012-10-17 23:05:20 -07:00
3815ee17e1Fix iterator in TCAS resolution advisories.
Nick Foster
2012-10-17 23:03:19 -07:00
fdaa496b8fMerge branch 'cpr'
Nick Foster
2012-10-17 18:29:21 -07:00
7dba7f4cc3Add support for type 16 Long Special Surveillance packets. Not tested with real data.
Nick Foster
2012-10-17 18:28:39 -07:00
5f89eba234Fixed TCAS packet reporting -- the slicer wasn't reporting long pkt type for types 20/21. Hardcoded constant.
Nick Foster
2012-10-17 17:56:49 -07:00
a3f2dec1f9CPR decoder: Keep a separate list for sfc and air positions to keep them from stepping on each other.
Nick Foster
2012-10-17 09:24:15 -07:00
0b30db353dCPR: surface decoding still exhibits occasional errors when m~=0. Suspect it might actually be a bug in the encoder.
Nick Foster
2012-10-17 09:13:10 -07:00
979a0f4603Merge branch 'master' into cpr
Nick Foster
2012-10-15 12:39:06 -07:00
3a358b2334Merge pull request #21 from jmcorgan/hier_block
bistromath
2012-10-15 12:38:31 -07:00
02af8e316bMerge pull request #22 from jmcorgan/uninstall
bistromath
2012-10-15 12:35:15 -07:00
62304ff59eRefactor flowgraph into hierarchical block
Johnathan Corgan
2012-10-15 09:27:22 -07:00
ac9e09893bCPR changes. Fixed a lot of the surface position errors. At least one bug still remains.
Nick Foster
2012-10-14 22:34:50 -07:00
cadbf0eaaaMerge branch 'cpr' into az_map
Nick Foster
2012-10-14 18:01:30 -07:00
3c8c60f57fRemoving emitter-centered local decoding from the CPR parser. Using only global decoding.
Nick Foster
2012-10-14 17:56:01 -07:00
85da74b43aFix preamble/slicer dB numbers. Was using power ratios for voltages (2.0 instead of 1.414 for 3dB, etc.). No real performance change.
Nick Foster
2012-10-13 20:52:38 -07:00
6e6150b051Limit scrollback buffer size.
Nick Foster
2012-10-11 23:37:26 -07:00
77768ebcc6Small fixes. Need to limit drawPaths() -- it's slow.
Nick Foster
2012-10-10 18:44:28 -07:00
6cb59af3a5Make better test for az map.
Nick Foster
2012-10-10 18:19:22 -07:00
2b572a2e05Fix bug in row calculation. There's probably a simpler expression for this.
Nick Foster
2012-10-10 18:14:53 -07:00
a57c932e88Modify UI for proper grid layout, now allows expansion
Nick Foster
2012-10-10 15:49:55 -07:00
07b899ac71Reinstate random test for az_map.py
Nick Foster
2012-10-10 15:49:09 -07:00
397451bcbdAzimuth map has multiple rings for different altitudes.
Nick Foster
2012-10-10 12:51:44 -07:00
387daa1b1eMerge branch 'master' into az_map
Nick Foster
2012-10-10 09:01:22 -07:00
628003fbe6Better cleanup in on_quit. Still probably needs a revisit.
Nick Foster
2012-10-10 09:00:54 -07:00
f16ba79573Merge branch 'master' into az_map
Nick Foster
2012-10-10 08:59:37 -07:00
0f38bfd0d7Fix SQL for merge-induced breakage.
Nick Foster
2012-10-10 08:21:17 -07:00
05de9c6034Use more realistic value for max az map range. Should make this configurable.
Nick Foster
2012-10-10 08:20:47 -07:00
cd2cfec730Azimuth map working.
Nick Foster
2012-10-10 08:20:07 -07:00
dfb48dbe8dCorrectly repaint on drawPath (and thus on dataChanged events)
Nick Foster
2012-10-10 00:31:00 -07:00
198d46ac99Event link between model and azimuth map.
Nick Foster
2012-10-10 00:22:13 -07:00
a9c7e4bccaAdd azimuth map widget. Not done, not invoked.
Nick Foster
2012-10-09 23:46:02 -07:00