DJI Mobile SDK Documentation

      class GimbalKey

      class GimbalKey extends DJIKey
      Package:dji.keysdk
      Inherits From:DJIKey
      Description:

      GimbalKey is an object providing access to Gimbal attributes.

      Class Members:
      method
      method create
      static GimbalKey create(@GimbalParamKey @NonNull String paramKey)
      Package:dji.keysdk
      Description:

      Creates a Gimbal key.

      Input Parameters:
      @GimbalParamKey @NonNull String paramKeyA valid paramKey.
      Return:
      static GimbalKeyGimbal Key
      Inherited Methods:
      Class Keys:

      YAW_SMOOTH_TRACK_DEADBAND

      Access:

      SET, GET

      Type:

      Integer

      API:

      setSmoothTrackDeadband

      getSmoothTrackDeadband

      getYawSmoothTrackDeadband

      YAW_FINE_TUNE_IN_DEGREES

      Access:

      PUSH

      Type:

      Float

      API:

      -

      PITCH_MOTOR_CONTROL_PRE_CONTROL

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlPreControl

      getMotorControlPreControl

      PITCH_DOWN_ENDPOINT

      Access:

      SET, GET

      Type:

      Integer

      API:

      setEndpoint

      YAW_MOTOR_CONTROL_STRENGTH

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlStrength

      getMotorControlStrength

      YAW_RIGHT_ENDPOINT

      Access:

      SET, GET

      Type:

      Integer

      API:

      setEndpoint

      getEndpoint

      PITCH_CONTROLLER_SMOOTHING_FACTOR

      Access:

      SET, GET

      Type:

      Integer

      API:

      setControllerSmoothingFactor

      getControllerSmoothingFactor

      getPitchControllerSmoothingFactor

      YAW_INVERTED_CONTROL_ENABLED

      Access:

      SET, GET

      Type:

      -

      API:

      setInvertedControlEnabled

      getInvertedControlEnabled

      IS_MOBILE_DEVICE_MOUNTED

      Access:

      PUSH

      Type:

      -

      API:

      isMobileDeviceMounted

      IS_STUCK

      Access:

      PUSH

      Type:

      Boolean

      API:

      -

      PITCH_CONTROLLER_DEADBAND

      Access:

      SET, GET

      Type:

      Integer

      API:

      setControllerDeadband

      getControllerDeadband

      RESET_GIMBAL

      Access:

      ACTION

      Type:

      -

      API:

      reset

      GIMBAL_ATTITUDE_SYNCHRONIZATION_ENABLED

      Access:

      PUSH, SET

      Type:

      Boolean

      API:

      -

      PITCH_MOTOR_CONTROL_GYRO_FILTERING_FACTOR

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlGyroFilteringFactor

      getMotorControlGyroFilteringFactor

      YAW_SMOOTH_TRACK_ACCELERATION

      Access:

      SET, GET

      Type:

      Integer

      API:

      setSmoothTrackAcceleration

      getSmoothTrackAcceleration

      getYawSmoothTrackAcceleration

      ROLL_MOTOR_CONTROL_GYRO_FILTERING_FACTOR

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlGyroFilteringFactor

      getMotorControlGyroFilteringFactor

      ROTATE

      Access:

      ACTION

      Type:

      -

      API:

      rotate

      Rotation

      YAW_MOTOR_CONTROL_STIFFNESS

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlStiffness

      getMotorControlStiffness

      MODE

      Access:

      PUSH, SET

      Type:

      GimbalMode

      API:

      setMode

      getMode

      GimbalMode

      YAW_CONTROLLER_SPEED_COEFFICIENT

      Access:

      SET, GET

      Type:

      Integer

      API:

      setControllerSpeedCoefficient

      getControllerSpeedCoefficient

      getYawControllerSpeedCoefficient

      BALANCE_STATE

      Access:

      PUSH

      Type:

      -

      API:

      getBalanceState

      BalanceState

      YAW_SIMULTANEOUS_FOLLOW_ENABLED

      Access:

      SET, GET

      Type:

      Boolean

      API:

      -

      FINE_TUNE_PITCH_IN_DEGREES

      Access:

      ACTION

      Type:

      Float

      API:

      -

      IS_TESTING_BALANCE

      Access:

      PUSH

      Type:

      Boolean

      API:

      isBalanceTesting

      IS_CALIBRATING

      Access:

      PUSH

      Type:

      Boolean

      API:

      isCalibrating

      CAPABILITIES

      Access:

      GET

      Type:

      Map

      API:

      getCapabilities

      MOTOR_ENABLED

      Access:

      SET, GET

      Type:

      Boolean

      API:

      setMotorEnabled

      getMotorEnabled

      YAW_CONTROLLER_DEADBAND

      Access:

      SET, GET

      Type:

      Integer

      API:

      setControllerDeadband

      getControllerDeadband

      YAW_ANGLE_WITH_AIRCRAFT_IN_DEGREE

      Access:

      PUSH

      Type:

      Float

      API:

      getYawRelativeToAircraftHeading

      ROLL_TEST_RESULT

      Access:

      PUSH

      Type:

      BalanceTestResult

      API:

      getRollBalanceTestResult

      BalanceTestResult

      IS_CALIBRATION_SUCCESSFUL

      Access:

      PUSH

      Type:

      Boolean

      API:

      isCalibrationSuccessful

      APPLY_MOTOR_CONTROL_PRESET

      Access:

      ACTION

      Type:

      MotorControlPreset

      API:

      applyMotorControlPreset

      MotorControlPreset

      START_BALANCE_TEST

      Access:

      ACTION

      Type:

      -

      API:

      startBalanceTest

      YAW_MOTOR_CONTROL_PRE_CONTROL

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlPreControl

      getMotorControlPreControl

      PITCH_RANGE_EXTENSION_ENABLED

      Access:

      SET, GET

      Type:

      Boolean

      API:

      setPitchRangeExtensionEnabled

      getPitchRangeExtensionEnabled

      PITCH_SMOOTH_TRACK_ACCELERATION

      Access:

      SET, GET

      Type:

      Integer

      API:

      setSmoothTrackAcceleration

      getSmoothTrackAcceleration

      getPitchSmoothTrackAcceleration

      TOGGLE_SELFIE

      Access:

      ACTION

      Type:

      -

      API:

      toggleSelfie

      PITCH_SMOOTH_TRACK_ENABLED

      Access:

      SET, GET

      Type:

      Boolean

      API:

      setSmoothTrackEnabled

      getSmoothTrackEnabled

      isPitchSmoothTrackEnabled

      YAW_LEFT_ENDPOINT

      Access:

      SET, GET

      Type:

      Integer

      API:

      setEndpoint

      getEndpoint

      CONTROLLER_MODE

      Access:

      SET, GET

      Type:

      ControllerMode

      API:

      setControllerMode

      getControllerMode

      ControllerMode

      PITCH_SMOOTH_TRACK_DEADBAND

      Access:

      SET, GET

      Type:

      Integer

      API:

      setSmoothTrackDeadband

      getSmoothTrackDeadband

      getPitchSmoothTrackDeadband

      RESTORE_FACTORY_SETTINGS

      Access:

      ACTION

      Type:

      -

      API:

      restoreFactorySettings

      FINE_TUNE_YAW_IN_DEGREES

      Access:

      ACTION

      Type:

      Float

      API:

      -

      PITCH_SMOOTH_TRACK_SPEED

      Access:

      SET, GET

      Type:

      Integer

      API:

      setSmoothTrackSpeed

      getSmoothTrackSpeed

      getPitchSmoothTrackSpeed

      IS_ROLL_AT_STOP

      Access:

      PUSH

      Type:

      Boolean

      API:

      isRollAtStop

      IS_PITCH_AT_STOP

      Access:

      PUSH

      Type:

      Boolean

      API:

      isPitchAtStop

      IS_MOTOR_OVER_LOADED

      Access:

      PUSH

      Type:

      -

      API:

      isMotorOverloaded

      ATTITUDE_IN_DEGREES

      Access:

      PUSH

      Type:

      Attitude

      API:

      getAttitudeInDegrees

      Attitude

      YAW_CONTROLLER_SMOOTHING_FACTOR

      Access:

      SET, GET

      Type:

      Integer

      API:

      setControllerSmoothingFactor

      getControllerSmoothingFactor

      getYawControllerSmoothingFactor

      ROLL_MOTOR_CONTROL_STRENGTH

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlStrength

      getMotorControlStrength

      ROLL_MOTOR_CONTROL_PRE_CONTROL

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlPreControl

      getMotorControlPreControl

      MOVEMENT_SETTINGS_PROFILE

      Access:

      SET, GET

      Type:

      MovementSettingsProfile

      API:

      setMovementSettingsProfile

      getMovementSettingsProfile

      getProfile

      MovementSettingsProfile

      ROLL_MOTOR_CONTROL_STIFFNESS

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlStiffness

      getMotorControlStiffness

      CALIBRATION_PROGRESS

      Access:

      PUSH

      Type:

      Integer

      API:

      getCalibrationProgress

      SERIAL_NUMBER

      Access:

      GET

      Type:

      String

      API:

      -

      IS_GIMBAL_ON_TOP

      Access:

      PUSH

      Type:

      Boolean

      API:

      -

      PITCH_INVERTED_CONTROL_ENABLED

      Access:

      SET, GET

      Type:

      -

      API:

      setInvertedControlEnabled

      getInvertedControlEnabled

      PITCH_MOTOR_CONTROL_STRENGTH

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlStrength

      getMotorControlStrength

      PITCH_UP_ENDPOINT

      Access:

      SET, GET

      Type:

      Integer

      API:

      setEndpoint

      getEndpoint

      FINE_TUNE_ROLL_IN_DEGREES

      Access:

      ACTION

      Type:

      Float

      API:

      fineTuneRollInDegrees

      PITCH_TEST_RESULT

      Access:

      PUSH

      Type:

      BalanceTestResult

      API:

      getPitchBalanceTestResult

      BalanceTestResult

      YAW_MOTOR_CONTROL_GYRO_FILTERING_FACTOR

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlGyroFilteringFactor

      getMotorControlGyroFilteringFactor

      PITCH_CONTROLLER_SPEED_COEFFICIENT

      Access:

      SET, GET

      Type:

      Integer

      API:

      setControllerSpeedCoefficient

      getControllerSpeedCoefficient

      getPitchControllerSpeedCoefficient

      START_CALIBRATION

      Access:

      ACTION

      Type:

      -

      API:

      startCalibration

      IS_YAW_AT_STOP

      Access:

      PUSH

      Type:

      Boolean

      API:

      isYawAtStop

      PITCH_FINE_TUNE_IN_DEGREES

      Access:

      PUSH

      Type:

      Float

      API:

      -

      ROLL_FINE_TUNE_IN_DEGREES

      Access:

      PUSH

      Type:

      Float

      API:

      getRollFineTuneInDegrees

      PITCH_MOTOR_CONTROL_STIFFNESS

      Access:

      SET, GET

      Type:

      Integer

      API:

      setMotorControlStiffness

      getMotorControlStiffness

      IS_ATTITUDE_RESET

      Access:

      PUSH

      Type:

      Boolean

      API:

      -

      YAW_SMOOTH_TRACK_SPEED

      Access:

      SET, GET

      Type:

      Integer

      API:

      setSmoothTrackSpeed

      getSmoothTrackSpeed

      getYawSmoothTrackSpeed

      YAW_SMOOTH_TRACK_ENABLED

      Access:

      SET, GET

      Type:

      Boolean

      API:

      setSmoothTrackEnabled

      getSmoothTrackEnabled

      isYawSmoothTrackEnabled