DJI Mobile SDK Documentation

      class GimbalAttitudeActionError

      class GimbalAttitudeActionError extends DJIError
      Package:dji.sdk.mission.error
      Inherits From:DJIError
      Description:

      A list of all errors relative to the gimbal attitude action.

      Class Members:

      Members

      final YAW_OUTSIDE_MAX_CAPABILITIES
      static final GimbalAttitudeActionError
      YAW_OUTSIDE_MAX_CAPABILITIES = new GimbalAttitudeActionError("Yaw value passed is beyond the max capabilities of the gimbal")
      Package:dji.sdk.mission.error
      Description:

      Yaw value passed is beyond the max capabilities of the gimbal.

      final PITCH_OUTSIDE_MAX_CAPABILITIES
      static final GimbalAttitudeActionError
      PITCH_OUTSIDE_MAX_CAPABILITIES = new GimbalAttitudeActionError("Pitch value passed is beyond the max capabilities of the gimbal")
      Package:dji.sdk.mission.error
      Description:

      Pitch value passed is beyond the max capabilities of the gimbal.

      final ROLL_OUTSIDE_MAX_CAPABILITIES
      static final GimbalAttitudeActionError
      ROLL_OUTSIDE_MAX_CAPABILITIES = new GimbalAttitudeActionError("Roll value passed is beyond the max capabilities of the gimbal")
      Package:dji.sdk.mission.error
      Description:

      Roll value passed is beyond the max capabilities of the gimbal.

      final COMPLETION_TIME_INVALID
      static final GimbalAttitudeActionError
      COMPLETION_TIME_INVALID = new GimbalAttitudeActionError("Completion Time value passed is invalid (<0)")
      Package:dji.sdk.mission.error
      Description:

      Completion Time value passed is invalid (less than 0).

      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 getDJIError
      static DJIError getDJIError(int errorCode)
      Package:dji.sdk.utmiss
      Description:

      Get DJIUTMISSError.

      Input Parameters:
      int errorCodeAn int value of error code.
      Return:
      static DJIErrorAn object of DJIError.
      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.