Commit Graph

87 Commits

Author SHA1 Message Date
Nick Foster
dbab4f0142 Don't populate lat/lon by default 2012-07-16 10:49:54 -07:00
Nick Foster
4fbda15afc Merge branch 'parse' into qtapp
Conflicts:
	python/modes_parse.py
2012-07-16 09:40:05 -07:00
Nick Foster
c2129e0eab Default RTL gain of 35 and parser catches negative shifts generated by invalid packets. 2012-07-16 09:36:15 -07:00
Nick Foster
cb4c91aee1 Altitude now taken from types 4, 5, 20 short replies as well, for ADS-B-equipped aircraft. Bearing/heading updated real-time.
TODO: figure out how to filter aircraft list for ADS-B-equipped aircraft only
2012-07-15 12:59:41 -07:00
Nick Foster
923651f69a Heading widget updates correctly. 2012-07-14 22:24:18 -07:00
Nick Foster
86a7bbbb2a Selections are persistent when rows inserted, rows automatically prune when 60s w/o reply 2012-07-14 21:38:06 -07:00
Nick Foster
372e925277 Well, the ICAO lineedit works in hex now, but I don't like the way it went in. 2012-07-14 15:43:09 -07:00
Nick Foster
20dd8457ea Dashboard mostly works. ICAO view now prints ident if available.
TODO:
draw selection in list view delegate
maintain selection on insert rows (emit beginInsertRows/endInsertRows)
fix heading widget so it updates correctly (something in the DataWidgetMapper that you aren't doing)
2012-07-14 14:44:36 -07:00
Nick Foster
70b099a05e Revert SQL changes and use a separate, non-db datamodel for the dashboard display. 2012-07-13 09:43:22 -07:00
Nick Foster
0a1d863f5f SQL parser modified to use flat aircraft table. This breaks KML horribly and eventually you should integrate the flat table into the GUI app and revert to the old method for the KML generator. 2012-07-12 00:02:11 -07:00
Nick Foster
5c0ccaa833 Split out the data model because I'm using a flat SQL table for the dashboard now. Most everything hooked up. 2012-07-11 19:18:40 -07:00
Nick Foster
19b7061247 Other fields entered. 2012-07-11 12:55:30 -07:00
Nick Foster
96db9a9608 today nick learns about the QDataWidgetMapper, which solves all his problems 2012-07-11 09:15:05 -07:00
Nick Foster
855535644f Using a delegate instead for coloring. Text color works but we don't get nice highlighting. Wish we could alter the painter and use the default paint(). 2012-07-10 16:08:24 -07:00
Nick Foster
2eb7426688 Using QtSql instead of sqlite3 to access data -- might change this back but trying to set up a good data model.
Also subclassed QListView so we can eventually implement fading by age in the list view.
2012-07-10 09:17:53 -07:00
Nick Foster
f2f344538a Added in speed/vs fetching. Need to figure out your datamodel. 2012-07-07 11:32:32 -07:00
Nick Foster
8439e0e5f3 Parser and error-handling changes. 2012-07-07 11:04:49 -07:00
Nick Foster
b4cafe0384 Setting up a model-view display for the airframe list. 2012-07-05 23:52:00 -07:00
Nick Foster
8cd551689b Forgot to modify UI import in GUI app 2012-07-05 11:10:27 -07:00
Nick Foster
ec70a90bd5 CMake magic to find PyQt4 and build the main GUI from .ui. Also renamed uhd_modes.py -> modes_rx, and the GUI app -> modes_gui 2012-07-05 11:00:52 -07:00
Nick Foster
a853077bc2 Live data display works. 2012-07-03 19:21:42 -07:00
Nick Foster
113c23b634 Everything is basically in place for at least live text. For some reason spawning the flowgraph is broken. 2012-07-03 09:40:26 -07:00
Nick Foster
fe6aa0c6de Fix error handling for data construct on init. 2012-07-02 07:17:21 -07:00
Nick Foster
57f7bc84fc Fixing TCAS reports. Types 20 and 21 still bomb because apparently MB field is optional -- the only type 20s I see are short packets. 2012-06-29 09:32:58 -07:00
Nick Foster
c6ab762ee0 CPR test case hugely expanded. Found bug in global decoding in the Southern Hemisphere. Haven't fixed the bug yet. 2012-06-15 19:34:03 -07:00
Nick Foster
da41dd3c84 Move CPR test code to main function within cpr.py 2012-06-15 18:50:37 -07:00
Nick Foster
29ae7d13ea Use "None" as default location so people get global decodes by default. 2012-06-13 20:14:57 -07:00
Nick Foster
91d6c991f0 Use correct filter rate for RTL resampler. 2012-06-13 19:45:20 -07:00
Nick Foster
f0eaf88aa7 Fix unreferenced variable 2012-06-13 16:04:59 -07:00
Nick Foster
b7a9cfd01d Resample RTL data to 4Msps 2012-06-13 14:18:47 -07:00
Nick Foster
0310c3c81d Use lpfilter when using RTL source 2012-06-13 14:06:08 -07:00
Nick Foster
bb98eeaa97 First stab at adding rtlsdr support to uhd_modes.py. Should probably rename that file. 2012-06-13 09:24:23 -07:00
Nick Foster
17f7cb9a53 Backport Flightgear server from private tx branch, collapse commits.
* Added Flightgear multiplayer output interface to uhd_modes.py. This allows flight with live traffic in fgfs.
* Quaternion library borrowed from PyPi and modified to generate angle/axis representation and construct rotation quat from lat/lon to ECEF.
* Miscellaneous enhancements and cleanup to fix timestamps, add aircraft type field (seems to be unused anyway), turnrate info
2012-06-13 07:49:22 -07:00
Nick Foster
622249ba5b Add back in airports.png so Google Earth gets the icon 2012-02-01 09:14:34 -08:00
Nick Foster
105950c176 Move the SQL stuff out of uhd_modes and into modes_kml, keeps things neat 2012-01-30 18:50:04 -08:00
Nick Foster
82ce9feec0 Whoops, forgot to prefix the KML generator invocation 2012-01-13 13:38:49 -08:00
Nick Foster
8522bc0b25 CMakeified almost everything. Test code in python/ and apps other than uhd_modes.py still need minor updating. 2011-12-14 10:17:16 -08:00