Skip to main content

ADS-B to Cursor-On-Target Gateway.

Project description

Screenshot of ADS-B PLI in ATAK.

IF YOU HAVE AN URGENT OPERATIONAL NEED: Email ops@undef.net or sms+call +1-415-598-8226

The ADSBCOT ADS-B to Cursor-On-Target Gateway transforms Automatic Dependent Surveillance-Broadcast (ADS-B) aircraft position information into Cursor On Target (COT) Position Location Information (PLI) for display on Situational Awareness (SA) applications such as the Android Team Awareness Kit (ATAK), WinTAK, RaptorX, TAKX, iTAK, et al.

For more information on the TAK suite of tools, see: https://www.tak.gov/

ADS-B Data can be recevied from a dump1090 recevier using:

  1. Aircraft JSON HTTP feed. See: https://github.com/flightaware/dump1090/blob/master/README-json.md

  2. Raw TCP (via pyModeS)

  3. Beast TCP (via pyModeS)

If you’d like to feed ADS-B from another source, consider these:

  • adsbxcot: ADS-B Exchange to Cursor on Target (COT) Gateway. Transforms ADS-B position messages to CoT PLI Events.

  • stratuxcot: Stratux ADS-B to Cursor on Target (COT) Gateway. Transforms position messages to CoT PLI Events.

Support ADSBCOT Development

ADSBCOT has been developed for the Disaster Response, Public Safety and Frontline Healthcare community. This software is currently provided at no-cost to users. Any contribution you can make to further this project’s development efforts is greatly appreciated.

Support ADSBCOT development: Buy me a coffee!

Installation

The ADS-B to Cursor on Target Gateway is provided by a command-line tool called adsbcot, which can be installed either from the Python Package Index, or directly from this source tree.

Install from the Python Package Index (PyPI):

$ python3 -m pip install adsbcot

To support direct network streaming (raw & beast) from dump1090, you must install the extra package pyModeS.

To install with pyModeS support:

$ python3 -m pip install adsbcot[with_pymodes]

Install from this source tree:

$ git clone https://github.com/ampledata/adsbcot.git
$ cd adsbcot/
$ python3 setup.py install

Usage

The adsbcot command-line program has several runtime arguments:

usage: adsbcot [-h] [-c CONFIG_FILE]

optional arguments:
-h, --help            show this help message and exit
-c CONFIG_FILE, --CONFIG_FILE CONFIG_FILE

Example config.ini

Connect to dump1090’s Beast TCP running on host 172.17.2.122, port 30005 & forward CoT to host 172.17.2.152, port 8087 use following config.ini:

[adsbcot]
COT_URL = 172.17.2.152:8087
DUMP1090_URL = tcp+beast://172.17.2.122:30005

Connect to dump1090’s Raw TCP running on host 172.17.2.122, port 30002 & forward CoT to host 172.17.2.152, port 8087:

[adsbcot]
COT_URL = 172.17.2.152:8087
DUMP1090_URL = tcp+raw://172.17.2.122:30002

Poll dump1090’s JSON API at http://172.17.2.122:8080/data/aircraft.json with a 10 second interval & forward CoT to host 172.17.2.152, port 8087:

[adsbcot]
COT_URL = 172.17.2.152:8087
DUMP1090_URL = thttp://172.17.2.122:8080/data/aircraft.json
POLL_INTERVAL = 10

Troubleshooting

To report bugs, please set the DEBUG=1 environment variable to collect logs:

$ DEBUG=1 adsbcot -c config.ini

Source

The source for adsbcot can be found on Github: https://github.com/ampledata/adsbcot

Author

adsbcot is written and maintained by Greg Albrecht W2GMD oss@undef.net

https://ampledata.org/

License

adsbcot is licensed under the Apache License, Version 2.0. See LICENSE for details.

pyModeS is an optional extra package, and is licensed under the GNU General Public License v3.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

adsbcot-4.0.1.tar.gz (10.6 kB view hashes)

Uploaded Source

Built Distribution

adsbcot-4.0.1-py3-none-any.whl (10.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page