Range And Bearing
data class RangeAndBearing(val anchorLatI: Int = 0, val anchorLonI: Int = 0, val anchorUid: String = "", val rangeCm: Int = 0, val bearingCdeg: Int = 0, val strokeColor: Int = 0, val strokeArgb: Int = 0, val strokeWeightX10: Int = 0) : TakPacketV2Data.Payload(source)
Range and bearing measurement line. Maps to RangeAndBearing proto at payload_variant tag 36. Anchor endpoint is absolute lat/lon, not a delta from the event point.
Constructors
Properties
Link copied to clipboard
Anchor endpoint latitude in degrees × 1e7 (absolute, not a delta).
Link copied to clipboard
Anchor endpoint longitude in degrees × 1e7 (absolute, not a delta).
Link copied to clipboard
Bearing in degrees * 100 (0..36000).
Link copied to clipboard
Exact 32-bit ARGB stroke bit pattern.
Link copied to clipboard
Team palette enum value, or AtakPalette.UNSPECIFIED for a custom color.
Link copied to clipboard
Stroke weight × 10 (e.g. 3.0 px → 30).