public final enum

DJIVirtualStickVerticalControlMode

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

Class Overview

Defines how vertical control values are interpreted by the aircraft.

Summary

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

Enum Values

public static final DJIVirtualStickVerticalControlMode Position

Sets the VirtualStickControlMode vertical control values to be an altitude. Maximum position is defined as DJIVirtualStickVerticalControlMaxPosition. Minimum position is defined as DJIVirtualStickVerticalControlMinPosition.

public static final DJIVirtualStickVerticalControlMode Velocity

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.

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

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

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

public int value ()

Returns the real value of an enum constant.

Returns
  • integer The real value.

public static DJIVirtualStickVerticalControlMode valueOf (String name)

public static final DJIVirtualStickVerticalControlMode[] values ()