DJISDKMissionError
enum DJISDKMissionError : NSInteger {}
DJI SDK Mission Error
-
Cannot execute in the current flight mode. For products and firmware versions that have an F mode option, F mode must be selected to execute missions. For products and firmware versions that do not have an F mode option, P mode must be selected to execute missions.
getRemoteControllerFlightModeMappingWithCompletioncan be used to determine what flight modes are supported by the current product.Declaration
Objective-C
DJISDKMissionErrorModeError = -5000L -
Aircraft’s GPS too weak.
Declaration
Objective-C
DJISDKMissionErrorAircraftBadGPS = -5001L -
Aircraft’s battery too low.
Declaration
Objective-C
DJISDKMissionErrorAircraftLowBattery = -5002L -
The aircraft is not in the air.
Declaration
Objective-C
DJISDKMissionErrorAircraftNotInTheAir = -5003L -
The aircraft’s altitude is too high.
Declaration
Objective-C
DJISDKMissionErrorAircraftAltitudeTooHigh = -5004L -
The aircraft’s altitude is too low.
Declaration
Objective-C
DJISDKMissionErrorAircraftAltitudeTooLow = -5005L -
Aircraft is taking off.
Declaration
Objective-C
DJISDKMissionErrorAircraftTakingoff = -5006L -
Aircraft is landing
Declaration
Objective-C
DJISDKMissionErrorAircraftLanding = -5007L -
Aircraft is going home
Declaration
Objective-C
DJISDKMissionErrorAircraftGoingHome = -5008L -
Aircraft is starting engine.
Declaration
Objective-C
DJISDKMissionErrorAircraftStartingEngine = -5009L -
Aircraft’s home point is not recordeded.
Declaration
Objective-C
DJISDKMissionErrorAircraftHomePointNotRecorded = -5010L -
Aircraft lost the follow target.
Declaration
Objective-C
DJISDKMissionErrorAircraftLostFollowMeTarget = -5011L -
Aircraft is in novice mode.
Declaration
Objective-C
DJISDKMissionErrorAircraftInNoviceMode = -5012L -
Aircraft is in a no fly zone.
Declaration
Objective-C
DJISDKMissionErrorAircraftInNoFlyZone = -5013L -
The aircraft has reached the flight limitation.
Declaration
Objective-C
DJISDKMissionErrorReachFlightLimitation = -5014L -
Aircraft is running a mission.
Declaration
Objective-C
DJISDKMissionErrorAircraftRunningMission = -5015L -
Aircraft is not running a mission.
Declaration
Objective-C
DJISDKMissionErrorAircraftNoRunningMission = -5016L -
No aircraft mission.
Declaration
Objective-C
DJISDKMissionErrorAircraftNoMission = -5017L -
Aircraft is near the home point.
Declaration
Objective-C
DJISDKMissionErrorAircraftNearHomePoint = -5018L -
Aircraft is too far away from the mission.
Declaration
Objective-C
DJISDKMissionErrorAircraftFarAwayMission = -5019L -
Mission’s parameters are invalid.
Declaration
Objective-C
DJISDKMissionErrorMissionParametersInvalid = -5020L -
Mission’s total distance is too large.
Declaration
Objective-C
DJISDKMissionErrorMissionTotalDistanceTooLarge = -5021L -
Mission needs too much time to execute.
Declaration
Objective-C
DJISDKMissionErrorMissionNeedTooMuchTime = -5022L -
Mission resume failed.
Declaration
Objective-C
DJISDKMissionErrorMissionResumeFailed = -5023L -
Command can not be executed.
Declaration
Objective-C
DJISDKMissionErrorCommandCanNotExecute = -5024L -
Aircraft already in command state. Repeating the same command results in this error.
Declaration
Objective-C
DJISDKMissionErrorAircraftAlreadyInCommandState = -5025L -
Mission not prepared.
Declaration
Objective-C
DJISDKMissionErrorMissionNotReady = -5026L -
Custom mission step can not be paused.
Declaration
Objective-C
DJISDKMissionErrorCustomMissionStepCannotPause = -5027L -
Custom mission is not initialized with the mission steps. The Steps array is empty.
Declaration
Objective-C
DJISDKMissionErrorCustomMissionStepsNotInitialized = -5028L -
Current mission step is initializing.
Declaration
Objective-C
DJISDKMissionErrorCustomMissionStepInitializing = -5029L -
The tracking target is lost.
Declaration
Objective-C
DJISDKMissionErrorTrackingTargetLost = -5030L -
No live video feed is captured for the ActiveTrack Mission.
Declaration
Objective-C
DJISDKMissionErrorNoVideoFeed = -5031L -
The frame rate of the live video feed is too low.
Declaration
Objective-C
DJISDKMissionErrorVideoFrameRateTooLow = -5032L -
The vision system cannot get the authorization to control the aircraft.
Declaration
Objective-C
DJISDKMissionErrorVisionSystemNotAuthorized = -5033L -
The vision system encounters system error.
Declaration
Objective-C
DJISDKMissionErrorVisionSystemError = -5034L -
The aircraft cannot bypass the obstacle.
Declaration
Objective-C
DJISDKMissionErrorCannotBypassObstacle = -5035L -
Mission is stopped by the user.
Declaration
Objective-C
DJISDKMissionErrorStoppedByUser = -5036L -
The vision system requires calibration.
Declaration
Objective-C
DJISDKMissionErrorVisionSystemNeedCalibration = -5037L -
The vision sensors are overexposed.
Declaration
Objective-C
DJISDKMissionErrorVisionSensorOverexposed = -5038L -
The vision sensors are underexposed.
Declaration
Objective-C
DJISDKMissionErrorVisionSensorUnderexposed = -5039L -
The data from the vision system is abnormal.
Declaration
Objective-C
DJISDKMissionErrorVisionDataAbnormal = -5040L -
The feature points found by both vision sensors cannot match.
Declaration
Objective-C
DJISDKMissionErrorFeaturePointCannotMatch = -5041L -
The tracking rectangle is too small.
Declaration
Objective-C
DJISDKMissionErrorTrackingRectTooSmall = -5042L -
The tracking rectangle is too large.
Declaration
Objective-C
DJISDKMissionErrorTrackingRectTooLarge = -5043L -
The tracking target doesn’t have enough features to lock onto.
Declaration
Objective-C
DJISDKMissionErrorTrackingTargetNotEnoughFeature = -5044L -
The Tracking target is too close to the aircraft.
Declaration
Objective-C
DJISDKMissionErrorTrackingTargetTooClose = -5045L -
The tracking target is too far away from the aircraft.
Declaration
Objective-C
DJISDKMissionErrorTrackingTargetTooFar = -5046L -
The tracking target is too high.
Declaration
Objective-C
DJISDKMissionErrorTrackingTargetTooHigh = -5047L -
The tracking target is shaking too much.
Declaration
Objective-C
DJISDKMissionErrorTrackingTargetShaking = -5048L -
The ActiveTrack mission is too unsure the tracking object and confirmation is required.
Declaration
Objective-C
DJISDKMissionErrorTrackingTargetLowConfidence = -5049L -
Mission is paused by user.
Declaration
Objective-C
DJISDKMissionErrorMissionPausedByUser = -5050L -
Gimbal pitch is too low.
Declaration
Objective-C
DJISDKMissionErrorGimbalPitchTooLow = -5051L -
Gimbal pitch is too large.
Declaration
Objective-C
DJISDKMissionErrorGimbalPitchTooLarge = -5052L -
Encounter an obstacle.
Declaration
Objective-C
DJISDKMissionErrorObstacleDetected = -5053L -
TapFly direction invalid.
Declaration
Objective-C
DJISDKMissionErrorTapFlyDirectionInvalid = -5054L -
The front vision system is not available.
Declaration
Objective-C
DJISDKMissionErrorVisionSystemNotAvailable = -5055L -
The initialization of the mission failed.
Declaration
Objective-C
DJISDKMissionErrorInitializationFailed = -5056L -
Mission can not pause or resume.
Declaration
Objective-C
DJISDKMissionErrorCannotPauseOrResume = -5057L -
The aircraft reaches the altitude lower bound of the TapFly Mission.
Declaration
Objective-C
DJISDKMissionErrorReachAltitudeLowerBound = -5058L -
RTK’s signal is weak.
Declaration
Objective-C
DJISDKMissionErrorRTKSignalWeak = -5059L
View on GitHub
DJISDKMissionError Enum Reference