java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.flightcontroller.DJILandingGearMode |
Current Mode of the Landing Gear
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
|
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.
Landing Gear can be deployed and retracted through function calls. It is supported by Inspire 1, Matrice 600, Matrice 600 Pro and Inspire 2.
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.
Returns the boolean result of comparing the specified integer value with the real value of an enum constant.
b | The input integer value. |
---|
Returns the enum constant of this type with the specified integer value.
b | The integer value. |
---|
Returns the real value of an enum constant.