Features:

- initial support for multiples tracks simulation

Enhancements:
- code profiling and optimization
 - faster lookup table based ppm + IQ generation
 - faster CRC24 computations
 - frame encoding

Bug fixes:
- callsign encoding
- typos
This commit is contained in:
Mathieu Peyréga
2022-03-15 20:23:40 +01:00
parent 5642c6564e
commit bc9687feb9
21 changed files with 645 additions and 292 deletions

View File

@@ -1,4 +1,5 @@
import math
from CustomDecorators import *
class ModeSLocation:
"""This class does ModeS/ADSB Location calulations"""
@@ -89,6 +90,7 @@ class ModeSLocation:
# encode CPR position
# https://adsb-decode-guide.readthedocs.io/en/latest/content/cpr.html
# compact position reporting
#@Timed
def cpr_encode(self, lat, lon, ctype, surface):
if surface is True:
scalar = 2.**19