@interface NSError (DJISDK) |
Header: | NSError+DJISDK.h |
NSError's DJISDK category. It contains methods to create custom NSErrors.
+ (_Nullable instancetype)DJISDKErrorForCode:(NSInteger)errorCode |
Header: | NSError+DJISDK.h |
Get DJISDKError.
NSInteger errorCode | errorCode for DJISDKError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJISDKCameraErrorForCode:(NSInteger)errorCode |
Header: | NSError+DJISDK.h |
Get DJISDKCameraError.
NSInteger errorCode | errorCode for DJISDKCameraError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJISDKFlightControllerErrorForCode:(NSInteger)errorCode |
Header: | NSError+DJISDK.h |
Get DJISDKFlightControllerError.
NSInteger errorCode | errorCode for DJISDKFlightControllerError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJISDKMissionErrorForCode:(NSInteger)errorCode |
Header: | NSError+DJISDK.h |
Get DJISDKMissionError.
NSInteger errorCode | errorCode for DJISDKMissionError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJISDKRegistrationErrorForCode:(DJISDKRegistrationError)errorCode |
Header: | NSError+DJISDK.h |
Get DJISDKRegistrationError.
DJISDKRegistrationError errorCode | errorCode for DJISDKRegistrationError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJISDKFlySafeErrorForCode:(DJISDKFlySafeError)errorCode |
Header: | NSError+DJISDK.h |
Get DJISDKFlySafeError.
DJISDKFlySafeError errorCode | errorCode for DJISDKFlySafeError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJISDKFlightHubErrorForCode:(DJISDKFlightHubError)errorCode |
Header: | NSError+DJISDK.h |
Returns the specific error in the DJISDKFlightHubError
according to the error code.
DJISDKFlightHubError errorCode | errorCode for DJISDKFlightHubError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJIRTKNetworkServiceErrorForCode:(DJIRTKNetworkServiceError)errorCode |
Header: | NSError+DJISDK.h |
Get DJIRTKNetworkServiceError.
DJIRTKNetworkServiceError errorCode | errorCode for DJIRTKNetworkServiceError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJIAccessoryAggregationErrorForCode:(DJIAccessoryAggregationError)errorCode |
Header: | NSError+DJISDK.h |
Get DJIAccessoryAggregationError.
DJIAccessoryAggregationError errorCode | errorCode for DJIAccessoryAggregationError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJIAccessLockerErrorForCode:(DJIAccessLockerError)errorCode |
Header: | NSError+DJISDK.h |
Get DJIAccessoryLockerError.
DJIAccessLockerError errorCode | errorCode for DJIAccessLockerError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJIPayloadErrorForCode:(DJIPayloadError)errorCode |
Header: | NSError+DJISDK.h |
Get DJIAccessoryLockerError.
DJIPayloadError errorCode | errorCode for DJIPayloadError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJIUpgradeErrorForCode:(DJIUpgradeError)errorCode |
Header: | NSError+DJISDK.h |
Get DJIUpgradeError.
DJIUpgradeError errorCode | Error code for DJIUpgradeError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJISDKWaypointV2ErrorForCode:(DJIWaypointV2Error)errorCode |
Header: | NSError+DJISDK.h |
Get DJIWaypointV2Error.
DJIWaypointV2Error errorCode | Error code for DJISDKWaypointV2ErrorForCode . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJIPipelineErrorForCode:(DJIPipelineError)errorCode |
Header: | NSError+DJISDK.h |
Gets the DJIPipelineError.
DJIPipelineError errorCode | Error code for DJIPipelineError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJIUTMISSErrorForCode:(DJIUTMISSError)errorCode |
Header: | NSError+DJISDK.h |
Get DJIUTMISSError.
DJIUTMISSError errorCode | Error code for DJIUTMISSError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJISDKLDMErrorForCode:(DJILDMError)errorCode |
Header: | NSError+DJISDK.h |
Get DJILDMError.
DJILDMError errorCode | Error code for DJILDMError . |
_Nullable instancetype | An NSError object initialized with errorCode. If the errorCode was 0, returns nil. |
+ (_Nullable instancetype)DJISDKErrorForCode:(NSInteger)errorCode domain:(NSString *_Nonnull)errorDomain desc:(const NSString *_Nonnull)desc |
Header: | NSError+DJISDK.h |
Get DJISDKError.
NSInteger errorCode | Error code for DJISDKError . |
NSString *_Nonnull errorDomain | Domain for DJISDKError . |
const NSString *_Nonnull desc | Description for DJISDKError . |
_Nullable instancetype | An NSError object initialized with errorCode, errorDomain and desc. |
FOUNDATION_EXPORT NSString * _Nonnull const DJISDKErrorDomain |
Header: | NSError+DJISDK.h |
SDK common error domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJISDKCameraErrorDomain |
Header: | NSError+DJISDK.h |
SDK camera error domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJISDKMissionErrorDomain |
Header: | NSError+DJISDK.h |
SDK mission error domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJISDKBatteryErrorDomain |
Header: | NSError+DJISDK.h |
SDK battery error domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJISDKGimbalErrorDomain |
Header: | NSError+DJISDK.h |
SDK gimbal error domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJISDKFlightControllerErrorDomain |
Header: | NSError+DJISDK.h |
SDK flight controller domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJISDKRemoteControllerErrorDomain |
Header: | NSError+DJISDK.h |
SDK remote controller domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJISDKRegistrationErrorDomain |
Header: | NSError+DJISDK.h |
SDK registration error domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJISDKFlySafeErrorDomain |
Header: | NSError+DJISDK.h |
SDK GEO error domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJISDKFlightHubErrorDomain |
Header: | NSError+DJISDK.h |
SDK FlightHub error domain.
FOUNDATION_EXPORT NSString *_Nonnull const DJITakeOffActionErrorDomain |
Header: | NSError+DJISDK.h |
The error domain used to describe errors produced by the DJITakeOffAction
object.
FOUNDATION_EXPORT NSString *_Nonnull const DJIRTKNetworkServiceErrorDomain |
Header: | NSError+DJISDK.h |
The error domain used to describe errors produced by the DJIRTKNetworkServiceProvider
.
FOUNDATION_EXPORT NSString *_Nonnull const DJIAccessoryAggregationErrorDomain |
Header: | NSError+DJISDK.h |
The error domain used to describe errors produced by the DJIAccessoryAggregation
object.
FOUNDATION_EXPORT NSString *_Nonnull const DJIAccessLockerErrorDomain |
Header: | NSError+DJISDK.h |
The error domain used to describe errors produced by the DJIAccessLocker
object.
FOUNDATION_EXPORT NSString *_Nonnull const DJIPipelineErrorDomain |
Header: | NSError+DJISDK.h |
Defines the domain of "Pipeline" error.
typedef NS_ENUM(NSInteger, DJISDKFlySafeError) |
Header: | NSError+DJISDK.h |
DJI SDK GEO Error.
typedef NS_ENUM(NSInteger, DJISDKFlightHubError) |
Header: | NSError+DJISDK.h |
DJI SDK FlightHub Error.
typedef NS_ENUM(NSInteger, DJITakeOffActionError) |
Header: | NSError+DJISDK.h |
Error codes for errors specific to DJITakeOffActionErrorDomain
.
DJITakeOffActionErrorMotorsAlreadyOn | Motors should be off before Take-off action is executed. |
DJITakeOffActionErrorUnknown | Unknown. |
typedef NS_ENUM(NSInteger, DJIRTKNetworkServiceError) |
Header: | NSError+DJISDK.h |
Errors related to RTK network services.
DJIRTKNetworkServiceErrorAuthenticationFailure | The authentication failed when trying to access to the server. |
DJIRTKNetworkServiceErrorInvalidSettings | Network settings are not configured yet or invalid. |
DJIRTKNetworkServiceErrorAlreadyStarted | The service is already started. Stop it first to re-start the service. |
DJIRTKNetworkServiceErrorInvalidGPSData | The GPS location of the aircraft is invalid. The RTK network service requires the location of the air system. |
DJIRTKNetworkServiceErrorIncorrectReferenceStationSource | Please choose correct reference station srouce. |
DJIRTKNetworkServiceErrorAccountNotLoginOrExpired | No logged in account or the login session has expired, please login DJI Account and try again. |
DJIRTKNetworkServiceErrorAccountUnactivated | Account not activated, please contact DJI Support. Use activateNetworkServiceWithPlanType:completion to activate your account. |
DJIRTKNetworkServiceErrorInvalidRequest | Invalid request for the RTK service. Please check if the network RTK service is purchased or activated. After purchasing, within 3 minutes, you might also get this error. |
DJIRTKNetworkServiceErrorServerNotReachable | Unable to connect to server. |
DJIRTKNetworkServiceErrorAccountError | Unknown account error, please contact DJI Support. |
DJIRTKNetworkServiceErrorMissingHelperFramework | Please add the "DJINetworkRTKHelper.framework" to the project by using Cocoapods (https://cocoapods.org/pods/DJINetworkRTKHelper) to use the network RTK. |
DJIRTKNetworkServiceErrorStartScanFailedForAircraftIsFlying | Cannot scan for a base station while the aircraft is flying. |
typedef NS_ENUM(NSInteger, DJIAccessoryAggregationError) |
Header: | NSError+DJISDK.h |
Errors related to accessories on the aircraft (e.g. spotlights, speakers).
typedef NS_ENUM(NSInteger, DJIAccessLockerError) |
Header: | NSError+DJISDK.h |
Errors related to the access locker.
typedef NS_ENUM(NSInteger, DJIPayloadError) |
Header: | NSError+DJISDK.h |
Errors related to the payload.
DJIPayloadErrorInvalidFormatOfWidgetConfiguration | The format of widget configuration is invalid. |
DJIPayloadErrorCommandCannotBeExecutedInCurrentMode | The command cannot be executed in current payload mode. See DJIPayloadProductPhase . |
DJIPayloadErrorCommandDeviceShouldUsePayloadInterface | Device does not support this method, it can connect the aircraft automatically. |
typedef NS_ENUM(NSInteger, DJIUTMISSError) |
Header: | NSError+DJISDK.h |
Errors related to the UTMISS.
typedef NS_ENUM(NSInteger, DJILDMError) |
Header: | NSError+DJISDK.h |
Errors related to the LDM.
typedef NS_ENUM(NSInteger, DJIUpgradeError) |
Header: | NSError+DJISDK.h |
Errors related to the upgrade.
DJIUpgradeErrorInWifiLink | Cannot upgrade when using DJIWiFiLink . |
DJIUpgradeErrorDoNotNeedConsistentUpgrade | Versions are consistent. No need to upgrade. |
typedef NS_ENUM(NSInteger, DJIWaypointV2Error) |
Header: | NSError+DJISDK.h |
Errors related to the payload.
DJIWaypointV2ErrorMissionCountOverRange | The mission waypoint count is larger than max waypoint count 65535. |
DJIWaypointV2ErrorMissionCountTooFew | The mission waypoint count is less than min waypoint count 2. |
DJIWaypointV2ErrorMissionMaxFlightSpeedInvalid | The mission maxFlightSpeed is greater than 15m/s or less than 2m/s. See maxFlightSpeed . |
DJIWaypointV2ErrorMissionAutoFlightSpeedInvalid | The mission autoFlightSpeed is greater than maxFlightSpeed . |
DJIWaypointV2ErrorMissionGotoFirstWaypointModeInvalid | The mission gotoFirstWaypointMode is out of range of DJIWaypointV2MissionGotoFirstWaypointMode . |
DJIWaypointV2ErrorMissionFinishedActionInvalid | The mission finishedAction is out of range of DJIWaypointV2MissionFinishedAction . |
DJIWaypointV2ErrorMissionExitMissionOnRCSignalLostInvalid | The mission exitMissionOnRCSignalLost is invalid. |
DJIWaypointV2ErrorMissionAlreadyExecuting | There is already a mission executing when trying to upload a new mission. |
DJIWaypointV2ErrorUploadWaypointCountOverMissionWaypointCount | The upload waypoint count is bigger than mission waypoint count. |
DJIWaypointV2ErrorMissionWaypointDistanceTooClose | Waypoint is too close to two adjacent waypoints. The min distance is 0.5m. |
DJIWaypointV2ErrorMissionWaypointDistanceToFar | Waypoint is too far from two adjacent waypoints, The max distance is 5km. |
DJIWaypointV2ErrorMissionWaypointMaxFlightSpeedOverMissionMaxFlightSpeed | The upload waypoints have a maxFlightSpeed is greater than maxFlightSpeed waypoint. |
DJIWaypointV2ErrorWaypointAutoFlightSpeedOverWaypointMaxFlightSpeed | The upload waypoint has a autoFlightSpeed is greater than maxFlightSpeed waypoint. |
DJIWaypointV2ErrorWaypointAutoFlightSpeedOverMissionMaxFlightSpeed | The upload waypoints have a autoFlightSpeed is greater than maxFlightSpeed waypoint. |
DJIWaypointV2ErrorWaypointHeadingModeInvalid | The waypoint headingMode is invalid. |
DJIWaypointV2ErrorWaypointHeadingInvalid | The waypoint heading is invalid. See heading . |
DJIWaypointV2ErrorWaypointTurnModeInvalid | The waypoint turnMode is invalid. |
DJIWaypointV2ErrorWaypointFlightPathModeInvalid | The waypoint flightPathMode is invalid. |
DJIWaypointV2ErrorWaypointDampingDistanceInvalid | The waypoint dampingDistance is greater than or equal to the distance of adjacent waypoint. |
DJIWaypointV2ErrorLastWaypointFlightPathModeInvalid | The waypoint flightPathMode is invalid for last waypoint. |
DJIWaypointV2ErrorUploadWaypointIndexNotContinue | The index of upload waypoint is not continue after the stored waypoint. |
DJIWaypointV2ErrorFirstWaypointFlightPathModeInvalid | The waypoint flightPathMode is invalid for first waypoint. |
DJIWaypointV2ErrorWaypointCoordinateInvalid | The waypoint position coordinate exceeds rational range. |
DJIWaypointV2ErrorExceedFlyingRadiusLimit | The waypoint position exceeds radius limit. |
DJIWaypointV2ErrorExceedFlyingHeightLimit | The waypoint position exceeds height limit. |
DJIWaypointV2ErrorSDKVersionNotMatched | The version of the SDK doesn't match the firmware version. |
DJIWaypointV2ErrorDownloadMissionRangeOverStorageCount | The index of first and last waypoint expected to download is not in range of waypoints stored in aircraft. |
DJIWaypointV2ErrorNoMissionUploadedInAircraft | There is no mission uploaded in aircraft. |
DJIWaypointV2ErrorDownloadWaypointNotUploaded | The mission info is not uploaded yet. |
DJIWaypointV2ErrorAircraftCurrentPostionToFirstWaypointTooFar | The aircraft current position is too far away from the first waypoint. |
DJIWaypointV2ErrorUploadedWaypointsTooFew | The uploaded waypoints are too few. |
DJIWaypointV2ErrorNoMissionExecuting | There is no mission executing. |
DJIWaypointV2ErrorMissionAlreadyStarted | The mission has already started by calling startMissionWithCompletion . |
DJIWaypointV2ErrorMissionAlreadyStopped | The mission has already stopped by calling stopMissionWithCompletion . |
DJIWaypointV2ErrorNoExecutingMissionToRecover | There is no executing mission to recover when calling recoverMissionWithCompletion . |
DJIWaypointV2ErrorMissionAlreadyInterrupted | The mission has already been interrupted by calling interruptMissionWithCompletion . |
DJIWaypointV2ErrorRecoverNoRecordedPoint | There is no waypoint recorded to recover the mission when recoverMissionWithCompletion is called. |
DJIWaypointV2ErrorAircraftFlyingStatusError | The aircraft flying status is bad. |
DJIWaypointV2ErrorAircraftStateHomePointNotRecord | The aircraft home point is not recorded yet. |
DJIWaypointV2ErrorAircraftGPSSignalWeak | The aircraft GPS signal is weak. |
DJIWaypointV2ErrorAircraftRTKNotReady | The aircraft RTK is not ready. |
DJIWaypointV2ErrorMissionCrossNoFlyZone | The mission is across the no-fly zone. |
DJIWaypointV2ErrorAircraftLowBattery | The aircraft battery is low. |
DJIWaypointV2ErrorUploadedActionIdDuplicated | The uploaded action ID is duplicated. |
DJIWaypointV2ErrorActionStorageNotEnough | There is not enough space to store actions in aircraft. |
DJIWaypointV2ErrorDownloadActionsFailed | Download actions failed. |
DJIWaypointV2ErrorUploadActionTriggerTypeInvalid | The upload action trigger type is invalid. |
DJIWaypointV2ErrorActionAssociateTriggerTypeInvalid | The action associate trigger actionAssociatedType is invalid. |
DJIWaypointV2ErrorActionIntervalTriggerTypeInvalid | The action associate trigger actionIntervalType is invalid. |
DJIWaypointV2ErrorActionActuatorNotSupport | The action actuator is not supported. |
DJIWaypointV2ErrorActionActuatorTypeInvalid | The action actuator type is invalid. |
DJIWaypointV2ErrorActionActuatorOperationTypeInvalid | The action actuator operation type is invalid. See operationType or operationType or operationType . |
DJIWaypointV2ErrorActionActuatorGimbalParamInvalid | The action gimbal actuator parameters are invalid. |
DJIWaypointV2ErrorActionRotateGimbalFailed | The action actuator rotate gimbal failed. |
DJIWaypointV2ErrorActionStopGimbalUniformControlFailed | Gimbal is not mounted or unable to execute stop rotation command. |
DJIWaypointV2ErrorActionFlightTypeNotSupportHover | The current waypoint type(Coordinated turn or Curved route Aircraft continues) does not support setting the action when the waypoint is reached. |
DJIWaypointV2ErrorActionRotateAircraftYawParamInvalid | The action DJIWaypointV2AircraftControlParam parameters are invalid. |
DJIWaypointV2ErrorActionActuatorCameraSendSingleShotCmdFail | Failed to send shoot photo command to camera cause of no camera or camera is busy. |
DJIWaypointV2ErrorActionActuatorCameraSendVideoStartCmdFail | Failed to send start record command to camera cause of no camera or camera is busy. |
DJIWaypointV2ErrorActionActuatorCameraSendVideoStopCmdFail | Failed to send video stop command to camera cause of no camera or camera is not busy. |
DJIWaypointV2ErrorActionActuatorCameraFocusParamXYInvalid | Camera focus param xy exceed valid range [0, 1]. |
DJIWaypointV2ErrorActionActuatorCameraSendForcusCmdFail | Failed to send camera focus command cause of no camera or camera is busy. |
DJIWaypointV2ErrorActionActuatorCameraSendFocalizeCmdFail | Failed to send camera zoom command cause of no camera or camera is busy. |
DJIWaypointV2ErrorActionActuatorCameraFocalDistanceInvalid | Illegal zoom focal length. |
DJIWaypointV2ErrorActionRotateAircraftYawFailed | The action actuator rotate aircraft yaw execute failed. |
DJIWaypointV2ErrorActionAircraftStartStopFlyFailed | The action actuator aircraft start or stop fly execute failed. For example: when the aircraft is flying, an error will occur when the isStartFlying (TRUE) action is executed. You should execute isStartFlying (FALSE) first. |
DJIWaypointV2ErrorActionActuatorAndTriggerDoNotMatch | The action actuator and the trigger type do not match. |
DJIWaypointV2ErrorMissionWaypointInterruptReasonAvoid | The waypoint mission is interrupted by by obstacle avoidance system. |
DJIWaypointV2ErrorMissionWaypointInterruptReasonAvoidRadiusLimit | The waypoint mission is interrupted because of radius limit. |
DJIWaypointV2ErrorMissionWaypointInterruptReasonAvoidHeightLimit | The waypoint mission is interrupted because of height limit. |
DJIWaypointV2ErrorMissionWaypointInterruptReasonAvoidRTKUnhealthy | The waypoint mission is interrupted because of RTK week signal. |
DJIWaypointV2ErrorMissionWaypointInterruptReasonAvoidUserReqBreak | The waypoint mission is interrupted because of user request. |
DJIWaypointV2ErrorMissionWaypointCommandCannotExecute | Command cannot execute. |
DJIWaypointV2ErrorMissionWaypointCommandExecutionFailed | Command execution failed. |
DJIWaypointV2ErrorMissionWaypointInvalidParameters | Invalid parameters. |
DJIWaypointV2ErrorMissionWaypointCommonTimeout | Common timeout. |
DJIWaypointV2ErrorMissionWaypointProductConnectFailed | Product connection failed. |
DJIWaypointV2ErrorMissionWaypointSystemBusy | System busy. |
DJIWaypointV2ErrorMissionWaypointOperationCancelByUser | Operation cancel by user. |
DJIWaypointV2ErrorMissionWaypointUploadMediaFileFailed | Upload media file failed. |
DJIWaypointV2ErrorMissionWaypointSdrReserveFailed | SDR reserve failed. |
DJIWaypointV2ErrorMissionWaypointCheckPhotoStoragePackError | Check photo storage pack error. |
DJIWaypointV2ErrorMissionWaypointSdrLinkReserveFailedCauseMotorOn | SDR link reserve failed because motor is on. |
DJIWaypointV2ErrorMissionWaypointTrajectoryReplayInvalidLocation | The trajectory replay's location is invalid. |
DJIWaypointV2ErrorMissionWaypointTrajectoryReplayNoWaypointToRemove | The trajectory replay has no waypoint to remove. |
DJIWaypointV2ErrorMissionWaypointTrajectoryReplayGimbalAttiError | The trajectory replay's gimbal attitude has error. |
DJIWaypointV2ErrorMissionWaypointInvalidInputDataFCLength | Data transmission does not match protocols. |
DJIWaypointV2ErrorMissionWaypointInvalidInputDataFloatNumber | Invalid floating number. |
DJIWaypointV2ErrorMissionEndIndexInvalid | Last waypoint index is invalid. |
DJIWaypointV2ErrorMissionReferenceLocationInvalid | Invalid reference location point, please check your aircraft location with your waypoints. |
DJIWaypointV2ErrorMissionWaypointIndexInvalid | Invalid waypoint index, please check your waypoint index with waypoint count. |
DJIWaypointV2ErrorMissionWaypointStartIndexNotInEndOfLastUpload | The upload waypoint start index isn't in the given range. |
DJIWaypointV2ErrorMissionControlStartStopInvalid | The aircraft start waypoint is too far away from the stop waypoint. |
DJIWaypointV2ErrorMissionControlPauseResumeInvalid | Invalid pause resume operation. |
DJIWaypointV2ErrorMissionControlInterruptRecoverInvalid | Invalid interrupt recover operation. |
DJIWaypointV2ErrorMissionControlMissionAlreadyPaused | The mission is already paused. |
DJIWaypointV2ErrorMissionControlNoRunningMissionForResume | The mission cannot resume because it is not running. |
DJIWaypointV2ErrorMissionControlNotSupportPauseResume | The mission cannot be paused or resumed now. |
DJIWaypointV2ErrorMissionControlNotSupportInterruptResume | The mission cannot be interrupted or recovered now. |
DJIWaypointV2ErrorRecoverNoCurrentProjectionPoint | No recorded waypoint for recovery currently. |
DJIWaypointV2ErrorRecoverNoNextProjectionPoint | No recorded waypoint for next waypoint recovery. |
DJIWaypointV2ErrorRecoverNoNextTwoProjectionPoint | No recorded waypoint for next 2 waypoint recovery. |
DJIWaypointV2ErrorUploadActionTriggerReachEndIndexLessStartIndex | Uploaded reach trigger invalid. |
DJIWaypointV2ErrorUploadActionTriggerReachIntervalCountInvalid | Uploaded reach trigger invalid. |
DJIWaypointV2ErrorUploadActionTriggerReachAutoTerminateInvalid | Uploaded reach trigger invalid. |
DJIWaypointV2ErrorUploadActionActuatorSprayExternalSprayModeInvalid | Uploaded spray actuator is invalid. |
DJIWaypointV2ErrorUploadActionActuatorSprayFlowSpeedInvalid | Uploaded spray actuator is invalid. |
DJIWaypointV2ErrorUploadActionActuatorSprayFlowSpeedPreMuInvalid | Uploaded spray actuator is invalid. |
DJIWaypointV2ErrorActionActuatorPayloadFailToSendCMDToPayload | Uploaded payload actuator is invalid. |
DJIWaypointV2ErrorActionActuatorPayloadExecFailed | Uploaded payload actuator is invalid. |
typedef NS_ENUM(NSInteger, DJIPipelineError) |
Header: | NSError+DJISDK.h |
Errors related to the DJIPipelines
.
typedef NS_ENUM (NSInteger, DJISDKMissionError) |
Header: | NSError+DJISDK.h |
DJI SDK Mission Error.
typedef NS_ENUM (NSInteger, DJISDKFlightControllerError) |
Header: | NSError+DJISDK.h |
DJI SDK Flight Controller Error.
DJISDKFlightControllerErrorModeError | Mode error. |
DJISDKFlightControllerErrorNearHomePoint | Aircraft too close to the home point. |
DJISDKFlightControllerErrorRunningMission | Aircraft currently running a mission. |
DJISDKFlightControllerErrorRunningVirtualStick | Aircraft currently running virtual stick. |
DJISDKFlightControllerErrorAircraftNotInTheAir | Aircraft not in the air. |
DJISDKFlightControllerErrorFlightLimited | Aircraft flight limited. |
DJISDKFlightControllerErrorGPSSignalWeak | GPS level is not high enough to allow flight controller to obtain accurate location. |
DJISDKFlightControllerErrorLowBattery | Aircraft low battery. |
DJISDKFlightControllerErrorHomePointNotRecorded | Aircraft home point not recorded. |
DJISDKFlightControllerErrorTakingOff | Aircraft taking off. |
DJISDKFlightControllerErrorLanding | Aircraft landing. |
DJISDKFlightControllerErrorGoingHome | Aircraft going home. |
DJISDKFlightControllerErrorStartingEngine | Aircraft starting engine. |
DJISDKFlightControllerErrorInNoFlyZone | Aircraft in a no fly zone. |
DJISDKFlightControllerErrorMotorsStarted | Command can not be executed because the motors started. |
DJISDKFlightControllerErrorGimbalNotRemoved | Aircraft could not enter transport mode, since the gimbal is still connected. |
DJISDKFlightControllerErrorCannotTurnOffMotorsWhileAircraftFlying | The aircraft is flying. For safety consideration, the motors could not be shut down. |
DJISDKFlightControllerErrorHomePointTooFar | The new home point is too far. |
DJISDKFlightControllerErrorGoHomeAltitudeTooLow | The new home altitude is too low. (Lower than 20m). |
DJISDKFlightControllerErrorGoHomeAltitudeTooHigh | The new home altitude is too high. (higher than 500m). |
DJISDKFlightControllerErrorRemoteControllerModeError | The remote controller's mode switch is not in correct mode. |
DJISDKFlightControllerErrorVirtualStickControlModeError | The virtual stick control mode is not available. |
DJISDKFlightControllerErrorAircraftNotAutoLanding | The aircraft is not at auto landing state. |
DJISDKFlightControllerErrorAircraftNotGoingHome | The aircraft is not at go home state. |
DJISDKFlightControllerErrorRTKCannotStart | RTK cannot start properly. Please reboot. |
DJISDKFlightControllerErrorRTKConnectionBroken | Connection between base station and mobile station is broken. |
DJISDKFlightControllerErrorRTKBSAntennaError | RTK base station antenna error. Check if the antenna is connected to the correct port. |
DJISDKFlightControllerErrorRTKBSCoordinatesReset | RTK base station's coordinate resets. |
DJISDKFlightControllerErrorIllegalBattery | Illegal battery. |
DJISDKFlightControllerErrorInTripodMode | Aircraft is in tripod mode. |
DJISDKFlightControllerErrorBaseStationNotActivated | The base station isn't activated. |
DJISDKFlightControllerErrorBaseStationIsMoved | The base station is moved. Land the aircraft to re-establish the connection to the ground station. |
DJISDKFlightControllerErrorBaseStationFell | The base station fell. Land the aircraft to re-establish the connection to the base station. |
DJISDKFlightControllerErrorNavigationSatelliteSystemCanNotSet | The selection of navigation satellite system is only supported when the RTK function is turned off, and cannot be modified in the air. |
DJISDKFlightControllerErrorRTKBasestationParameterReadOnly | Base station internal error. Parameters read only. Please contact |
DJISDKFlightControllerErrorRTKBasestationParameterUnknownError | Base station parameters internal error. Please contact |
DJISDKFlightControllerErrorGravityCenterCalibrationNotFlying | The aircraft cannot start the gravity center calibration because it is not flying. |
DJISDKFlightControllerErrorGravityCenterCalibrationCanNotWorkInSimulator | The aircraft cannot start the gravity center calibration because the simulator starts. |
DJISDKFlightControllerErrorGravityCenterCalibrationIsRunning | The aircraft cannot start the gravity center calibration before the previous calibration finishes. |
DJISDKFlightControllerErrorGravityCenterCalibrationNotHovering | The aircraft cannot start the gravity center calibration because it is not hovering. |
DJISDKFlightControllerErrorGravityCenterCalibrationStoppedByUser | The gravity center calibration is stopped by the user. |
DJISDKFlightControllerErrorGravityCenterCalibrationFailedInBigWind | The gravity center calibration is interrupted because the wind is too strong. |
DJISDKFlightControllerErrorCannotBeExecutedWithCurrentAttitude | The command cannot be executed with the current attitude. |
DJISDKFlightControllerErrorRTKBasestationNeedLogin | For Matrice 300 RTK, you must login before you can set name, or use setBaseStationReferencingLocation:withCompletion etc. |
DJISDKFlightControllerErrorRTKBasestationPasswordInvalid | Base station administrator account password is invalid. Please login again. If you reset your password, please use the default password. |
typedef NS_ENUM (NSInteger, DJISDKCameraError) |
Header: | NSError+DJISDK.h |
DJI SDK Camera Error.
typedef NS_ENUM (NSInteger, DJISDKError) |
Header: | NSError+DJISDK.h |
DJI SDK Error.
typedef NS_ENUM (NSInteger, DJISDKRegistrationError) |
Header: | NSError+DJISDK.h |
The Error of SDK Registration.