public final enum

DJIFlightControllerControlMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.common.flightcontroller.DJIFlightControllerControlMode

Class Overview

Control mode of the flight controller. It determines how the pilot can control the aircraft. It is only supported by A3. By default, it is in smart control mode.

Summary

Enum Values
DJIFlightControllerControlMode  Manual  Manual control mode. 
DJIFlightControllerControlMode  Smart  Smart control mode. 
DJIFlightControllerControlMode  Unknown  Unknown control mode. 
Public Methods
boolean _equals(int b)
Returns the boolean result which compare the input integer value with the real value of a enum constant.
static DJIFlightControllerControlMode find(int b)
Returns the enum constant of this type with the specified integer value.
int value()
Returns the real value of an enum constant.
static DJIFlightControllerControlMode valueOf(String name)
final static DJIFlightControllerControlMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJIFlightControllerControlMode Manual

Manual control mode. The aircraft will not stabilize its altitude and attitude in manual mode. This mode is for advanced pilots only, and should only be used when the pilot understands the risk of operating in this mode. Any damage to the product when operating in this mode will not be covered under warranty.

public static final DJIFlightControllerControlMode Smart

Smart control mode. The aircraft can stabilize its altitude and attitude in manual mode.

public static final DJIFlightControllerControlMode Unknown

Unknown control mode.

Public Methods

public boolean _equals (int b)

Returns the boolean result which compare the input integer value with the real value of a enum constant.

Parameters
b The input integer value.
Returns
  • boolean The compared result.

public static DJIFlightControllerControlMode find (int b)

Returns the enum constant of this type with the specified integer value.

Parameters
b The integer value.
Returns
  • DJICompassCalibrationStatus The enum constant of this type.

public int value ()

Returns the real value of an enum constant.

Returns
  • integer The real value.

public static DJIFlightControllerControlMode valueOf (String name)

public static final DJIFlightControllerControlMode[] values ()