public final enum

DJIVirtualStickYawControlMode

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

Class Overview

Defines how manual yaw values are interpreted by the aircraft.

Summary

Enum Values
DJIVirtualStickYawControlMode  Angle  Sets the VirtualStickControlMode yaw values to be an angle relative to the front of the aircraft. 
DJIVirtualStickYawControlMode  AngularVelocity  Sets the VirtualStickControlMode yaw values to be an angular 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 DJIVirtualStickYawControlMode find(int b)
Returns the enum constant of this type with the input integer value.
int value()
Returns the real value of a enum constant.
static DJIVirtualStickYawControlMode valueOf(String name)
final static DJIVirtualStickYawControlMode[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final DJIVirtualStickYawControlMode Angle

Sets the VirtualStickControlMode yaw values to be an angle relative to the front of the aircraft. Positive and negative yaw angle is for the aircraft rotating clockwise and anticlockwise respectively. Maximum yaw angle is defined as DJIVirtualStickYawControlMaxAngle; Minimum yaw angle is defined as DJIVirtualStickYawControlMinAngle;

public static final DJIVirtualStickYawControlMode AngularVelocity

Sets the VirtualStickControlMode yaw values to be an angular velocity. Positive and negative angular velocity is for the aircraft rotating clockwise and anticlockwise respectively. Maximum yaw angular velocity is defined as DJIVirtualStickYawControlMaxAngularVelocity; Minimum yaw angular velocity is defined as DJIVirtualStickYawControlMinAngularVelocity;

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 DJIVirtualStickYawControlMode 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 a enum constant.

Returns
  • integer The real value.

public static DJIVirtualStickYawControlMode valueOf (String name)

public static final DJIVirtualStickYawControlMode[] values ()