DJI Mobile SDK Documentation

      class DJIMissionError

      @EXClassNullAway
      class DJIMissionError extends DJIError
      Package:dji.common.error
      Inherits From:DJIError
      Description:

      Defines all mission manager related errors.

      Class Members:

      Mission

      final MISSION_NOT_STARTED
      static final DJIMissionError MISSION_NOT_STARTED = new DJIMissionError("Mission is not started yet")
      Package:dji.common.error
      Description:

      Mission is not started yet.

      final COMMON_STATE_ERROR
      static final DJIMissionError COMMON_STATE_ERROR = new DJIMissionError("The command is not supported in current state.")
      Package:dji.common.error
      Description:

      The command is not supported in current state.

      final MAX_FLIGHT_SPEED_NOT_VALID
      static final DJIMissionError MAX_FLIGHT_SPEED_NOT_VALID =
      new DJIMissionError("Max Flight speed value provided is invalid")
      Package:dji.common.error
      Description:

      Max Flight speed value provided is invalid.

      final AUTO_FLIGHT_SPEED_NOT_VALID
      static final DJIMissionError AUTO_FLIGHT_SPEED_NOT_VALID =
      new DJIMissionError("Auto flight speed value provided is invalid")
      Package:dji.common.error
      Description:

      Auto flight speed value provided is invalid.

      final REPEAT_TIME_NOT_VALID
      static final DJIMissionError REPEAT_TIME_NOT_VALID =
      new DJIMissionError("Repeat time value provided is invalid")
      Package:dji.common.error
      Description:

      Repeat time value provided is invalid.

      final WAYPOINT_COUNT_NOT_VALID
      static final DJIMissionError WAYPOINT_COUNT_NOT_VALID = new DJIMissionError("Waypoint count is invalid")
      Package:dji.common.error
      Description:

      Waypoint count is invalid.

      final WAYPOINT_LIST_SIZE_NOT_VALID
      static final DJIMissionError WAYPOINT_LIST_SIZE_NOT_VALID =
      new DJIMissionError("Waypoint list size is invalid")
      Package:dji.common.error
      Description:

      Waypoint list size is invalid.

      final WAYPOINT_COORDINATE_NOT_VALID
      static final DJIMissionError WAYPOINT_COORDINATE_NOT_VALID =
      new DJIMissionError("Waypoint coordinate provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint coordinate provided is invalid.

      final ALTITUDE_NOT_VALID
      static final DJIMissionError ALTITUDE_NOT_VALID =
      new DJIMissionError("Waypoint altitude provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint altitude provided is invalid.

      final HEADING_NOT_VALID
      static final DJIMissionError HEADING_NOT_VALID = new DJIMissionError("Waypoint heading provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint heading provided is invalid.

      final ACTION_REPEAT_TIME_NOT_VALID
      static final DJIMissionError ACTION_REPEAT_TIME_NOT_VALID =
      new DJIMissionError("Waypoint repeat time provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint repeat time provided is invalid.

      final ACTION_TIMEOUT_NOT_VALID
      static final DJIMissionError ACTION_TIMEOUT_NOT_VALID =
      new DJIMissionError("Waypoint action timeout provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint action timeout provided is invalid.

      final CORNER_RADIUS_NOT_VALID
      static final DJIMissionError CORNER_RADIUS_NOT_VALID =
      new DJIMissionError("Waypoint corner radius provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint corner radius provided is invalid.

      final GIMBAL_PITCH_NOT_VALID
      static final DJIMissionError GIMBAL_PITCH_NOT_VALID =
      new DJIMissionError("Waypoint gimbal pitch provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint gimbal pitch provided is invalid.

      final WAYPOINT_SPEED_NOT_VALID
      static final DJIMissionError WAYPOINT_SPEED_NOT_VALID =
      new DJIMissionError("Waypoint speed provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint speed provided is invalid.

      final SHOOT_PHOTO_NOT_VALID
      static final DJIMissionError SHOOT_PHOTO_NOT_VALID =
      new DJIMissionError("Waypoint shoot photo distance provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint shoot photo distance provided is invalid.

      final STAY_ACTION_NOT_VALID
      static final DJIMissionError STAY_ACTION_NOT_VALID =
      new DJIMissionError("Waypoint stay action param provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint stay action param provided is invalid.

      final ROTATE_GIMBAL_ACTION_NOT_VALID
      static final DJIMissionError ROTATE_GIMBAL_ACTION_NOT_VALID =
      new DJIMissionError("Waypoint rotate gimbal action param provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint rotate gimbal action param provided is invalid.

      final ROTATE_AIRCRAFT_ACTION_NOT_VALID
      static final DJIMissionError ROTATE_AIRCRAFT_ACTION_NOT_VALID =
      new DJIMissionError("Waypoint rotate aircraft action param provided is invalid")
      Package:dji.common.error
      Description:

      Waypoint rotate aircraft action param provided is invalid.

      final INDICES_ARE_DISCONTINUOUS
      static final DJIMissionError INDICES_ARE_DISCONTINUOUS = new DJIMissionError("Waypoint indices are discontinuous", 0xAC)
      Package:dji.common.error
      Description:

      Waypoint indecies are discontinuous.

      final INDEX_OUT_OF_RANGE
      static final DJIMissionError INDEX_OUT_OF_RANGE = new DJIMissionError("Waypoint index out of range.", 0xAD)
      Package:dji.common.error
      Description:

      Waypoint index out of range.

      final INVALID_DATA_SIZE
      static final DJIMissionError INVALID_DATA_SIZE = new DJIMissionError("Waypoint data size is invalid. It is for internal usage.", 0xAF)
      Package:dji.common.error
      Description:

      Waypoint data size is invalid. It is for internal usage.

      final TAKE_OFF_FAILURE_CAUSED_BY_ATTITUDE
      static final DJIMissionError TAKE_OFF_FAILURE_CAUSED_BY_ATTITUDE = new DJIMissionError("The aircraft cannot take off because of improper aircraft's attitude.", 0xB3)
      Package:dji.common.error
      Description:

      The aircraft cannot take off because of improper aircraft's attitude.

      final INVALID_INTERVAL_SHOOT_PARAM
      static final DJIMissionError INVALID_INTERVAL_SHOOT_PARAM = new DJIMissionError("The time interval or the distance interval is invalid.", 0xB4)
      Package:dji.common.error
      Description:

      The time interval or the distance interval is invalid.

      final WAYPOINT_GET_INTERRUPTION_FAILURE_FOR_COMPLETE_MISSION
      static final DJIMissionError WAYPOINT_GET_INTERRUPTION_FAILURE_FOR_COMPLETE_MISSION = new DJIMissionError("The waypoint mission interruption is not available because mission has completed.")
      Package:dji.common.error
      Description:

      The waypoint mission interruption is not available because the last mission completed successfully.

      final WAYPOINT_GET_INTERRUPTION_FAILURE_WITHOUT_REACHING_FIRST_WAYPOINT
      static final DJIMissionError WAYPOINT_GET_INTERRUPTION_FAILURE_WITHOUT_REACHING_FIRST_WAYPOINT = new DJIMissionError("The waypoint mission interruption is not available because the aircraft didn't reach the first waypoint in the last mission.")
      Package:dji.common.error
      Description:

      The waypoint mission interruption is not available because the aircraft didn't reach the first waypoint in the last mission.

      final SYSTEM_ABNORMAL
      static final DJIMissionError SYSTEM_ABNORMAL = new DJIMissionError("System error, please try again. If the error continues, restart the aircraft.", 5301)
      Package:dji.common.error
      Description:

      System error, please try again. If the error continues, restart the aircraft.

      final TARGET_AREA_IS_TOO_SMALL
      static final DJIMissionError TARGET_AREA_IS_TOO_SMALL = new DJIMissionError("Frame selection subject too small.", 5302)
      Package:dji.common.error
      Description:

      Frame selection subject too small.

      final INSUFFICIENT_FEATURES_IN_TARGET_AREA
      static final DJIMissionError INSUFFICIENT_FEATURES_IN_TARGET_AREA = new DJIMissionError("Frame selection subject texture not obvious.", 5303)
      Package:dji.common.error
      Description:

      Frame selection subject texture not obvious.

      final LOST_TARGET_WHILE_WATCHING
      static final DJIMissionError LOST_TARGET_WHILE_WATCHING = new DJIMissionError("Tracking subject lost while watching.", 5304)
      Package:dji.common.error
      Description:

      Tracking subject lost while watching.

      final LOST_TARGET_WHILE_EXECUTING
      static final DJIMissionError LOST_TARGET_WHILE_EXECUTING = new DJIMissionError("Tracking subject lost while executing.", 5305)
      Package:dji.common.error
      Description:

      Tracking subject lost while executing.

      final REPROJECTION_FAILED_WHILE_EXECUTING
      static final DJIMissionError REPROJECTION_FAILED_WHILE_EXECUTING = new DJIMissionError("Failed to measure, please try again.", 5306)
      Package:dji.common.error
      Description:

      Failed to estimate, please try again.

      final TARGET_TOO_CLOSE
      static final DJIMissionError TARGET_TOO_CLOSE = new DJIMissionError("Frame subject too close.", 5307)
      Package:dji.common.error
      Description:

      Frame subject too close.

      final TARGET_SIZE_CHANGED
      static final DJIMissionError TARGET_SIZE_CHANGED = new DJIMissionError("Target size changed, please try again. If the error persists, restart the aircraft.", 5308)
      Package:dji.common.error
      Description:

      Target size changed, please try again. If the error persists, restart the aircraft.

      final GPS_ABNORMAL
      static final DJIMissionError GPS_ABNORMAL = new DJIMissionError("GPS signal weak. Please try again in an open area.", 5309)
      Package:dji.common.error
      Description:

      GPS signal weak. Please try again in an open area.

      final HOT_POINT_INVALID
      static final DJIMissionError HOT_POINT_INVALID = new DJIMissionError("Hotpoint parameter do not meet requirements.", 5310)
      Package:dji.common.error
      Description:

      Hotpoint parameter do not meet requirements.

      final WATCH_TARGET_FAILED
      static final DJIMissionError WATCH_TARGET_FAILED = new DJIMissionError("Gimbal reached movement limit, subjecting failed. Please try again.", 5311)
      Package:dji.common.error
      Description:

      Gimbal reached movement limit, subjecting failed. Please try again.

      final ESTIMATE_TIMEOUT
      static final DJIMissionError ESTIMATE_TIMEOUT = new DJIMissionError("Estimate timeout, mission exit.", 5312)
      Package:dji.common.error
      Description:

      Estimate timeout, mission exit.

      final ESTIMATE_RESULT_INVALID
      static final DJIMissionError ESTIMATE_RESULT_INVALID = new DJIMissionError("Failed to estimate subject location.", 5313)
      Package:dji.common.error
      Description:

      Failed to estimate subject location.

      final EXIT_BY_USER_BUTTON
      static final DJIMissionError EXIT_BY_USER_BUTTON = new DJIMissionError("Current mission exit by user button.", 5314)
      Package:dji.common.error
      Description:

      Current mission exit by user button.

      final RADIUS_LIMIT
      static final DJIMissionError RADIUS_LIMIT = new DJIMissionError("The aircraft reach the distance limit.Please operate the aircraft within the distance limit.", 5315)
      Package:dji.common.error
      Description:

      The aircraft reach the distance limit. Please operate the aircraft within the distance limit.

      final ALTITUDE_LIMIT
      static final DJIMissionError ALTITUDE_LIMIT = new DJIMissionError("The aircraft reach the altitude limit. Please operate the aircraft within the altitude limit.", 5316)
      Package:dji.common.error
      Description:

      The aircraft reach the altitude limit. Please operate the aircraft within the Altitude limit.

      final CONTROL_FAILED
      static final DJIMissionError CONTROL_FAILED = new DJIMissionError("Intelligent Hotpoint mission execute failed, the description is the fail reason", 5317)
      Package:dji.common.error
      Description:

      Intelligent Hotpoint mission execute failed, the description is the fail reason.

      final LOST_CONNECTION_WITH_REMOTE_CONTROLLER
      static final DJIMissionError LOST_CONNECTION_WITH_REMOTE_CONTROLLER = new DJIMissionError("Lost connection with Remote Controller", 5318)
      Package:dji.common.error
      Description:

      Lost connection with remoteController.

      final OBSTACLE_ENCOUNTERED_WHILE_ESTIMATING
      static final DJIMissionError OBSTACLE_ENCOUNTERED_WHILE_ESTIMATING = new DJIMissionError("Obstacles encountered while estimating, current mission quitted.", 5319)
      Package:dji.common.error
      Description:

      Obstacles encountered while estimating, current mission quitted.

      final OBSTACLE_ENCOUNTERED_WHILE_SURROUNDING
      static final DJIMissionError OBSTACLE_ENCOUNTERED_WHILE_SURROUNDING = new DJIMissionError("Obstacles encountered while surrounding, current mission suspended.", 5320)
      Package:dji.common.error
      Description:

      Obstacles encountered while surrounding, current mission suspended.

      final TARGET_IS_TOO_FAR_AWAY
      static final DJIMissionError TARGET_IS_TOO_FAR_AWAY = new DJIMissionError("Target is too far away, the aircraft needs to continue to measure distance", 5321)
      Package:dji.common.error
      Description:

      Target is too faraway, the aircraft needs to continue to measure distance.

      final HOTPOINT_ALTITUDE_TOO_LOW
      static final DJIMissionError HOTPOINT_ALTITUDE_TOO_LOW = new DJIMissionError("Aircraft's altitude is too low to execute hotpoint mission.", 5322)
      Package:dji.common.error
      Description:

      Aircraft's altitude is too low to execute hotpoint mission.


      Waypoint Mission

      final MULTI_MODE_DISABLED
      static final DJIMissionError MULTI_MODE_DISABLED = new DJIMissionError("The mission cannot start when multi-mode is disabled.", 0xCB)
      Package:dji.common.error
      Description:

      The mission cannot start when multi-mode is disabled.

      method getDJIError
      static DJIError getDJIError(Ccode ccode)
      Package:dji.common.error
      Description:

      Returns the specific error in DJIMissionManagerError according to the error code.

      Input Parameters:
      Ccode ccodeError code.
      Return:
      static DJIErrorThe DJIError object.


      final COMMON_UNSUPPORTED
      static final DJIMissionError COMMON_UNSUPPORTED = new DJIMissionError("Not supported")
      Package:dji.common.error
      Description:

      Unsupported feature error.
      Where possible:
      This error will be returned by the function for a special feature interface when the feature is not supported by the device.

      final COMMON_DISCONNECTED
      static final DJIMissionError COMMON_DISCONNECTED = new DJIMissionError("Disconnected")
      Package:dji.common.error
      Description:

      Disconnected.

      final
      final BEGAN
      static final DJIMissionError BEGAN = new DJIMissionError("began", 0x01)
      Package:dji.common.error
      Description:

      Mission began (Phantom 2 series).

      final CANCELED
      static final DJIMissionError CANCELED = new DJIMissionError("canceled", 0x02)
      Package:dji.common.error
      Description:

      Mission canceled.

      final
      final FAILED
      static final DJIMissionError FAILED = new DJIMissionError("failed", 0x03)
      Package:dji.common.error
      Description:

      Mission failed.

      final NO_MISSION_RUNNING
      static final DJIMissionError NO_MISSION_RUNNING = new DJIMissionError("Mission not existed")
      Package:dji.common.error
      Description:

      Mission not existed.

      final
      final TIMEOUT
      static final DJIMissionError TIMEOUT = new DJIMissionError("Execution of this process has timed out", 0x04)
      Package:dji.common.error
      Description:

      Mission timeout.

      final GPS_NOT_READY
      static final DJIMissionError GPS_NOT_READY = new DJIMissionError("GPS of aircraft is not ready", 0x06)
      Package:dji.common.error
      Description:

      The GPS of the aircraft is not ready.
      Maybe the aircraft haven't got the home point location.

      final MOTORS_DID_NOT_START
      static final DJIMissionError MOTORS_DID_NOT_START =
      new DJIMissionError("The aircraft's motor has not started", 0x07)
      Package:dji.common.error
      Description:

      The aircraft's motor has not started.

      final TAKE_OFF
      static final DJIMissionError TAKE_OFF = new DJIMissionError("Aircraft is taking off", 0x08)
      Package:dji.common.error
      Description:

      The aircraft is taking off.

      final IS_FLYING
      static final DJIMissionError IS_FLYING = new DJIMissionError("Aircraft is flying", 0x09)
      Package:dji.common.error
      Description:

      The aircraft is flying.

      final NOT_AUTO_MODE
      static final DJIMissionError NOT_AUTO_MODE = new DJIMissionError("Aircraft is not in auto mode", 0x0A)
      Package:dji.common.error
      Description:

      The aircraft is not in auto mode.

      final MAX_NUMBER_OF_WAYPOINTS_UPLOAD_LIMIT_REACHED
      static final DJIMissionError MAX_NUMBER_OF_WAYPOINTS_UPLOAD_LIMIT_REACHED =
      new DJIMissionError("Waypoint mission has reached the maximum points limit", 0x0B)
      Package:dji.common.error
      Description:

      Waypoint mission has reached the maximum points limit.
      1. Phantom 2 Vision/Vision+: the max points limit is 16.
      2. Inspire1/ Phantom 3 series: the max points limit is 99.

      final UPLOADING_WAYPOINT
      static final DJIMissionError UPLOADING_WAYPOINT = new DJIMissionError("Waypoint mission is uploading", 0xE9)
      Package:dji.common.error
      Description:

      Waypoint is uploading.

      final KEY_LEVEL_LOW
      static final DJIMissionError KEY_LEVEL_LOW =
      new DJIMissionError("The API key provided to you is not at the correct permission level", 0x0D)
      Package:dji.common.error
      Description:

      The API key provided to you is not at the correct permission level.
      Check whether your key is a level 2 application key in your AndroidManifest.xml.

      final NAVIGATION_MODE_DISABLED
      static final DJIMissionError NAVIGATION_MODE_DISABLED = new DJIMissionError("Navigation is not open", 0xD1)
      Package:dji.common.error
      Description:

      Navigation is not open.

      final IOC_TYPE_UNKNOWN
      static final DJIMissionError IOC_TYPE_UNKNOWN = new DJIMissionError("The type of IOC is unknown", 0xA1)
      Package:dji.common.error
      Description:

      The type of IOC is unknown.

      final HOME_POINT_VALUE_INVALID
      static final DJIMissionError HOME_POINT_VALUE_INVALID =
      new DJIMissionError("The home point is not a valid float value", 0xA2)
      Package:dji.common.error
      Description:

      The homepoint is not a valid float value.

      final HOME_POINT_LOCATION_INVALID
      static final DJIMissionError HOME_POINT_LOCATION_INVALID =
      new DJIMissionError("The latitude and longitude of homepoint are invalid", 0xA3)
      Package:dji.common.error
      Description:

      The latitude and longitude of the homepoint are invalid.

      final HOME_POINT_DIRECTION_UNKNOWN
      static final DJIMissionError HOME_POINT_DIRECTION_UNKNOWN =
      new DJIMissionError("The direction of homepoint is unknown", 0xA6)
      Package:dji.common.error
      Description:

      The direction of the homepoint is unknown.

      final HOME_POINT_MISSION_PAUSED
      static final DJIMissionError HOME_POINT_MISSION_PAUSED =
      new DJIMissionError("The home-point mission is paused", 0xA9)
      Package:dji.common.error
      Description:

      Homepoint is paused.

      final HOME_POINT_MISSION_NOT_PAUSED
      static final DJIMissionError HOME_POINT_MISSION_NOT_PAUSED =
      new DJIMissionError("The home-point mission is not paused", 0xAA)
      Package:dji.common.error
      Description:

      The homepoint is not paused.

      final FOLLOW_ME_DISTANCE_TOO_LARGE
      static final DJIMissionError FOLLOW_ME_DISTANCE_TOO_LARGE = new DJIMissionError(
      "Distance between the aircraft and mobile phone is beyond acceptable limit(must be lower than 20000m)", 0xB0)
      Package:dji.common.error
      Description:

      The distance between the aircraft and mobile phone is too large (must be lower than 20000m). This error will be returned when initializing the follow me task.

      final FOLLOW_ME_DISCONNECT_TIME_TOO_LONG
      static final DJIMissionError FOLLOW_ME_DISCONNECT_TIME_TOO_LONG =
      new DJIMissionError("The disconnect time of follow me mission is too long", 0xB1)
      Package:dji.common.error
      Description:

      The disconnect time of the Follow Me mission is too long.

      final FOLLOW_ME_GIMBAL_PITCH_ERROR
      static final DJIMissionError FOLLOW_ME_GIMBAL_PITCH_ERROR =
      new DJIMissionError("The initial pitch angle of gimbal is too large", 0xB2)
      Package:dji.common.error
      Description:

      The initial pitch angle of the gimbal is too large.

      final ALTITUDE_TOO_HIGH
      static final DJIMissionError ALTITUDE_TOO_HIGH = new DJIMissionError("The altitude is too high", 0xC0)
      Package:dji.common.error
      Description:

      The altitude is too high.

      final ALTITUDE_TOO_LOW
      static final DJIMissionError ALTITUDE_TOO_LOW = new DJIMissionError("The altitude is too low", 0xC1)
      Package:dji.common.error
      Description:

      The altitude is too low.

      final MISSION_RADIUS_INVALID
      static final DJIMissionError MISSION_RADIUS_INVALID =
      new DJIMissionError("The radius of mission is invalid", 0xC2)
      Package:dji.common.error
      Description:

      The radius of mission is invalid.

      final MISSION_SPEED_TOO_HIGH
      static final DJIMissionError MISSION_SPEED_TOO_HIGH =
      new DJIMissionError("The speed of mission is too large", 0xC3)
      Package:dji.common.error
      Description:

      The speed of the mission is too high.

      final MISSION_ENTRY_POINT_INVALID
      static final DJIMissionError MISSION_ENTRY_POINT_INVALID =
      new DJIMissionError("The entry point of mission is invalid", 0xC4)
      Package:dji.common.error
      Description:

      The entry point of the mission is invalid.

      final MISSION_HEADING_MODE_INVALID
      static final DJIMissionError MISSION_HEADING_MODE_INVALID =
      new DJIMissionError("The heading mode of mission is invalid", 0xC5)
      Package:dji.common.error
      Description:

      The heading mode of the mission is invalid.

      final MISSION_RADIUS_OVER_LIMIT
      static final DJIMissionError MISSION_RADIUS_OVER_LIMIT =
      new DJIMissionError("The radius of mission is over the acceptable limit, pls try to login and check radius of waypoint", 0xC7)
      Package:dji.common.error
      Description:

      The radius of the mission is over the acceptable limit.

      final NAVIGATION_MODE_NOT_SUPPORTED
      static final DJIMissionError NAVIGATION_MODE_NOT_SUPPORTED =
      new DJIMissionError("Navigation mode is not supported", 0xC8)
      Package:dji.common.error
      Description:

      Navigation in the product is unsupported.

      final DISTANCE_FROM_MISSION_TARGET_TOO_LONG
      static final DJIMissionError DISTANCE_FROM_MISSION_TARGET_TOO_LONG =
      new DJIMissionError("The distance from mission target position is too long", 0xC9)
      Package:dji.common.error
      Description:

      The distance from the mission target is too long.
      For example, the distance from hotpoint target position is too long,
      or the distance from the first waypoint target position is too long

      final RC_MODE_ERROR
      static final DJIMissionError RC_MODE_ERROR =
      new DJIMissionError("Mode error, please make sure the remote controller's mode switch is in 'F' mode.", 0xD0)
      Package:dji.common.error
      Description:

      Remote controller mode error.
      You should put the remote controller's mode selection bar to F position.

      final IOC_WORKING
      static final DJIMissionError IOC_WORKING = new DJIMissionError("The IOC mode is working", 0xD2)
      Package:dji.common.error
      Description:

      The IOC mode is working.

      final MISSION_NOT_INITIALIZED
      static final DJIMissionError MISSION_NOT_INITIALIZED = new DJIMissionError("The mission is not initialized", 0xD3)
      Package:dji.common.error
      Description:

      The mission is not initialized.

      final MISSION_NOT_EXIST
      static final DJIMissionError MISSION_NOT_EXIST = new DJIMissionError("The mission does not exist", 0xD4)
      Package:dji.common.error
      Description:

      The mission does not exist.

      final MISSION_CONFLICT
      static final DJIMissionError MISSION_CONFLICT =
      new DJIMissionError("There is a conflicting setting in the mission", 0xD5)
      Package:dji.common.error
      Description:

      There is a conflicting setting in the mission.

      final MISSION_ESTIMATE_TIME_TOO_LONG
      static final DJIMissionError MISSION_ESTIMATE_TIME_TOO_LONG =
      new DJIMissionError("The estimated time for the mission is too long", 0xD6)
      Package:dji.common.error
      Description:

      The estimated time for the mission is too long.

      final RTK_IS_NOT_READY
      static final DJIMissionError RTK_IS_NOT_READY = new DJIMissionError("RTK is not ready", 0xCD)
      Package:dji.common.error
      Description:

      RTK is not ready.

      final MULTI_MODE_IS_OFF
      static final DJIMissionError MULTI_MODE_IS_OFF = new DJIMissionError("Multi-mode switch is not turned on", 0xCB)
      Package:dji.common.error
      Description:

      Multi-mode switch is not turned on.

      final HIGH_PRIORITY_MISSION_EXECUTING
      static final DJIMissionError HIGH_PRIORITY_MISSION_EXECUTING =
      new DJIMissionError("A higher priority mission is executing", 0xD7)
      Package:dji.common.error
      Description:

      A higher priority mission is executing.

      final MISSION_CONDITION_NOT_SATISFIED
      static final DJIMissionError MISSION_CONDITION_NOT_SATISFIED =
      new DJIMissionError("The condition of mission is not satisfied", 0xDC)
      Package:dji.common.error
      Description:

      The condition of the mission is not satisfied.

      final MISSION_ACROSS_NO_FLY_ZONE
      static final DJIMissionError MISSION_ACROSS_NO_FLY_ZONE =
      new DJIMissionError("The mission is across the no fly zone", 0xDD)
      Package:dji.common.error
      Description:

      The mission is across a no fly zone.

      final MISSION_INFO_INVALID
      static final DJIMissionError MISSION_INFO_INVALID =
      new DJIMissionError("The information of mission is invalid", 0xE0)
      Package:dji.common.error
      Description:

      The information for the mission is invalid.

      final WAYPOINT_INFO_INVALID
      static final DJIMissionError WAYPOINT_INFO_INVALID =
      new DJIMissionError("The information of waypoint is invalid", 0xE1)
      Package:dji.common.error
      Description:

      The information for the waypoint is invalid.

      final WAYPOINT_TRACE_TOO_LONG
      static final DJIMissionError WAYPOINT_TRACE_TOO_LONG =
      new DJIMissionError("The trace of waypoint is too long", 0xE2)
      Package:dji.common.error
      Description:

      The waypoint trace is too long. The maximum waypoint trace is 30km. The waypoint trace is the sum of all distances between waypoints in a mission.

      final WAYPOINT_TOTAL_TRACE_TOO_LONG
      static final DJIMissionError WAYPOINT_TOTAL_TRACE_TOO_LONG =
      new DJIMissionError("The total trace of waypoint is too long", 0xE3)
      Package:dji.common.error
      Description:

      The total waypoint mission distance is too long. The maximum total distance is 40km. The total distance includes the sum of:

      • Distance from current aircraft location to first waypoint
      • Sum of all distances between waypoints
      • Distance from last waypoint to the homepoint.
      • final WAYPOINT_INDEX_OVER_RANGE
        static final DJIMissionError WAYPOINT_INDEX_OVER_RANGE =
        new DJIMissionError("The index of waypoint is over range", 0xE4)
        Package:dji.common.error
        Description:

        The index of the waypoint is out of range.

        final WAYPOINT_DISTANCE_TOO_CLOSE
        static final DJIMissionError WAYPOINT_DISTANCE_TOO_CLOSE =
        new DJIMissionError("The waypoint distance is too close", 0xE5)
        Package:dji.common.error
        Description:

        The waypoint distance is too close.

        final WAYPOINT_DISTANCE_TOO_LONG
        static final DJIMissionError WAYPOINT_DISTANCE_TOO_LONG =
        new DJIMissionError("The waypoint distance is too long", 0xE6)
        Package:dji.common.error
        Description:

        The waypoint distance is too long. A valid distance between two adjacent waypoints is less than 2km and greater than 0.5m. In addition, the first and last waypoint of the mission must also have a separation of less than 2km and greater than 0.5m. If the separation of any consecutive waypoints or the separation of the first and last waypoint is larger than 2km, then this error will be raised.

        final WAYPOINT_DAMPING_CHECK_FAILED
        static final DJIMissionError WAYPOINT_DAMPING_CHECK_FAILED =
        new DJIMissionError("The damping check is failed", 0xE7)
        Package:dji.common.error
        Description:

        The damping check failed.

        final WAYPOINT_ACTION_PARAMETER_INVALID
        static final DJIMissionError WAYPOINT_ACTION_PARAMETER_INVALID =
        new DJIMissionError("The parameter of waypoint action is invalid", 0xE8)
        Package:dji.common.error
        Description:

        The parameter of the waypoint action is invalid.

        final WAYPOINTS_UPLOADING
        static final DJIMissionError WAYPOINTS_UPLOADING = new DJIMissionError("The waypoints are still uploading", 0xE9)
        Package:dji.common.error
        Description:

        The waypoints are still uploading.

        final WAYPOINT_MISSION_INFO_NOT_UPLOADED
        static final DJIMissionError WAYPOINT_MISSION_INFO_NOT_UPLOADED =
        new DJIMissionError("The info of waypoint mission is not completely uploaded", 0xEA)
        Package:dji.common.error
        Description:

        The information for the waypoint mission is not completely uploaded.

        final WAYPOINT_UPLOAD_NOT_COMPLETE
        static final DJIMissionError WAYPOINT_UPLOAD_NOT_COMPLETE =
        new DJIMissionError("The waypoint uploading is not complete", 0xEB)
        Package:dji.common.error
        Description:

        The waypoint uploading is not complete.

        final WAYPOINT_REQUEST_IS_RUNNING
        static final DJIMissionError WAYPOINT_REQUEST_IS_RUNNING =
        new DJIMissionError("The waypoint request is running", 0xEC)
        Package:dji.common.error
        Description:

        The waypoint mission is running.

        final WAYPOINT_NOT_RUNNING
        static final DJIMissionError WAYPOINT_NOT_RUNNING =
        new DJIMissionError("The waypoint mission is not running", 0xED)
        Package:dji.common.error
        Description:

        The waypoint mission is not running.

        final WAYPOINT_IDLE_VELOCITY_INVALID
        static final DJIMissionError WAYPOINT_IDLE_VELOCITY_INVALID =
        new DJIMissionError("The idle velocity is invalid", 0xEE)
        Package:dji.common.error
        Description:

        The idle velocity is invalid.

        final AIRCRAFT_STARTING_MOTOR
        static final DJIMissionError AIRCRAFT_STARTING_MOTOR =
        new DJIMissionError("The aircraft is starting the motor", 0xF3)
        Package:dji.common.error
        Description:

        The aircraft is starting the motor.

        final WRONG_CMD
        static final DJIMissionError WRONG_CMD = new DJIMissionError("The command is wrong", 0xF4)
        Package:dji.common.error
        Description:

        The command is wrong.

        final POINTING_AIRCRAFT_NOT_IN_THE_AIR
        static final DJIMissionError POINTING_AIRCRAFT_NOT_IN_THE_AIR =
        new DJIMissionError("The aircraft is not in the air. Please take off first.")
        Package:dji.common.error
        Description:

        The aircraft is not in the air. Please take off first.

        final VISION_SENSOR_LOW_QUALITY
        static final DJIMissionError VISION_SENSOR_LOW_QUALITY =
        new DJIMissionError("The quality of vision sensor is low.")
        Package:dji.common.error
        Description:

        The quality of vision sensor is low.

        final Z30_ONLY_SUPPORT_SPOTLIGHT_PRO
        static final DJIMissionError Z30_ONLY_SUPPORT_SPOTLIGHT_PRO = new DJIMissionError("Current Camera only support spotlight pro mode!")
        Package:dji.common.error
        Description:

        The camera only supports spotlight pro mode.

        final USER_CANCEL_UPLOADING_MISSION
        static final DJIMissionError USER_CANCEL_UPLOADING_MISSION = new DJIMissionError("Uploading mission has been canceled!")
        Package:dji.common.error
        Description:

        The uploading mission has been canceled by the user.

        final
        final UNKNOWN
        static final DJIMissionError UNKNOWN = new DJIMissionError("Unknown result")
        Package:dji.common.error
        Description:

        Unknown result.

        final MODE_ERROR
        static final DJIMissionError MODE_ERROR =
        new DJIMissionError("The control mode of the aircraft is not in the correct state", 0x05)
        Package:dji.common.error
        Description:

        Cannot execute in the current mode. For products and flight controller firmware versions that support 'F' mode (e.g. Phantom 3 Professional, Inspire 1, A3 with flight controller firmware version lower than 3.2.10.0, etc), please make sure the remote controller's mode switch is in 'F' mode. For the others, please make sure the remote controller's mode switch is in 'P' mode.

        final GPS_SIGNAL_WEAK
        static final DJIMissionError GPS_SIGNAL_WEAK = new DJIMissionError("The GPS signal of the aircraft is weak", 0xD8)
        Package:dji.common.error
        Description:

        The GPS signal of the aircraft is weak.

        final LOW_BATTERY
        static final DJIMissionError LOW_BATTERY = new DJIMissionError("Low battery level warning", 0xD9)
        Package:dji.common.error
        Description:

        Low battery level warning.

        final AIRCRAFT_NOT_IN_THE_AIR
        static final DJIMissionError AIRCRAFT_NOT_IN_THE_AIR = new DJIMissionError("The aircraft is not in the air", 0xDA)
        Package:dji.common.error
        Description:

        The aircraft is not in the air.

        final AIRCRAFT_ALTITUDE_TOO_HIGH
        static final DJIMissionError AIRCRAFT_ALTITUDE_TOO_HIGH =
        new DJIMissionError("The aircraft's altitude is too high.")
        Package:dji.common.error
        Description:

        The aircraft's altitude is too high.

        final AIRCRAFT_ALTITUDE_TOO_LOW
        static final DJIMissionError AIRCRAFT_ALTITUDE_TOO_LOW =
        new DJIMissionError("The aircraft's altitude is too low.")
        Package:dji.common.error
        Description:

        The aircraft's altitude is too low.

        final AIRCRAFT_TAKING_OFF
        static final DJIMissionError AIRCRAFT_TAKING_OFF = new DJIMissionError("The aircraft is taking off", 0xF0)
        Package:dji.common.error
        Description:

        Aircraft is taking off.

        final AIRCRAFT_LANDING
        static final DJIMissionError AIRCRAFT_LANDING = new DJIMissionError("The aircraft is landing", 0xF1)
        Package:dji.common.error
        Description:

        Aircraft is landing.

        final AIRCRAFT_GOING_HOME
        static final DJIMissionError AIRCRAFT_GOING_HOME = new DJIMissionError("The aircraft is going home", 0xF2)
        Package:dji.common.error
        Description:

        Aircraft is going home.

        final HOME_POINT_NOT_RECORDED
        static final DJIMissionError HOME_POINT_NOT_RECORDED =
        new DJIMissionError("The home point of aircraft is not recorded", 0xDE)
        Package:dji.common.error
        Description:

        The home point of the aircraft is not recorded.

        final IN_NOVICE_MODE
        static final DJIMissionError IN_NOVICE_MODE = new DJIMissionError("The aircraft is in novice mode now", 0xCA)
        Package:dji.common.error
        Description:

        Aircraft is in novice mode.

        final AIRCRAFT_IN_NO_FLY_ZONE
        static final DJIMissionError AIRCRAFT_IN_NO_FLY_ZONE =
        new DJIMissionError("The aircraft is in the no fly zone", 0xDF)
        Package:dji.common.error
        Description:

        Aircraft is in a no fly zone.

        final REACH_FLIGHT_LIMITATION
        static final DJIMissionError REACH_FLIGHT_LIMITATION =
        new DJIMissionError("The aircraft has reached the flight limitation.")
        Package:dji.common.error
        Description:

        The aircraft has reached the flight limitation.

        final RUNNING_MISSION
        static final DJIMissionError RUNNING_MISSION = new DJIMissionError("The aircraft is running a mission")
        Package:dji.common.error
        Description:

        The aircraft is running a mission.

        final TOO_CLOSE_TO_HOME_POINT
        static final DJIMissionError TOO_CLOSE_TO_HOME_POINT =
        new DJIMissionError("Aircraft is too close to home point", 0xA0)
        Package:dji.common.error
        Description:

        Aircraft is too close to the home point.

        final MISSION_PARAMETERS_INVALID
        static final DJIMissionError MISSION_PARAMETERS_INVALID =
        new DJIMissionError("The parameters of the mission are invalid", 0xDB)
        Package:dji.common.error
        Description:

        The parameters of the mission are invalid.

        final MISSION_RESUME_FAILED
        static final DJIMissionError MISSION_RESUME_FAILED = new DJIMissionError("Failed to resume the mission", 0xC6)
        Package:dji.common.error
        Description:

        Mission resume failed.

        final TRACKING_TARGET_LOST
        static final DJIMissionError TRACKING_TARGET_LOST = new DJIMissionError("The tracking target is lost.")
        Package:dji.common.error
        Description:

        The tracking target is lost.

        final NO_VIDEO_FEED
        static final DJIMissionError NO_VIDEO_FEED =
        new DJIMissionError("No live video feed is captured for the ActiveTrack Mission. ")
        Package:dji.common.error
        Description:

        No live video feed is captured for the ActiveTrack Mission.

        final VIDEO_FRAME_RATE_TOO_LOW
        static final DJIMissionError VIDEO_FRAME_RATE_TOO_LOW =
        new DJIMissionError("The frame rate of the live video feed is too low.")
        Package:dji.common.error
        Description:

        The frame rate of the live video feed is too low.

        final VISION_SYSTEM_NOT_AUTHORIZED
        static final DJIMissionError VISION_SYSTEM_NOT_AUTHORIZED =
        new DJIMissionError("The vision system cannot get the authorization to control the aircraft. ")
        Package:dji.common.error
        Description:

        The vision system cannot get the authorization to control the aircraft.

        final VISION_SYSTEM_ERROR
        static final DJIMissionError VISION_SYSTEM_ERROR =
        new DJIMissionError("The vision system encounters system error.")
        Package:dji.common.error
        Description:

        The vision system encounters system error.

        final CANNOT_BYPASS_OBSTACLE
        static final DJIMissionError CANNOT_BYPASS_OBSTACLE =
        new DJIMissionError("The aircraft cannot bypass the obstacle.")
        Package:dji.common.error
        Description:

        The aircraft cannot bypass the obstacle.

        final STOPPED_BY_USER
        static final DJIMissionError STOPPED_BY_USER = new DJIMissionError("Mission was stopped by the user.")
        Package:dji.common.error
        Description:

        Mission was stopped by the user.

        final VISION_SYSTEM_NEEDS_CALIBRATION
        static final DJIMissionError VISION_SYSTEM_NEEDS_CALIBRATION =
        new DJIMissionError("The vision system requires calibration.")
        Package:dji.common.error
        Description:

        The vision system requires calibration.

        final VISION_SENSOR_OVEREXPOSED
        static final DJIMissionError VISION_SENSOR_OVEREXPOSED =
        new DJIMissionError("The vision sensors are overexposed.")
        Package:dji.common.error
        Description:

        The vision sensors are overexposed.

        final VISION_SENSOR_UNDEREXPOSED
        static final DJIMissionError VISION_SENSOR_UNDEREXPOSED =
        new DJIMissionError("The vision sensors are underexposed.")
        Package:dji.common.error
        Description:

        The vision sensors are underexposed.

        final VISION_DATA_ABNORMAL
        static final DJIMissionError VISION_DATA_ABNORMAL =
        new DJIMissionError("The data from the vision system is abnormal.")
        Package:dji.common.error
        Description:

        The data from the vision system is abnormal.

        final FEATURE_POINT_CANNOT_MATCH
        static final DJIMissionError FEATURE_POINT_CANNOT_MATCH =
        new DJIMissionError("The feature points found by both vision sensors cannot match.")
        Package:dji.common.error
        Description:

        The feature points found by both vision sensors cannot match.

        final TRACKING_RECT_TOO_SMALL
        static final DJIMissionError TRACKING_RECT_TOO_SMALL =
        new DJIMissionError("The tracking rectangle is too small.")
        Package:dji.common.error
        Description:

        The tracking rectangle is too small.

        final TRACKING_RECT_TOO_LARGE
        static final DJIMissionError TRACKING_RECT_TOO_LARGE =
        new DJIMissionError("The tracking rectangle is too large.")
        Package:dji.common.error
        Description:

        The tracking rectangle is too large.

        final TRACKING_TARGET_NOT_ENOUGH_FEATURES
        static final DJIMissionError TRACKING_TARGET_NOT_ENOUGH_FEATURES =
        new DJIMissionError("The tracking target doesn't have enough features to lock onto.")
        Package:dji.common.error
        Description:

        The tracking target doesn't have enough features to lock onto.

        final TRACKING_TARGET_TOO_CLOSE
        static final DJIMissionError TRACKING_TARGET_TOO_CLOSE =
        new DJIMissionError("The tracking target is too close to the aircraft.")
        Package:dji.common.error
        Description:

        The Tracking target is too close to the aircraft.

        final TRACKING_TARGET_TOO_FAR
        static final DJIMissionError TRACKING_TARGET_TOO_FAR =
        new DJIMissionError("The tracking target is too far away from the aircraft.")
        Package:dji.common.error
        Description:

        The tracking target is too far away from the aircraft.

        final TRACKING_TARGET_TOO_HIGH
        static final DJIMissionError TRACKING_TARGET_TOO_HIGH =
        new DJIMissionError("The tracking target is too high.")
        Package:dji.common.error
        Description:

        The tracking target is too high.

        final TRACKING_TARGET_SHAKING
        static final DJIMissionError TRACKING_TARGET_SHAKING =
        new DJIMissionError("The tracking target is shaking too much.")
        Package:dji.common.error
        Description:

        The tracking target is shaking too much.

        final TRACKING_TARGET_LOW_CONFIDENCE
        static final DJIMissionError TRACKING_TARGET_LOW_CONFIDENCE =
        new DJIMissionError("The ActiveTrack mission is too unsure the tracking object and confirmation is required.")
        Package:dji.common.error
        Description:

        The ActiveTrack mission is too unsure the tracking object and confirmation is required.

        final TRACKING_PAUSED_BY_USER
        static final DJIMissionError TRACKING_PAUSED_BY_USER = new DJIMissionError("Mission is paused by user.")
        Package:dji.common.error
        Description:

        Mission is paused by user.

        final TRACKING_GIMBAL_PITCH_TOO_LOW
        static final DJIMissionError TRACKING_GIMBAL_PITCH_TOO_LOW =
        new DJIMissionError("The gimbal pitch is too low.")
        Package:dji.common.error
        Description:

        Gimbal pitch is too low.

        final TRACKING_OBSTACLE_DETECTED
        static final DJIMissionError TRACKING_OBSTACLE_DETECTED = new DJIMissionError("Obstacles are detected.")
        Package:dji.common.error
        Description:

        Encounter an obstacle.

        final REACH_ALTITUDE_LOWER_BOUND
        static final DJIMissionError REACH_ALTITUDE_LOWER_BOUND =
        new DJIMissionError("The aircraft reaches the altitude lower bound of the TapFly Mission.")
        Package:dji.common.error
        Description:

        The aircraft reaches the altitude lower bound of the TapFly Mission.

        Inherited Methods:
        dji.common.error.DJIError
        method
        method getDJIError
        static DJIError getDJIError(int errorCode)
        Package:dji.common.error
        Description:

        Returns the specific error in the DJIFlightHubError according to the error code.

        Input Parameters:
        int errorCodeerrorCode for DJIFlightHubError.
        Return:
        static DJIErrorAn NSError object initialized with errorCode. If the errorCode was 0, returns nil.
        method getDescription
        String getDescription()
        Package:dji.common.error
        Description:

        Returns the description of the error code.

        Return:
        StringThe description of the error code.
        method setDescription
        void setDescription(String desc)
        Package:dji.common.error
        Description:

        Sets the description for the error code.

        Input Parameters:
        String descDescription string.