class AircraftYawActionError
class AircraftYawActionError extends DJIError
|
Package: | dji.sdk.mission.error |
Inherits From: | DJIError |
Description:
The error domain used to describe errors produced by the AircraftYawAction
object.
Class Members:
Members
final INVALID_ROTATION_SPEED
static final AircraftYawActionError INVALID_ROTATION_SPEED = new AircraftYawActionError("Rotation speed value set is not within valid range. [0-100]")
|
Package: | dji.sdk.mission.error |
Description:
Set rotation speed is not within valid range [0, 100].
final INVALID_ANGLE_VALUE
static final AircraftYawActionError INVALID_ANGLE_VALUE = new AircraftYawActionError("Angle value set is not within valid range [-180, 180]")
|
Package: | dji.sdk.mission.error |
Description:
Set angle value is not within valid range [-180, 180].
final CANNOT_RUN_VIRTUAL_STICK
static final AircraftYawActionError CANNOT_RUN_VIRTUAL_STICK = new AircraftYawActionError("Aircraft cannot execute virtual stick commands")
|
Package: | dji.sdk.mission.error |
Description:
Aircraft currently in virtual sticks mode.
Inherited Methods:
dji.common.error.DJIError
method
method getDJIError
static DJIError getDJIError(int errorCode)
|
Description:
Returns the specific error in the DJIFlightHubError
according to the error code.
Return:
static DJIError | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
method getDJIError
static DJIError getDJIError(int errorCode)
|
Description:
Get DJIUTMISSError.
int errorCode | An int value of error code. |
Return:
method getDescription
Description:
Returns the description of the error code.
Return:
String | The description of the error code. |
method setDescription
void setDescription(String desc)
|
Description:
Sets the description for the error code.
String desc | Description string. |