diff --git a/__pycache__/ADSB_Encoder.cpython-36.pyc b/__pycache__/ADSB_Encoder.cpython-36.pyc new file mode 100644 index 0000000..4bfcf85 Binary files /dev/null and b/__pycache__/ADSB_Encoder.cpython-36.pyc differ diff --git a/__pycache__/Encoder.cpython-36.pyc b/__pycache__/Encoder.cpython-36.pyc new file mode 100644 index 0000000..822af2f Binary files /dev/null and b/__pycache__/Encoder.cpython-36.pyc differ diff --git a/__pycache__/HackRF.cpython-36.pyc b/__pycache__/HackRF.cpython-36.pyc new file mode 100644 index 0000000..109fae0 Binary files /dev/null and b/__pycache__/HackRF.cpython-36.pyc differ diff --git a/__pycache__/ModeS.cpython-36.pyc b/__pycache__/ModeS.cpython-36.pyc new file mode 100644 index 0000000..3786159 Binary files /dev/null and b/__pycache__/ModeS.cpython-36.pyc differ diff --git a/__pycache__/ModeSLocation.cpython-36.pyc b/__pycache__/ModeSLocation.cpython-36.pyc new file mode 100644 index 0000000..f75b930 Binary files /dev/null and b/__pycache__/ModeSLocation.cpython-36.pyc differ diff --git a/__pycache__/PPM.cpython-36.pyc b/__pycache__/PPM.cpython-36.pyc new file mode 100644 index 0000000..3124146 Binary files /dev/null and b/__pycache__/PPM.cpython-36.pyc differ diff --git a/route.py b/route.py index 64bdfbf..6fc2e87 100755 --- a/route.py +++ b/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)