public class WavelengthsList extends Object implements IUasDatalinkValue
From ST0601:
List of wavelength bands provided by sensor(s).The Wavelengths List is a list of information used by the on-board sensors which collect Motion Imagery. This item is a companion to Active Wavelength List (Item 121).
Table 14 shows predefined sensor records which support a set of common wavelengths used by sensors. The Active Wavelength List (Item 121) can use these predefined wavelength bands if they are sufficient for the given platform’s sensors. If a platform/sensor requires more specific or customized wavelength records, this item enables their definition. Any custom Wavelengths List records are sent at a minimum of once every 30 seconds. If the predefined wavelengths are sufficient for the platforms sensors there is no need to send a Wavelengths List item.
Table 14: Predefined Wavelength Information Records ID Min (nm) Max (nm) Name Description 1 380 750 VIS Visible light 2 750 100,000 IR Infrared 3 750 3000 NIR Near/Short Wave Infrared 4 3000 8000 MIR Mid-wave Infrared 5 8000 14000 LIR Long-wave Infrared 6 14000 100,000 FIR Far-Infrared A sensor wavelength record contains a numeric identifier (ID), min/max wavelengths, and a unique name for display on remote terminals, etc. The ID is a unique number for the wavelength record. Custom wavelength records begin at ID 21 and increment as needed. A custom wavelength record persists only for a given flight. The “Min” and “Max” wavelengths define the range of the band. The “Name” is a unique string describing the band. The sensor wavelength record does not include the “Description,” it is only in the table for informational purposes.
See the Motion Imagery Handbook Section 3.1 for information on these wavelengths and descriptions.
Constructor and Description |
---|
WavelengthsList(byte[] bytes)
Create from encoded bytes.
|
WavelengthsList(List<Wavelengths> wavelengths)
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.
|
List<Wavelengths> |
getWavelengthsList()
Get the list of wavelengths.
|
public WavelengthsList(List<Wavelengths> wavelengths)
wavelengths
- the list of wavelengths objects.public WavelengthsList(byte[] bytes) throws KlvParseException
bytes
- The byte array containing the variable length pack.KlvParseException
- if there is a problem during parsingpublic List<Wavelengths> getWavelengthsList()
This gets the live list, so it can also be used to add an entry, or to clear the list.
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.