Commit Graph

65 Commits

Author SHA1 Message Date
Dennis Real
fa4a8be31b KML generator patch to align the airplane icon w/aircraft heading. 2012-08-06 12:08:01 -07:00
Nick Foster
3d69b7ff80 Use proper scaling for dBfs 2012-07-21 11:26:49 -07:00
Nick Foster
a39b07c372 Merge branch 'parse'
Conflicts:
	python/modes_sql.py
2012-07-21 11:17:23 -07:00
Nick Foster
9b539f8942 Fix for BDS0,9-0/1 2012-07-21 11:12:19 -07:00
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
3c506c44ab Don't print alt/ident on type 20 packets yet. 2012-07-20 21:10:14 -07:00
Nick Foster
1c35ccc0e0 How did this go so long without being fixed? Range and bearing were asymptotic due to -- get this -- degree/radian confusion. 2012-07-20 18:49:54 -07:00
Nick Foster
822b05944b Fix for BDS0,9 SQL insertion. 2012-07-20 18:40:30 -07:00
Nick Foster
07c6c051bd Commit db on init to ensure file exists when KML goes looking for it 2012-07-18 16:27:24 -07:00
Nick Foster
7388a8e910 Merge branch 'master' into parse 2012-07-16 15:24:35 -07:00
Nick Foster
c866dc9d31 How did this go so long without being fixed? Range and bearing were asymptotic due to -- get this -- degree/radian confusion. 2012-07-16 14:35:43 -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
0a1c49f1fc Check for unfilled SBS1 message before sending. 2012-06-26 07:46:32 -07:00
Nick Foster
6a76ec8250 Temp commit before changing new parser to eliminate "fields" 2012-06-25 23:09:11 -07:00
Nick Foster
13c98cada7 Fix SBS-1 output module (hopefully). 2012-06-25 17:33:40 -07:00
Nick Foster
e174091763 Temp commit 2012-06-25 17:25:57 -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
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
0494eb5b18 Extended test case for CPR calculator to use different odd/even locations 2012-06-20 18:57:01 -07:00
Nick Foster
b29d049d7d Raise no handler exception in SBS-1 when there's no handler for messages. 2012-06-20 11:53:28 -07:00
Nick Foster
c985bd4e89 fix SQL bug in new exception handling 2012-06-19 23:12:57 -07:00
Nick Foster
66171b62cc Implemented metric altitude decoding but left it commented and throwing an exception by default. 2012-06-19 19:17:33 -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
e3ac472a1a Move multilateration test code into mlat.py 2012-06-18 18:43:53 -07:00
Nick Foster
f6161f7c3b Remove local decoding from the CPR parser. Local decodes are only valid if you can guarantee <180nm reception range. 2012-06-18 18:31:10 -07:00
Nick Foster
6882329f8d CPR calculator: fixed order of operations bug on modulus operator in longitude calculation of global resolver. Test case passes 100%.
This has the interesting side effect of fixing the "boundary straddle" problem previously seen. Possibly also fixes the bad positions sometimes seen in real aircraft.
2012-06-18 18:24:35 -07:00
Nick Foster
cbdef224c1 SBS-1: use leading zeroes on ICAO24 to keep VRB/PP happy. 2012-06-18 10:25:41 -07:00
Nick Foster
d35a665db1 Can't figure out why global resolver is bombing on some positions. Is j<0 legitimate? 2012-06-15 22:31:13 -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
ce28741e84 Forgot the "NO INFO" case 2012-06-15 16:58:11 -07:00
Nick Foster
a434647f56 Remove shuttle and replace with SpaceShipOne, whose model actually works 2012-06-15 16:55:04 -07:00
Nick Foster
51657f8229 Remove duplicate lat_lon_to_quat from modes_flightgear (it's in Quat now) 2012-06-15 15:58:05 -07:00
Nick Foster
e8c69c5529 Add model information to Flightgear interface. Only seen a couple of "LIGHT" types IRL, the rest seem to be N/A. 2012-06-15 15:55:11 -07:00
Nick Foster
fc4ee50a88 Fix KML for new GE which is more space-sensitive than old GE 2012-06-14 18:14:53 -07:00
Nick Foster
e709cd4ca0 Don't break the build, jackass 2012-06-14 17:22:45 -07:00