AIS CursoronTarget网关。
aiscot的Python项目详细描述
aiscot从AIS接收器接收AIS语句,例如AIS解码器, 将它们转换为目标上的光标,并将CoT传输到UDP目的地。在
适用于ATAK、WinTAK、RaptorX等CoT系统, Falconview等。有关TAK的更多信息,请参见https://www.civtak.org/ 程序。在
用于北太平洋的远洋划船比赛,如 本文描述:http://ampledata.org/boat_race_support.html
安装
命令行守护程序aiscot可以从此源树(A)安装,也可以从 Python包索引(PyPI)(B)。在
要从此源树安装:
$ git checkout https://github.com/ampledata/aiscot.git $ cd aiscot/ $ python setup.py install
在要从PyPI安装:
^{pr2}$ 在
使用
aiscot守护程序有几个运行时参数:
$ aiscot --help usage: aiscot [-h] [-P AIS_PORT] -C COT_HOST optional arguments: -h, --help show this help message and exit -P AIS_PORT, --ais_port AIS_PORT AIS UDP Port -C COT_HOST, --cot_host COT_HOST Cursor-on-Target Host or Host:Port
对于最小操作,需要-p AIS_端口&;-C COT_主机。在
下面的示例监听UDP 0.0.0.0:5050上的AIS语句,以及 将CoT消息转发到UDP 172.17.2.222:4242:
$ aiscot -P 5050 -C 172.17.2.222:4242
目标事件上的示例光标
aiscot守护程序将输出与此示例类似的CoT XML事件:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <event version="2.0" type="a-f-G-E-V-C" uid="AIS.993692014" time="2020-09-25T14:15:01.639741Z" start="2020-09-25T14:15:01.639741Z" stale="2020-09-25T15:15:01.639741Z" how="h-e"> <point lat="37.815" lon="-122.78695" hae="10" ce="10" le="10" /> <detail> <uid Droid="6N @" /> </detail> </event>
来源
版权所有
版权所有2020 Orion Labs,Inc
许可证
Apache许可证,2.0版。有关详细信息,请参阅许可证。在
在目标上调试光标
公开可用的ATAK源代码是一些解析的很好的参考 ATAK Civ开发构建给我的错误,即无效CoT 收到的消息:丢失或无效的CoT事件和/或点属性。很多 很遗憾,错误被捕获到一个try/catch块中:
- 项目
标签: