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
3d2920b56a
Flightgear interface for new parser, minus BDS0,9
2012-06-23 19:29:51 -07:00
Nick Foster
f928669094
Found the no handler thing
2012-06-23 17:55:17 -07:00
Nick Foster
03b41f14be
It works, still some bugs.
2012-06-23 17:26:47 -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
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