Skip to main content

A route definition class in a waypoint task.

class PathResultLine

Description:A route definition in a waypoint mission.

public class PathResultLine {

/** Waypoint type, 1 for stop point, 2 for coordinated turn */
public short WPTypeExe;

/** Coordinates of starting point, latitude and longitude */
public double[] WPPrevLLAExe;//3

/** End point coordinates, latitude,longitude and attitude */
public double[] WPCurrLLAExe;//3

/** Center coordinates, latitude and longitude */
public double[] WPCentLLAExe;//3

/** Waypoint speed */
public double VelRef_FP;

/** next waypoint speed */
public double VelRefNxt_FP;

/** Waypoint altitude priority, 1 means the current highest, 0 means equal priority, -1 means the current lowest*/
public short AltPrio_FP;

/** route length */
public double FP_length;

/** Route estimated flight time */
public double T_curr;

/** In this waypoint, the action orientation mode, 1 means coordinated turn, 2 means manual, 3 means custom */
public short Heading_Mode_FP;

/** Whether the point of interest is valid, -1 means no point of interest, 1 means point of interest */
public short POI_Valid_FP;

/** The coordinates of interesting point, latitude,longitude and attitude.*/
public double[] POI_FP;//3

/** The total number of actions for this waypoint */
public short ActionNum_FP;

/* The type of emergency action for the first waypoint of each flight segment. 0 is no action, 1 is hovering, 2 is landing, 3 is returning home*/
public short EmgAct_FP;

/** Waypoint actions (11) Actual ActionNum_FP+1, the last one is the first action of the next waypoint. */
public PathResultCameraAction[] MSN_ActionInfo;//11
}

Description:A route definition in a waypoint mission.