public final enum

DJILandingGearMode

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

Class Overview

Current Mode of the Landing Gear

Summary

Enum Values
DJILandingGearMode  Auto  Landing Gear automatically transitions between deployed and retracted depending on altitude. 
DJILandingGearMode  Normal  Landing Gear can be deployed and retracted through function calls. 
DJILandingGearMode  OTHER  Landing Gear is in an unknown mode. 
DJILandingGearMode  Transport  Landing Gear is in transport mode (either it is moving into, moving out of, or stopped in transport position). 
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 DJILandingGearMode 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 DJILandingGearMode valueOf(String name)
final static DJILandingGearMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJILandingGearMode Auto

Landing Gear automatically transitions between deployed and retracted depending on altitude. During take-off, the transition point is 1.2m above ground. After take-off (during flight or when landing), the transition point is 0.5m above ground. It is supported by Inspire 1, Matrice 600, Matrice 600 Pro and Inspire 2.

public static final DJILandingGearMode Normal

Landing Gear can be deployed and retracted through function calls. It is supported by Inspire 1, Matrice 600, Matrice 600 Pro and Inspire 2.

public static final DJILandingGearMode OTHER

Landing Gear is in an unknown mode.

public static final DJILandingGearMode Transport

Landing Gear is in transport mode (either it is moving into, moving out of, or stopped in transport position). It is only supported by Inspire 1 and Inspire 2.

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 DJILandingGearMode find (int b)

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

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

public int value ()

Returns the real value of an enum constant.

Returns
  • integer The real value.

public static DJILandingGearMode valueOf (String name)

public static final DJILandingGearMode[] values ()