public class SensorRelativeElevation extends Object implements IUasDatalinkValue
From ST:
Relative Elevation Angle of sensor to platform longitudinal-transverse plane. Negative angles down.Map -(2^31-1)..(2^31-1) to +/-180. Use -(2^31) as an "error" indicator. -(2^31) = 0x80000000
Resolution ~84 nano degrees
| Constructor and Description |
|---|
SensorRelativeElevation(byte[] bytes)
Create from encoded bytes.
|
SensorRelativeElevation(double degrees)
Create from value.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes()
Get the encoded bytes.
|
double |
getDegrees()
Get the value in degrees.
|
String |
getDisplayableValue()
Return a string of the displayable value.
|
String |
getDisplayName()
Get the human-readable name for the value.
|
public SensorRelativeElevation(double degrees)
degrees - Sensor Relative Elevation, in degrees [-180,180], or Double.POSITIVE_INFINITY to represent "out of range"public SensorRelativeElevation(byte[] bytes)
bytes - Sensor Relative Elevation, encoded as a 4-byte intpublic double getDegrees()
public byte[] getBytes()
IUasDatalinkValuegetBytes in interface IUasDatalinkValuepublic String getDisplayableValue()
IKlvValuegetDisplayableValue in interface IKlvValuepublic String getDisplayName()
IKlvValuegetDisplayName in interface IKlvValueCopyright © 2022 West Ridge Systems. All rights reserved.