6. Cursor on Target

Cursor on Target (CoT) is what TAK and much of the rest of the world speak, so SpiriDetect borrows its vocabulary: its types (cot_type), its stale time (stale_after) and its track (course, speed). That’s all it takes from CoT. SpiriDetect doesn’t read or write CoT itself.

Richer inside, lossy at bridges. Rays, angular footprints and boxes stay in the model. CoT is a projection, made by the TAK bridge, SpiriTak, which runs on the ground station or another gateway, not normally on the robot. The model is never trimmed to fit CoT.

6.1. The bridge

SpiriTak’s documentation is the authority on the mapping. In outline:

  • It reads detections from */detections/** without depending on SpiriDetect, so neither package pins the other.

  • A node’s detections/self becomes its position report. Every other detection is sent as a child of the robot that reported it, and only while that robot is on the map.

  • It sends only detections with a pose: CoT has no event for “somewhere along this line”, so a bearing without a range doesn’t cross. It drops confidence (CoT has no such field), after filtering out detections below a threshold. confidence None (“not given”) always passes.

  • A detection that goes quiet past its stale_after is left to go stale in TAK. Closing one sends a delete.

  • What TAK says comes in as SpiriTak’s own TakPosition at <gcs>/tak/<uid>, not as a detection.

6.2. Accuracy

SpiriSynq’s Accuracy is 90% bounds (CEP90 horizontally, LEP90 vertically), because “there’s a 90% chance it’s in here” is what a person drawing a circle on a map means. CoT’s ce and le are 1σ: about 39% horizontally and 68% vertically. They differ by a factor of about 2.15 horizontally and 1.64 vertically. The bridge converts them (SpiriSynq’s Accuracy.to_cot() and from_cot()), so a producer always gives 90% bounds.