Mattias Schäfer
f25d21f505
cpr.set_location lacked self arg
2013-01-22 08:07:46 -08:00
Nick Foster
a3f2dec1f9
CPR decoder: Keep a separate list for sfc and air positions to keep them from stepping on each other.
2012-10-17 09:24:15 -07:00
Nick Foster
0b30db353d
CPR: surface decoding still exhibits occasional errors when m~=0. Suspect it might actually be a bug in the encoder.
2012-10-17 09:13:10 -07:00
Nick Foster
ac9e09893b
CPR changes. Fixed a lot of the surface position errors. At least one bug still remains.
2012-10-14 22:57:48 -07:00
Nick Foster
3c8c60f57f
Removing emitter-centered local decoding from the CPR parser. Using only global decoding.
2012-10-14 18:00:51 -07:00
Nick Foster
3163fca47a
Renamed everything in python/ for consistent namespace
2012-07-16 20:59:37 -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
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
0494eb5b18
Extended test case for CPR calculator to use different odd/even locations
2012-06-20 18:57:01 -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
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