public class WaypointList extends Object implements IUasDatalinkValue
From ST:
List of waypoints and their status.Waypoints are a series of aircraft destinations used to navigate the aircraft to certain locations. Waypoints are typically included in a flight plan and known at the beginning of a mission; however, depending on real-time events and information, the plan may change. Several types of changes are possible throughout the lifecycle of a mission: the waypoint order changes; cancellation of a waypoint; and adding ad hoc waypoints.
The Waypoint List is a list of Waypoint Records encoded as a Variable Length Pack (VLP) to support waypoint management. A Waypoint Record contains: Waypoint ID, Prosecution Order, Info Value, and Location.
See the Waypoint data transfer object documentation for description of the components within a Waypoint.
| Constructor and Description |
|---|
WaypointList(byte[] bytes)
Create from encoded bytes.
|
WaypointList(List<Waypoint> waypoints)
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<Waypoint> |
getWaypoints()
Get the waypoints that make up this waypoint list.
|
public WaypointList(List<Waypoint> waypoints)
waypoints - list of Waypoint valuespublic WaypointList(byte[] bytes)
throws KlvParseException
bytes - Waypoint List, byte array with Variable Length Pack encodingKlvParseException - if there is a problem when parsing the structurepublic List<Waypoint> getWaypoints()
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.