SensorFovData

data class SensorFovData(val type: TakPacketV2Data.SensorFovData.SensorType = SensorType.Unspecified, val azimuthDeg: Int = 270, val rangeMeters: Int? = null, val fovHorizontalDeg: Int = 45, val fovVerticalDeg: Int? = null, val elevationDeg: Int = 0, val rollDeg: Int? = null, val model: String? = null)(source)

Sensor field-of-view cone from a CoT <sensor> detail element.

Mirrors the 8 geometry attributes that ATAK-CIV's SensorDetailHandler reads from the wire. Visual styling attributes (fovAlpha, RGB fill, stroke color/weight, etc.) are intentionally dropped — the receiving ATAK client restores them from its own defaults.

Constructors

Link copied to clipboard
constructor(type: TakPacketV2Data.SensorFovData.SensorType = SensorType.Unspecified, azimuthDeg: Int = 270, rangeMeters: Int? = null, fovHorizontalDeg: Int = 45, fovVerticalDeg: Int? = null, elevationDeg: Int = 0, rollDeg: Int? = null, model: String? = null)

Types

Link copied to clipboard

Coarse sensor category inferred from model when the source XML doesn't label it.

Properties

Link copied to clipboard

Cone axis azimuth in whole degrees, 0–359, clockwise from true north.

Link copied to clipboard

Elevation angle in whole degrees, -90..+90 (positive = up).

Link copied to clipboard

Horizontal field of view in whole degrees. ATAK-CIV default is 45.

Link copied to clipboard

Vertical FOV in whole degrees. null = not set / use horizontal FOV.

Link copied to clipboard

Free-form device model identifier ("FLIR-Boson-640"). null = unknown.

Link copied to clipboard

Maximum cone range in whole meters. null = not set on the wire — receivers should fall back to the ATAK-CIV default of 100. Tracks the proto's optional uint32 range_m so absence and explicit-zero / -100 remain distinguishable end-to-end.

Link copied to clipboard
val rollDeg: Int?

Roll angle in whole degrees, -180..+180. null = not set.

Link copied to clipboard