Commit Graph

281 Commits

Author SHA1 Message Date
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
8b747e23da Fix language in README. 2012-06-18 18:41:34 -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
2f07119328 Add build notes to readme 2012-06-15 22:27:09 -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
f9026feb7f Brand new README file. 2012-06-15 18:50:56 -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
Nick Foster
3515c4d4a9 Remove spaces from track string since newest Google Earth appears to hate them. Made modes_kml a child class of SQL while I was at it. 2012-06-14 15:45:01 -07:00
Nick Foster
1be63eba0a Fix KML/SBS-1 interfaces for new BDS08 output type 2012-06-13 20:35:05 -07:00
Nick Foster
c2e5f6c2a9 Modify notice a bit. 2012-06-13 20:19:05 -07:00
Nick Foster
53da7eecff Notice to user if no location is set. 2012-06-13 20:18:09 -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
90145c5bac Modify error msg so it asks for scipy and numpy 2012-06-13 20:08:56 -07:00
Nick Foster
91d6c991f0 Use correct filter rate for RTL resampler. 2012-06-13 19:45:20 -07:00
Nick Foster
00d006a3ab Fix altitude decoding and implement altitude encoding. Test case which loops back altitude. 2012-06-13 18:54:00 -07:00
Nick Foster
f0eaf88aa7 Fix unreferenced variable 2012-06-13 16:04:59 -07:00
Nick Foster
f5bea04d21 Fix SBS-1 and SQL calls into parser. 2012-06-13 15:33:20 -07:00
Nick Foster
4942df438a try/except around modes_flightgear so users w/o numpy can still run it. 2012-06-13 14:34:42 -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
6c4eb9d6d3 Take air_modes.i out of the SWIG install. Nobody's going to use it anyway. 2012-06-13 14:02:36 -07:00
Nick Foster
bb0cafddf8 SWIG fix for GR >= 3.5.1 2012-06-13 13:43:41 -07:00
Steve Markgraf
f415257907 modes_sbs1: reuse socket
Otherwise you'd have to wait until it times out...

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-06-13 09:53:53 -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
61cc4917a8 Add the actual FlightGear interface. Derp. 2012-06-13 07:53:19 -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
622249ba5b Add back in airports.png so Google Earth gets the icon 2012-02-01 09:14:34 -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
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