Commit Graph

388 Commits

Author SHA1 Message Date
Nick Foster
cfab7123cc Non-functional cosmetic changes. 2013-06-05 18:18:18 -04:00
Nick Foster
a847f5f875 Fix introduced CPU consumption bug. 2013-06-05 17:50:25 -04:00
Nick Foster
79aee53a52 Subscribe to *all* the servers. 2013-06-05 16:05:14 -04:00
Nick Foster
f62813f039 Add getters/setters in preamble/slicer, bring them out to radio.py via pubsub. 2013-06-05 15:56:09 -04:00
Nick Foster
2ace332b89 Fix broken msgq assumption 2013-06-03 09:29:08 -04:00
Nick Foster
9dad60303a update socks in receive loop 2013-06-03 09:19:49 -04:00
Nick Foster
4fe2334b28 Don't need locks for queue inserts 2013-06-03 09:17:17 -04:00
Nick Foster
ba55d24e92 Don't use commit() on each SQL insert, it makes things terrislow. 2013-06-03 09:07:36 -04:00
Nick Foster
b71c978e27 New universal pubsub interface in zmq_socket.py. Needs more work. 2013-06-03 08:38:26 -04:00
Nick Foster
33874893b7 Better exception handling in sql.py 2013-05-30 17:17:15 -04:00
Nick Foster
4216b96262 Threading fixes for ZMQ work. Also moved radio optparse options into radio.py. 2013-05-30 00:58:03 -07:00
Nick Foster
841e2aaa04 Add checking for 0MQ library to CMake 2013-05-29 14:57:51 -07:00
Nick Foster
4d569f9112 In progress, temp commit. Have removed pubsub interface in favor of 0MQ sockets -- this gets us free message-passing across network or local host. 2013-05-29 14:18:15 -07:00
Nick Foster
db34eca30e Refactored 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. 2013-05-27 19:50:42 -07:00
Nick Foster
3e9854f337 Move Boost finding into module from Gnuradio 2013-05-07 13:05:52 -07:00
Nicholas Corgan
4e5fb40531 Some Windows fixes 2013-04-01 15:51:00 -07:00
Mattias Schäfer
f25d21f505 cpr.set_location lacked self arg 2013-01-22 08:07:46 -08:00
Stephan Ruloff
f4fbd25bb0 Add type 5 squawk ID decoding to parser, fix some SBS-1 outputs. 2013-01-08 17:25:28 -08:00
Nick Foster
fcb06ef25a SBS1 list prune fix 2012-11-04 18:40:45 -08:00
Nick Foster
3cfeb5d705 Merge remote-tracking branch 'jcorgan/pmf2' 2012-10-29 17:56:25 -07:00
Nick Foster
4c986a70a4 Really fix the SBS-1 pruning issue this time. 2012-10-29 09:42:28 -07:00
Johnathan Corgan
7ad09f5b14 Added option for pulse matched filtering
Pulse matched filtering places a boxcar filter upstream of the
averager and preamble detector.  The filter length is equivalent
to the number of samples in one Mode S chip (0.5us).  This
technique enhances operation when using sample rates > 4Msps.

When using --pmf, the threshold may need to be reduced a dB or
two from what would have been optimal without --pmf.

* rx_path.py now takes 'use_pmf', defaults to False

* modes_rx has new CLI option '-p' or '--pmf' to turn on PMF

* modes_gui has new checkbox on Setup tab
2012-10-29 09:37:18 -07:00
Nick Foster
90c8ba5a10 Merge branch 'az_map' 2012-10-29 09:28:30 -07:00
Nick Foster
504f9265b2 Fix for SBS-1 get_aircraft_id list cleanup. 2012-10-29 09:24:31 -07:00
Nick Foster
26f7c779d7 Merge branch 'master' into az_map 2012-10-18 22:00:12 -07:00
Nick Foster
1adbf81950 Added 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. 2012-10-18 12:22:52 -07:00
Nick Foster
e2be60017a Pull RAC bits correctly in parse_tcas 2012-10-17 23:07:56 -07:00
Nick Foster
b886bd42e9 Fix for TCAS unknown report type. 2012-10-17 23:05:20 -07:00
Nick Foster
3815ee17e1 Fix iterator in TCAS resolution advisories. 2012-10-17 23:03:19 -07:00
Nick Foster
fdaa496b8f Merge branch 'cpr' 2012-10-17 18:29:21 -07:00
Nick Foster
7dba7f4cc3 Add support for type 16 Long Special Surveillance packets. Not tested with real data. 2012-10-17 18:28:39 -07:00
Nick Foster
5f89eba234 Fixed TCAS packet reporting -- the slicer wasn't reporting long pkt type for types 20/21. Hardcoded constant. 2012-10-17 18:01:02 -07:00
Nick Foster
a3f2dec1f9 CPR decoder: Keep a separate list for sfc and air positions to keep them from stepping on each other. 2012-10-17 09:24:15 -07:00
Nick Foster
0b30db353d CPR: surface decoding still exhibits occasional errors when m~=0. Suspect it might actually be a bug in the encoder. 2012-10-17 09:13:10 -07:00
Nick Foster
979a0f4603 Merge branch 'master' into cpr 2012-10-15 12:39:06 -07:00
bistromath
3a358b2334 Merge pull request #21 from jmcorgan/hier_block
Refactor flowgraph into hierarchical block
2012-10-15 12:38:31 -07:00
bistromath
02af8e316b Merge pull request #22 from jmcorgan/uninstall
Add 'make uninstall' to cmake build
2012-10-15 12:35:15 -07:00
Johnathan Corgan
132edc9148 Add 'make uninstall' to cmake build
This commit adds the ability to uninstall gr-air-modes safely,
without having to manually delete the installation files.
2012-10-15 10:40:21 -07:00
Johnathan Corgan
62304ff59e Refactor flowgraph into hierarchical block
This commit creates air_modes.rx_path, which is the common portion
of the flowgraph once the sample source and possible resampler are
created.  It takes baseband I/Q and emits Mode-S packets into the
supplied message queue.
2012-10-15 09:27:22 -07:00
Nick Foster
ac9e09893b CPR changes. Fixed a lot of the surface position errors. At least one bug still remains. 2012-10-14 22:57:48 -07:00
Nick Foster
cadbf0eaaa Merge branch 'cpr' into az_map 2012-10-14 18:01:30 -07:00
Nick Foster
3c8c60f57f Removing emitter-centered local decoding from the CPR parser. Using only global decoding. 2012-10-14 18:00:51 -07:00
Nick Foster
85da74b43a Fix preamble/slicer dB numbers. Was using power ratios for voltages (2.0 instead of 1.414 for 3dB, etc.). No real performance change.
Fix suggested by Denis Gapotchenko.
2012-10-13 20:55:45 -07:00
Nick Foster
6e6150b051 Limit scrollback buffer size. 2012-10-11 23:37:26 -07:00
Nick Foster
77768ebcc6 Small fixes. Need to limit drawPaths() -- it's slow. 2012-10-10 18:44:28 -07:00
Nick Foster
6cb59af3a5 Make better test for az map. 2012-10-10 18:22:35 -07:00
Nick Foster
2b572a2e05 Fix bug in row calculation. There's probably a simpler expression for this. 2012-10-10 18:14:53 -07:00
Nick Foster
a57c932e88 Modify UI for proper grid layout, now allows expansion 2012-10-10 15:49:55 -07:00
Nick Foster
07b899ac71 Reinstate random test for az_map.py 2012-10-10 15:49:09 -07:00
Nick Foster
397451bcbd Azimuth map has multiple rings for different altitudes. 2012-10-10 12:51:44 -07:00