update route.py
This commit is contained in:
parent
2bd07f7e3b
commit
2db7cd5abb
BIN
__pycache__/ADSB_Encoder.cpython-36.pyc
Normal file
BIN
__pycache__/ADSB_Encoder.cpython-36.pyc
Normal file
Binary file not shown.
BIN
__pycache__/Encoder.cpython-36.pyc
Normal file
BIN
__pycache__/Encoder.cpython-36.pyc
Normal file
Binary file not shown.
BIN
__pycache__/HackRF.cpython-36.pyc
Normal file
BIN
__pycache__/HackRF.cpython-36.pyc
Normal file
Binary file not shown.
BIN
__pycache__/ModeS.cpython-36.pyc
Normal file
BIN
__pycache__/ModeS.cpython-36.pyc
Normal file
Binary file not shown.
BIN
__pycache__/ModeSLocation.cpython-36.pyc
Normal file
BIN
__pycache__/ModeSLocation.cpython-36.pyc
Normal file
Binary file not shown.
BIN
__pycache__/PPM.cpython-36.pyc
Normal file
BIN
__pycache__/PPM.cpython-36.pyc
Normal file
Binary file not shown.
6
route.py
6
route.py
@ -168,7 +168,7 @@ def main(argv=None):
|
||||
|
||||
file.close()
|
||||
os.chmod("%s/tx_samples.py"%name,0o755)
|
||||
print("Transmit script written %s/tx_samples.py"%name)
|
||||
if verbose:print("Transmit script written %s/tx_samples.py"%name)
|
||||
|
||||
encoder = ADSB_Encoder()
|
||||
|
||||
@ -179,9 +179,9 @@ def main(argv=None):
|
||||
curName = "%s/%s" % (name,coord[3])
|
||||
|
||||
encoder._set_vars(coord[2],coord[0],coord[1],5,99564,0,2,False,0,11,icao,callsign,0,curName,speed,0,coord[4])
|
||||
print("Encoding %s of %s" % (i+1, len(coords)))
|
||||
if verbose:print("Encoding %s of %s" % (i+1, len(coords)))
|
||||
data = encoder.encode()
|
||||
print("Writing %s/%s" % (name,coord[3]))
|
||||
if verbose:print("Writing %s/%s" % (name,coord[3]))
|
||||
encoder.writeOutputFile(data)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user