java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.flightcontroller.DJIVirtualStickVerticalControlMode |
Defines how vertical control values are interpreted by the aircraft.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DJIVirtualStickVerticalControlMode | Position | Sets the VirtualStickControlMode vertical control values to be an altitude. | |||||||||
DJIVirtualStickVerticalControlMode | Velocity | Sets the Virtual Stick Control vertical control values to be a vertical velocity. |
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 DJIVirtualStickVerticalControlMode |
find(int b)
Returns the enum constant of this type with the input integer value.
| ||||||||||
int |
value()
Returns the real value of an enum constant.
| ||||||||||
static DJIVirtualStickVerticalControlMode | valueOf(String name) | ||||||||||
final static DJIVirtualStickVerticalControlMode[] | values() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Sets the VirtualStickControlMode vertical control values to be an altitude. Maximum position is defined as DJIVirtualStickVerticalControlMaxPosition. Minimum position is defined as DJIVirtualStickVerticalControlMinPosition.
Sets the Virtual Stick Control vertical control values to be a vertical velocity. Positive and negative vertical velocity is for the aircraft ascending and descending respectively. Maximum vertical velocity is defined as DJIVirtualStickVerticalControlMaxVelocity; Minimum vertical velocity is defined as DJIVirtualStickVerticalControlMinVelocity.
Returns the boolean result which compare the input integer value with the real value of a enum constant.
b | The input integer value |
---|
Returns the enum constant of this type with the input integer value.
b | The input integer value. |
---|
Returns the real value of an enum constant.