Commit Graph

23 Commits

Author SHA1 Message Date
Nick Foster
ac8a01646b Add BDS0,9-3 (air course report) to parser/printer. 2012-07-21 11:10:15 -07:00
Nick Foster
e11600ccb4 Take out annoying print, you can put it in for debug 2012-07-20 22:08:13 -07:00
Nick Foster
3c73be4d64 Modifications to TCAS printing and to error handling 2012-07-20 22:05:03 -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
4750d20044 Parser returns objects for subfields instead of flat data. Lets you use get_type to resolve BDS registers, etc.
Printer takes advantage of this. Now printing BDS reg instead of "subtype".
2012-07-16 09:27:18 -07:00
Nick Foster
fe6aa0c6de Fix error handling for data construct on init. 2012-07-02 07:17:21 -07:00
Nick Foster
19436349dc Parser is even bitchin'er. Now flattens the dict on init recursively so fields are automatically populated. 2012-06-30 14:31:20 -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
28824cb0b2 New parser works. TCAS untested. Extra info in print. Fixed ground_track printing error. Surface reports suppressed due to possible CPR bug. Not all code paths tested. 2012-06-26 23:27:58 -07:00
Nick Foster
b05bea9618 Parser and printer for type 20 and TCAS info 2012-06-26 19:25:31 -07:00
Nick Foster
cf8f429900 Cleaned up the print module, minor changes to parse and FGFS module. Untested. 2012-06-26 15:37:20 -07:00
Nick Foster
067556cbdd Fields eliminated, type includes field data. Subfields also gone. 2012-06-26 09:46:21 -07:00
Nick Foster
6a76ec8250 Temp commit before changing new parser to eliminate "fields" 2012-06-25 23:09:11 -07:00
Nick Foster
e174091763 Temp commit 2012-06-25 17:25:57 -07:00
Nick Foster
03b41f14be It works, still some bugs. 2012-06-23 17:26:47 -07:00
Nick Foster
b7cc18c41f More parser work, type 17 done except for BDS0,9 velocity subtypes 2012-06-23 14:25:26 -07:00
Nick Foster
a45531b15c Additional work toward new parser. Added fields for extended squitter. 2012-06-22 17:28:55 -07:00
Nick Foster
ba153e52ed Completely rewrote parser, everything is broken 2012-06-21 23:45:49 -07:00
Nick Foster
db62aaf399 First stab at using real exception handling instead of returning [None] everywhere 2012-06-19 18:49:42 -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
c16886c4c1 Fix your laziness in breaking the CPR parser. Still don't like how KMLgen is done, needs to be consolidated so all db work is in one file. 2012-02-25 16:50:15 -08:00
Nick Foster
a43d8ee3a7 Reorganize CPR decoder as a class to keep it simple 2012-02-01 09:14:02 -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