-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
10 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,17 +16,11 @@ | |
# limitations under the License. | ||
# | ||
|
||
"""ADS-B to TAK Gateway. | ||
"""ADS-B to TAK Gateway.""" | ||
|
||
:source: <https://github.com/snstac/adsbcot> | ||
""" | ||
__version__ = "8.0.0-beta1" | ||
|
||
__version__ = "7.0.1" | ||
__author__ = "Greg Albrecht <[email protected]>" | ||
__copyright__ = "Copyright Sensors & Signals LLC https://www.snstac.com" | ||
__license__ = "Apache License, Version 2.0" | ||
|
||
# Python 3.6 test/build work-around: | ||
# COMPAT Python 3.6 test/build work-around: | ||
try: | ||
from .constants import ( # NOQA | ||
DEFAULT_POLL_INTERVAL, | ||
|
@@ -41,5 +35,4 @@ | |
except ImportError as exc: | ||
import warnings | ||
|
||
warnings.warn(str(exc)) | ||
warnings.warn("ADSBCOT ignoring ImportError - Python 3.6 compat work-around.") | ||
warnings.warn(f"COMPAT Python 3.6. Ignoring Exception {str(exc)}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,11 +51,6 @@ | |
warnings.warn("ADSBCOT ignoring ImportError for: pyModeS") | ||
|
||
|
||
__author__ = "Greg Albrecht <[email protected]>" | ||
__copyright__ = "Copyright Sensors & Signals LLC https://www.snstac.com" | ||
__license__ = "Apache License, Version 2.0" | ||
|
||
|
||
class ADSBWorker(pytak.QueueWorker): | ||
"""Read ADS-B Data from inputs, serialize to CoT, and put on TX queue.""" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,10 +20,6 @@ | |
|
||
import pytak | ||
|
||
__author__ = "Greg Albrecht <[email protected]>" | ||
__copyright__ = "Copyright Sensors & Signals LLC https://www.snstac.com" | ||
__license__ = "Apache License, Version 2.0" | ||
|
||
|
||
def main() -> None: | ||
"""Boilerplate main func.""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,6 @@ | |
|
||
"""ADSBCOT Constants.""" | ||
|
||
__author__ = "Greg Albrecht <[email protected]>" | ||
__copyright__ = "Copyright Sensors & Signals LLC https://www.snstac.com" | ||
__license__ = "Apache License, Version 2.0" | ||
|
||
|
||
# Feed URL to use out of the box, in this case the JSON from the local filesystem. | ||
DEFAULT_FEED_URL: str = "file:///run/dump1090-fa/aircraft.json" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,10 +31,6 @@ | |
import pytak | ||
import adsbcot | ||
|
||
__author__ = "Greg Albrecht <[email protected]>" | ||
__copyright__ = "Copyright Sensors & Signals LLC https://www.snstac.com" | ||
__license__ = "Apache License, Version 2.0" | ||
|
||
|
||
APP_NAME = "adsbcot" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters