public class SensorRelativeRoll extends Object implements IUasDatalinkValue
From ST:
Relative roll angle of sensor to aircraft platform. Twisting angle of camera about lens axis. Top of image is zero degrees. Positive angles are clockwise when looking from behind camera.Map 0..(2^32-1) to 0..360
Resolution ~84 nano degrees
Constructor and Description |
---|
SensorRelativeRoll(byte[] bytes)
Create from encoded bytes.
|
SensorRelativeRoll(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 SensorRelativeRoll(double degrees)
degrees
- Sensor Relative Roll, in degrees [0,360]public SensorRelativeRoll(byte[] bytes)
bytes
- Sensor Relative Roll, encoded as a 4-byte unsigned intpublic double getDegrees()
public byte[] getBytes()
IUasDatalinkValue
getBytes
in interface IUasDatalinkValue
public String getDisplayableValue()
IKlvValue
getDisplayableValue
in interface IKlvValue
public String getDisplayName()
IKlvValue
getDisplayName
in interface IKlvValue
Copyright © 2022 West Ridge Systems. All rights reserved.