Commit Graph

51 Commits

Author SHA1 Message Date
Junzi Sun
2046b1de07
speedup (#59)
* remove unused functions

* cythonize common

* add bds05

* separate cleanly cython and python, bds05, bds06, modulo issues

* bds08

* bds09

* optimisations in bds09

* "make" things easier

* clean up useless stuff

* add make options

* fix hidden altitude() call

* minor updates to C code

* update tests

* update benchmark

* consolidation

* update clean script

* reduce complexity and change default type to str

Co-authored-by: Xavier Olive <1360812+xoolive@users.noreply.github.com>
2020-02-26 00:16:48 +01:00
Junzi Sun
e2ece806c2 update tell() 2019-09-24 16:30:38 +02:00
Junzi Sun
0c1a3b06e1 Merge branch 'master' of github.com:junzis/pyModeS 2019-09-11 15:39:00 +02:00
Junzi Sun
bd54ac1d10 add tell() function 2019-09-11 14:58:31 +02:00
Junzi Sun
2c1db13122 reformat code with Black 2019-09-10 23:25:21 +02:00
Junzi Sun
695fc34988 update airborne_position(), allow swapping the odd and even messages 2019-09-10 14:47:15 +02:00
Richard Janssen
0ea2cf7ade Fix surface positions for negative longitude 2019-09-03 12:15:34 +02:00
Junzi Sun
28a6e53d49 update dependencies 2019-08-23 14:59:50 +02:00
Junzi Sun
6f6b50776d rename functions for seleted altitudes in BDS40 2019-08-05 10:37:17 +02:00
Junzi Sun
6159691c3d update CRC code 2019-05-27 21:26:18 +02:00
Junzi Sun
7edbf3fd30
Merge pull request #29 from alcibiade/fastcrc
FastCRC - A more efficient CRC calculation
2019-05-27 20:38:27 +02:00
Junzi Sun
44a9c8d2aa fix test for commb 2018-11-30 22:50:05 +01:00
Yannick Kirschhoffer
32e6ee3904 Implement an alternative faster CRC. 2018-11-04 00:36:33 +01:00
Yannick Kirschhoffer
d82dfd5537 Extended test to stress the CRC function. 2018-11-04 00:17:09 +01:00
Huy Vu
fd15b13c17 Update readme 2018-07-25 20:09:28 +02:00
Junzi Sun
0df6a664a3 resturctue the uncertainty module, and some additional fixings. 2018-06-27 22:08:13 +02:00
Junzi Sun
2389c12b98 add [commb], depricate [ehs] and [els] 2018-05-17 10:34:14 +02:00
Junzi Sun
6128c5a18d update sample run script for comm-b 2018-05-17 09:52:50 +02:00
forta
14a537030d Sample run of EHS decoding has been fixed. 2018-05-16 19:09:02 +02:00
forta
b7afd841ff Import of 'util' module substituted with 'common'. 2018-05-16 17:41:19 +02:00
Junzi Sun
362b92de7a major update; adsb restructure; rename combining util/modes to common. 2018-03-28 13:31:24 +02:00
Junzi Sun
12506e7c7f restructure, add BDS30 2018-03-26 21:05:54 +02:00
Junzi Sun
8b48fabf5a add ehs BDS10 decoder, cut redundancies 2018-03-16 11:53:09 +01:00
Junzi Sun
4911e69171 update EHS BDS identification, add isBDS50or60() function 2018-03-13 16:55:50 +01:00
Junzi Sun
7c8fd74db7 fix velocity message with no data; and update some comments 2017-11-15 22:33:06 +01:00
junzis
854386fbd4 update EHS sample data 2017-07-31 14:28:26 +02:00
junzis
3117febac0 update EHS sample data 2017-07-31 14:23:59 +02:00
junzis
8693c51998 update sample run data and scripts 2017-07-27 13:41:21 +02:00
junzis
8c90371111 update BDS60 check 2017-07-26 12:02:49 +02:00
Junzi Sun
c6952e4e63 major bug fix, signed values in ehs (two's complement) 2017-07-25 23:29:03 +02:00
junzis
98e5d81ae1 update test altcode test function 2017-07-25 13:05:48 +02:00
junzis
cdbcf47bc2 fix DF4,20 altitude decoding 2017-07-25 12:27:07 +02:00
junzis
27daf52850 minor update 2017-07-21 16:02:40 +02:00
junzis
1e842e4789 add altitude difference function in adsb, fix bug. 2017-07-21 15:53:50 +02:00
Junzi Sun
8de58bb01f Fixed what seems to be an ICAO documentation error: sign reversed in vertical speed in BDS60 messages. 2017-03-29 21:32:40 +02:00
junzis
fefd26a787 fix import error in Python3 2017-03-23 16:10:22 +01:00
junzis
46fee6b7dc update EHS module 2017-03-23 11:48:51 +01:00
Junzi Sun
ef2268127c Major funciton renaming in EHS for suppporting more BDS types. Bug fixes. 2017-03-22 21:06:51 +01:00
junzis
128163b41d update BDS 4,4 decoder, default to revised version 2017-03-17 18:03:54 +01:00
junzis
15f2833aee add surface velocity decoding from msg TC:5-8 2017-03-07 13:41:07 +01:00
junzis
cadcbb1756 major bug fix for function adsb.position_with_ref() 2017-03-07 10:22:53 +01:00
Junzi Sun
b9c6db6f65 fix error in surface position with reference 2016-11-10 13:45:36 +01:00
Junzi Sun
220b8e9716 update setup and test code 2016-10-26 21:03:14 +02:00
junzis
4bafa1de19 complete surface position decoding 2016-10-19 16:22:28 +02:00
junzis
b648f4e7a5 add EHS BDS44 decoding (not reliable though...) 2016-10-05 17:37:50 +02:00
junzis
a08c91a3a1 fix imports again and rename files 2016-10-05 15:40:56 +02:00
James Watterson
23192a97fd merge in watterso_setup_automated_testing
added .idea to .gitignore for pycharm
pulled tests out of run.py, created adsb_test, ehs_test, and util test
moved the rest of runp.py into decode_test_data
changed imports and __init__ file so it doesn't contain magic
2016-09-11 20:48:43 -07:00
junzis
7a62d1dbfb add api docs 2016-08-16 16:22:13 +02:00
junzis
2fccacd724 update position decoding, handle surface position messages, error fix in vertical rate calculation. 2016-08-16 14:33:31 +02:00
junzis
1ccd4fd83b update CRC function 2016-03-23 11:35:20 +01:00