Configuration¶
DJICOT's configuration parameters can be set two ways:
- In an INI-style configuration file. (ex.
djicot -c config.ini) - As environment variables. (ex.
export DEBUG=1; djicot)
DJICOT has the following built-in configuration parameters:
-
FEED_URL:- Default:
tcp://192.168.1.10:41030
AntSDR source URL. DJICOT selects the input worker from the URL:
tcp://host:41030— binary DJI Drone ID frames (default AntSDR port)tcp://host:52002— text CSVdji_O,...debug streamfile:///path/to/log— offline replay of a captured text log
- Default:
-
FEED_FORMAT:- Default: unset (auto-detect from
FEED_URL)
Set to
textto force the text CSV parser when using a non-standard TCP port. - Default: unset (auto-detect from
-
COT_TYPE:- Default:
a-u-A-M-H-Q
Cursor on Target (CoT) Event type. Default is unknown rotor-wing UAV.
- Default:
-
SENSOR_LAT:- Default:
0.0
Latitude of AntSDR sensor. If set, sends periodic sensor CoT & used for 'Range' detections.
- Default:
-
SENSOR_LON:- Default:
0.0
Longitude of AntSDR sensor. If set, sends periodic sensor CoT & used for 'Range' detections.
- Default:
-
SENSOR_ID:- Default:
DJICOT
Unique identifier for sensor. Added as sensor metadata in __cuas CoT Element.
- Default:
-
SENSOR_COT_TYPE:- Default:
a-f-G-E-S-E
Cursor on Target (CoT) Event type for sensor.
- Default:
-
HIDE_INVALID_DATA:- Default:
0
When set, suppresses CoT for legs with invalid or missing coordinates.
- Default:
Additional configuration parameters, including TAK Server TLS, certificate enrollment, and PYTAK_NO_HELLO, are included in the PyTAK Configuration documentation.
See also: example-config.ini.