Skip to main content

Mission route action enumeration definition class.

class MissionConfig

Description:Route generation file related parameter definition.

public class MissionConfig {
/**
* The mission id, which is defined by the caller, and the task follow-up will be based on this information.
*/
public int id;
/*** Relative altitude or altitude (m) */
public MissionAltitudeType altitudeType;
/**
* mission type
*/
public MissionType type;
/**
* Execute the action after the mission is completed.
*/
public MissionFinishActionType finishAction;
/**
* Execute the action after the image transmission is disconnected.
*/
public RemoteControlLostSignalAction lossAction;
/**
* Obstacle avoidance mode
*/
public ObstacleType obstacleMode;

/**
* Lateral Obstacle Avoidance: 0: Off; 1: On
*/
public int sideObstacle;
/**
* Whether to enable double grid
*/
public boolean doubleGrid;
/**
* Elevation optimization
*/
public boolean altOptim;
/**
* Number of points of interest
*/
@Deprecated
public int poiNum;

/**
* Minimum obstacle distance, unit:cm
*/
public int Min_OA_Dist;

/**
* camera field of view
*/
public float vFov;
/**
* gimbal yaw angle
*/
public float yawRef;
/**
* gimbal pitch angle
*/
public float gimbalPitch;
/**
* course overlap rate
*/
public float courseRate;

/**
* Default camera action
*/
public CameraAction defaultAction;
}

Description:Route generation file related parameter definition class.