java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | dji.common.flightcontroller.DJIVirtualStickYawControlMode |
Defines how manual yaw values are interpreted by the aircraft.
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
|
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;
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;
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 a enum constant.