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
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
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
fc4ee50a88
Fix KML for new GE which is more space-sensitive than old GE
2012-06-14 18:14:53 -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
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