public class RangeToRecoveryLocation extends Object implements IUasDatalinkValue
From ST:
Distance from current position to airframe recovery position.The Range To Recovery Location is the minimum distance from the current aircraft position to the aircraft recovery position. The distance is computed over the surface of the earth at the given altitude of the aircraft (i.e., not a straight-line distance potentially through the earth). The furtherst distance is a point on the opposite side of the earth, at the given altitude.
Resolution: 2 bytes = 1 KM, 3 bytes = 3.9 meters, 4 bytes = 1.525 cm
| Constructor and Description |
|---|
RangeToRecoveryLocation(byte[] bytes)
Create from encoded bytes.
|
RangeToRecoveryLocation(double range)
Create from value.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Get the encoded bytes.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
double |
getRange()
Get range.
|
public RangeToRecoveryLocation(double range)
range - range to recovery location in km. Valid range is [0..21000]public RangeToRecoveryLocation(byte[] bytes)
bytes - IMAPB Encoded byte arraypublic double getRange()
public byte[] getBytes()
IUasDatalinkValuegetBytes in interface IUasDatalinkValuepublic String getDisplayableValue()
IKlvValuegetDisplayableValue in interface IKlvValuepublic final String getDisplayName()
IKlvValuegetDisplayName in interface IKlvValueCopyright © 2022 West Ridge Systems. All rights reserved.