DJI Mobile SDK Documentation

      class GimbalControlParametersAutoTuningState

      class GimbalControlParametersAutoTuningState
      Package:dji.common.gimbal.XPortState
      Description:

      This class provides gimbal's control parameters auto-tuning state.

      Class Members:
      Control Parameters Auto Tuning Status
      method
      method getStatus
      ControlParametersAutoTuningStatus getStatus()
      Package:dji.common.gimbal.XPortState
      Description:

      The control parameters auto tuning status.

      Return:
      ControlParametersAutoTuningStatusReturn an enum value of ControlParametersAutoTuningStatus.
      Progress
      method
      method getProcess
      int getProcess()
      Package:dji.common.gimbal.XPortState
      Description:

      Gimbal's control parameters auto-tuning progress in percentage.

      Return:
      intAn int value the auto-tuning progress.
      Check Load Installed
      method
      method isLoadInstalled
      boolean isLoadInstalled()
      Package:dji.common.gimbal.XPortState
      Description:

      Checks if the load has been installed.

      Return:
      booleanA boolean value to check if the load has been installed.
      Check Gimbal Attitude
      method
      method isBaseAttitudeNormal
      boolean isBaseAttitudeNormal()
      Package:dji.common.gimbal.XPortState
      Description:

      Checks if the attitude of gimbal base is normal. Returns false if the base is not placed horizontally.

      Return:
      booleanA boolean value to check if the attitude of gimbal base is normal.
      Check Gyro Drift
      method
      method isGyroDriftNormal
      boolean isGyroDriftNormal()
      Package:dji.common.gimbal.XPortState
      Description:

      Checks if gyro drift is normal. Returns false if the gyro drift is too large.

      Return:
      booleanA boolean value to check if the gyro drift is too large.
      Check Joint Angle Deviation
      method
      method isJointAngleDeviationNormal
      boolean isJointAngleDeviationNormal()
      Package:dji.common.gimbal.XPortState
      Description:

      Checks if joint angle deviation is normal. Returns false if the joint angle deviation is high.

      Return:
      booleanA boolean value to check if joint angle deviation is normal.
      Rotational Inertia On Roll
      method
      method getRotationalInertiaOnRoll
      RotationalInertiaState getRotationalInertiaOnRoll()
      Package:dji.common.gimbal.XPortState
      Description:

      Rotational inertia on roll axis.

      Return:
      RotationalInertiaStateReturn an enum value of RotationalInertiaState.
      Rotational Inertia On Pitch
      method
      method getRotationalInertiaOnPitch
      RotationalInertiaState getRotationalInertiaOnPitch()
      Package:dji.common.gimbal.XPortState
      Description:

      Rotational inertia on pitch axis.

      Return:
      RotationalInertiaStateReturn an enum value of RotationalInertiaState.
      Rotational Inertia On Yaw
      method
      method getRotationalInertiaOnYaw
      RotationalInertiaState getRotationalInertiaOnYaw()
      Package:dji.common.gimbal.XPortState
      Description:

      Rotational inertia on yaw axis.

      Return:
      RotationalInertiaStateReturn an enum value of RotationalInertiaState.
      Stiffness On Roll
      method
      method getStiffnessOnRoll
      AxialStiffnessState getStiffnessOnRoll()
      Package:dji.common.gimbal.XPortState
      Description:

      Stiffness on roll axis.

      Return:
      AxialStiffnessStateReturn an enum value of AxialStiffnessState.
      Stiffness On Pitch
      method
      method getStiffnessOnPitch
      AxialStiffnessState getStiffnessOnPitch()
      Package:dji.common.gimbal.XPortState
      Description:

      Stiffness on pitch axis.

      Return:
      AxialStiffnessStateReturn an enum value of AxialStiffnessState.
      Stiffness On Yaw
      method
      method getStiffnessOnYaw
      AxialStiffnessState getStiffnessOnYaw()
      Package:dji.common.gimbal.XPortState
      Description:

      Stiffness on yaw axis.

      Return:
      AxialStiffnessStateReturn an enum value of AxialStiffnessState.
      Check if Roll Locked
      method
      method isRollLocked
      boolean isRollLocked()
      Package:dji.common.gimbal.XPortState
      Description:

      true if gimbal's roll axis is locked.

      Return:
      booleanA boolean value to check roll locked.
      Check if Pitch Locked
      method
      method isPitchLocked
      boolean isPitchLocked()
      Package:dji.common.gimbal.XPortState
      Description:

      true if gimbal's pitch axis is locked.

      Return:
      booleanA boolean value to check pitch locked.
      method isYawLocked
      boolean isYawLocked()
      Package:dji.common.gimbal.XPortState
      Description:

      true if gimbal's yaw axis is locked.

      Return:
      booleanA boolean value to check yaw locked.
      Protecting Gimbal Motor Locked Rotor
      method
      method isProtectingGimbalMotorLockedRotor
      boolean isProtectingGimbalMotorLockedRotor()
      Package:dji.common.gimbal.XPortState
      Description:

      true if gimbal motor is locked-rotor and is being protected.

      Return:
      booleanA boolean value to check gimbal motor status.
      Check if Aircraft Motor On
      method
      method isAircraftMotorOn
      boolean isAircraftMotorOn()
      Package:dji.common.gimbal.XPortState
      Description:

      true if the aircraft's motor is on.

      Return:
      booleanA boolean value to check if aircraft motor is on.
      Callbacks
      class