public final enum

DJIGimbalWorkMode

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ dji.common.gimbal.DJIGimbalWorkMode

Class Overview

Gimbal work modes.

Summary

Enum Values
DJIGimbalWorkMode  FpvMode  The gimbal's work mode is FPV mode. 
DJIGimbalWorkMode  FreeMode  The gimbal can move independently of the aircraft's yaw. 
DJIGimbalWorkMode  Unknown  The gimbal's work mode is unknown. 
DJIGimbalWorkMode  YawFollowMode  The gimbal's work mode is such that it will follow the yaw. 
Public Methods
boolean _equals(int b)
Returns the boolean result of comparing the specified integer value with the real value of an enum constant.
static DJIGimbalWorkMode find(int value)
Returns the enum constant of this type with the specified integer value.
int value()
Returns the real value of a enum constant.
static DJIGimbalWorkMode valueOf(String name)
final static DJIGimbalWorkMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJIGimbalWorkMode FpvMode

The gimbal's work mode is FPV mode. In this mode, the gimbal yaw will follow the aircraft's heading, the gimbal roll will follow the RC's roll channel value. The pitch will be available to move. This mode is only available for the Ronin MX when the M600 landing gear is retracted. Not supported by Osmo.

public static final DJIGimbalWorkMode FreeMode

The gimbal can move independently of the aircraft's yaw. In this mode, even if the aircraft yaw changes, the camera will continue pointing in the same world direction. This feature is supported by the X3, X5 and X5R camera gimbals and the Ronin MX. This mode is only available for the Ronin MX when the M600 landing gear is retracted.

public static final DJIGimbalWorkMode Unknown

The gimbal's work mode is unknown.

public static final DJIGimbalWorkMode YawFollowMode

The gimbal's work mode is such that it will follow the yaw. In this mode, the gimbal yaw will be fixed, while pitch and roll will be available to move.

Public Methods

public boolean _equals (int b)

Returns the boolean result of comparing the specified integer value with the real value of an enum constant.

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

public static DJIGimbalWorkMode find (int value)

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

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

public int value ()

Returns the real value of a enum constant.

Returns
  • integer The real value

public static DJIGimbalWorkMode valueOf (String name)

public static final DJIGimbalWorkMode[] values ()