You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TargetType ==>
if
TARGET_TYPE_MODE_S = 0 ====> Throw out/ignore...can't plot this in a CoT message and usually hasPosition_valid":false,
TARGET_TYPE_ADSB = 1 _====> Add "ADS-B Type" to CoT Remarks Type: {ADS-B}
TARGET_TYPE_ADSR = 2 _====> Add "ADS-B Type" to CoT Remarks Type: {ADS-R}
TARGET_TYPE_TISB_S = 3 _====> Add "ADS-B Type" to CoT Remarks Type: {TIS-B}
TARGET_TYPE_TISB = 4 _====> Add "ADS-B Type" to CoT Remarks Type: {TIS-B}
=============================
If TargetType is 3 or 4, then hard code cot type="a-u-A" for unknown type of air track...no further info available to catagorize. The emitter code should be
===========================
https://github.com/cyoung/stratux/blob/fb1ef310f5bc4b48e8c8fd6de4ac8d7f5e6d65c2/main/traffic.go#L539
if ti.Addr_type == 0 {
ti.TargetType = TARGET_TYPE_ADSB
} else if ti.Addr_type == 3 {
ti.TargetType = TARGET_TYPE_TISB
} else if ti.Addr_type == 6 {
ti.TargetType = TARGET_TYPE_ADSR
} else if ti.Addr_type == 2 {
ti.TargetType = TARGET_TYPE_TISB_S
if (ti.NIC >= 7) && (ti.Emitter_category > 0) { // If NIC is sufficiently high and emitter type is transmitted, we'll assume it's ADS-R.
ti.TargetType = TARGET_TYPE_ADSR
https://github.com/cyoung/stratux/blob/ec997fbf98a27ef53002dc4207ae7d22bbb409a6/main/traffic.go#L84
TargetType ==>
if
TARGET_TYPE_MODE_S = 0 ====> Throw out/ignore...can't plot this in a CoT message and usually has
Position_valid":false,
TARGET_TYPE_ADSB = 1 _====> Add "ADS-B Type" to CoT Remarks Type: {ADS-B}
TARGET_TYPE_ADSR = 2 _====> Add "ADS-B Type" to CoT Remarks Type: {ADS-R}
TARGET_TYPE_TISB_S = 3 _====> Add "ADS-B Type" to CoT Remarks Type: {TIS-B}
TARGET_TYPE_TISB = 4 _====> Add "ADS-B Type" to CoT Remarks Type: {TIS-B}
=============================
If
TargetType
is 3 or 4, then hard code cottype="a-u-A"
for unknown type of air track...no further info available to catagorize. The emitter code should be===========================
https://github.com/cyoung/stratux/blob/fb1ef310f5bc4b48e8c8fd6de4ac8d7f5e6d65c2/main/traffic.go#L539
if ti.Addr_type == 0 {
ti.TargetType = TARGET_TYPE_ADSB
} else if ti.Addr_type == 3 {
ti.TargetType = TARGET_TYPE_TISB
} else if ti.Addr_type == 6 {
ti.TargetType = TARGET_TYPE_ADSR
} else if ti.Addr_type == 2 {
ti.TargetType = TARGET_TYPE_TISB_S
if (ti.NIC >= 7) && (ti.Emitter_category > 0) { // If NIC is sufficiently high and emitter type is transmitted, we'll assume it's ADS-R.
ti.TargetType = TARGET_TYPE_ADSR
==============================
https://github.com/cyoung/stratux/blob/fb1ef310f5bc4b48e8c8fd6de4ac8d7f5e6d65c2/main/traffic.go#L1111
The text was updated successfully, but these errors were encountered: