uas-cot 0.2.1

Drone telemetry to Cursor on Target (CoT) for TAK: Remote ID, MISB ST 0601 KLV (STANAG 4609 video), MAVLink vehicle telemetry and MAVLink-M (military.xml) friendly position reports to ATAK/WinTAK/TAK Server, with a MAVLink-M framing checker and the uas2cot command line bridge. Telemetry and position interoperability only
Documentation

uas-cot

crates.io docs.rs CI

Put drones on the TAK map. Remote ID, MISB KLV video metadata, MAVLink and MAVLink-M to Cursor on Target.

  • Remote ID (Wi-Fi Beacon, NAN, Bluetooth via remoteid): aircraft and operator markers
  • MISB ST 0601 KLV from STANAG 4609 video (via misb): platform, camera field of view, sensor point of interest
  • MAVLink GLOBAL_POSITION_INT: vehicle markers, from a .tlog or live UDP
  • MAVLink-M (Dronecode military.xml, feature mavlink-m): friendly position reports (PARTICIPANT_POSITION) as CoT markers, plus mavlinkm-check, a framing and checksum checker for MAVLink-M traffic. Telemetry and position interoperability only: every target, track, handover, fires, munition and engagement message is refused at compile time and at run time. See docs/mavlink-m.md
  • Sends to the SA multicast group (239.2.3.1:6969), a TAK Server TCP input, or stdout
  • Output passes the MITRE CoT schemas and converts cleanly to TAK Protocol v1

Install

cargo install uas-cot                       # Remote ID, KLV, MAVLink
cargo install uas-cot --features mavlink-m  # plus MAVLink-M and mavlinkm-check

Use

uas2cot pcap capture.pcap --udp 239.2.3.1:6969        # Remote ID from a Wi-Fi capture
uas2cot klv flight.klv --video rtsp://cam/1 --realtime   # ffmpeg -i in.ts -map 0:d -c copy -f data flight.klv
uas2cot tlog flight.tlog --tcp takserver:8087
uas2cot mavlink-udp 0.0.0.0:14550 --udp 239.2.3.1:6969   # with mavlink-m: MAVLink-M friendly positions too
mavlinkm-check tlog flight.tlog                           # MAVLink-M traffic against military.xml

MAVLink + MAVLink-M to CoT, simulated scenario

uas2cot output for the simulated scenario in examples/mavlink_m_sim.rs (synthetic data): two drones, plus a friendly ground team and a friendly survey boat relayed as MAVLink-M PPLI reports.

As a library:

use uas_cot::{mavlink, net::UdpSender};

let pos = mavlink::GlobalPositionInt { lat: 473_977_418, lon: 85_455_939, alt: 488_000, ..Default::default() };
if let Some(event) = mavlink::vehicle(1, &pos, Some(2), uas_cot::now_us(), &Default::default()) {
    UdpSender::sa_multicast()?.send(&event)?;
}
# Ok::<(), std::io::Error>(())

Docs

License

MIT OR Apache-2.0. dialects/military.xml is from Dronecode/mavlink-military, MIT, Copyright (c) 2026 Dronecode Project, Inc (dialects/LICENSE-MIT-dronecode).