DJI Mobile SDK Documentation

      class DJIGimbalKey

      @interface DJIGimbalKey : DJIKey
      Header:DJIGimbalKey.h
      Inherits From:DJIKey
      Description:

      DJIGimbalKey is an object providing access to Gimbal attributes.

      Class Keys:

      DJIGimbalParamPitchControllerDeadband

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setControllerDeadband:onAxis:withCompletion

      getControllerDeadbandOnAxis:withCompletion

      DJIGimbalParamIsRollAtStop

      Access:

      Push

      Type:

      Boolean

      API:

      isRollAtStop

      DJIGimbalParamApplyMotorControlPreset

      Access:

      Action

      Type:

      NSArray (preset: DJIGimbalMotorControlPreset)

      API:

      applyMotorControlPreset:withCompletion

      DJIGimbalParamYawSmoothTrackSpeed

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackSpeed:onAxis:withCompletion

      getSmoothTrackSpeedOnAxis:withCompletion

      DJIGimbalParamYawSmoothTrackDeadband

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackDeadband:onAxis:withCompletion

      getSmoothTrackDeadbandOnAxis:withCompletion

      DJIGimbalParamYawLeftEndpoint

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setEndpoint:forDirection:withCompletion

      getEndpointForDirection:withCompletion

      DJIGimbalParamRollMotorControlStrength

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStrength:onAxis:withCompletion

      getMotorControlStrengthOnAxis:withCompletion

      DJIGimbalParamRollMotorControlGyroFilteringFactor

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlGyroFilteringFactor:onAxis:withCompletion

      getMotorControlGyroFilteringFactorOnAxis:withCompletion

      DJIGimbalParamIsAttitudeReset

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIGimbalParamIsCalibratingStateDependProgress

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIGimbalParamYawMotorControlStrength

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStrength:onAxis:withCompletion

      getMotorControlStrengthOnAxis:withCompletion

      DJIGimbalParamRestoreFactorySettings

      Access:

      Action

      Type:

      API:

      restoreFactorySettings

      DJIGimbalParamPitchMotorControlGyroFilteringFactor

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlGyroFilteringFactor:onAxis:withCompletion

      getMotorControlGyroFilteringFactorOnAxis:withCompletion

      DJIGimbalParamCalibrationProgress

      Access:

      Push

      Type:

      NSInteger

      API:

      calibrationProgress

      DJIGimbalParamYawSimultaneousFollowEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      -

      DJIGimbalParamPitchMotorControlStiffness

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStiffness:onAxis:withCompletion

      getMotorControlStiffnessOnAxis:withCompletion

      DJIGimbalComponent

      Access:

      -

      Type:

      -

      API:

      DJIGimbal

      DJIGimbalParamYawRightEndpoint

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setEndpoint:forDirection:withCompletion

      getEndpointForDirection:withCompletion

      DJIGimbalParamStartBalanceTest

      Access:

      Action

      Type:

      API:

      startBalanceTestWithCompletion

      DJIGimbalParamLandingGearProtectionEnabled

      Access:

      Set

      Type:

      Boolean

      API:

      -

      DJIGimbalParamPitchUpEndpoint

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setEndpoint:forDirection:withCompletion

      getEndpointForDirection:withCompletion

      DJIGimbalParamAttitudeInDegrees

      Access:

      Push

      Type:

      DJIGimbalAttitude

      API:

      attitudeInDegrees

      DJIGimbalAttitude

      DJIGimbalParamYawControllerDeadband

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setControllerDeadband:onAxis:withCompletion

      getControllerDeadbandOnAxis:withCompletion

      DJIGimbalParamReset

      Access:

      Action

      Type:

      API:

      resetWithCompletion

      DJIGimbalParamBalanceDetectionState

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamRotate

      Access:

      Action

      Type:

      NSArray<DJIGimbalRotation> (rotation: DJIGimbalRotation)

      API:

      rotateWithRotation:completion

      DJIGimbalParamIsYawAtStop

      Access:

      Push

      Type:

      Boolean

      API:

      isYawAtStop

      DJIGimbalParamPitchMotorControlStrength

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStrength:onAxis:withCompletion

      getMotorControlStrengthOnAxis:withCompletion

      DJIGimbalParamStartCoaxialityDetection

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamPitchSmoothTrackDeadband

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackDeadband:onAxis:withCompletion

      getSmoothTrackDeadbandOnAxis:withCompletion

      DJIGimbalParamYawMotorControlGyroFilteringFactor

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlGyroFilteringFactor:onAxis:withCompletion

      getMotorControlGyroFilteringFactorOnAxis:withCompletion

      DJIGimbalParamMode

      Access:

      Set, Push

      Type:

      DJIGimbalMode

      API:

      setMode:withCompletion

      mode

      DJIGimbalMode

      DJIGimbalParamIsGimbalOverloaded

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIGimbalParamRollMotorControlStiffness

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStiffness:onAxis:withCompletion

      getMotorControlStiffnessOnAxis:withCompletion

      DJIGimbalParamPitchRangeExtensionEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setPitchRangeExtensionEnabled:withCompletion

      getPitchRangeExtensionEnabledWithCompletion

      DJIGimbalParamIsCalibrating

      Access:

      Push

      Type:

      Boolean

      API:

      isCalibrating

      DJIGimbalParamPitchControllerMaxSpeed

      Access:

      Get, Set

      Type:

      NSUInteger

      API:

      -

      DJIGimbalParamPitchControllerSpeedCoefficient

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setControllerSpeedCoefficient:onAxis:withCompletion

      getControllerSpeedCoefficientOnAxis:withCompletion

      DJIGimbalParamAttitudeSynchronizationEnabled

      Access:

      Set, Push

      Type:

      Boolean

      API:

      -

      DJIGimbalParamIsPitchAtStop

      Access:

      Push

      Type:

      Boolean

      API:

      isPitchAtStop

      DJIGimbalParamPitchControllerSmoothingFactor

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setControllerSmoothingFactor:onAxis:withCompletion

      setControllerSmoothingFactor:onAxis:onDifferentMode:withCompletion

      getControllerSmoothingFactorOnAxis:withCompletion

      getControllerSmoothingFactorOnAxis:onDifferentMode:withCompletion

      DJIGimbalParamControlParametersAutoTuningState

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamYawInvertedControlEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setInvertedControlEnabled:onAxis:withCompletion

      getInvertedControlEnabledOnAxis:withCompletion

      DJIGimbalParamAttitudeYawRelativeToAircraft

      Access:

      Push

      Type:

      Double

      API:

      yawRelativeToAircraftHeading

      DJIGimbalParamPitchSmoothTrackAcceleration

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackAcceleration:onAxis:withCompletion

      getSmoothTrackAccelerationOnAxis:withCompletion

      DJIGimbalParamYawMotorControlStiffness

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStiffness:onAxis:withCompletion

      getMotorControlStiffnessOnAxis:withCompletion

      DJIGimbalParamCoaxialityDetectionState

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamYawControllerSmoothingFactor

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setControllerSmoothingFactor:onAxis:withCompletion

      setControllerSmoothingFactor:onAxis:onDifferentMode:withCompletion

      getControllerSmoothingFactorOnAxis:withCompletion

      getControllerSmoothingFactorOnAxis:onDifferentMode:withCompletion

      DJIGimbalParamStopBalanceDetection

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamRollMotorControlPreControl

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlPreControl:onAxis:withCompletion

      getMotorControlPreControlOnAxis:withCompletion

      DJIGimbalParamStartBalanceDetection

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamMotorEnabled

      Access:

      Push, Set, Get

      Type:

      Boolean

      API:

      setMotorEnabled:withCompletion

      getMotorEnabledWithCompletion

      DJIGimbalParamResetControlParameters

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamStartControlParametersAutoTuning

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamPitchSmoothTrackEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setSmoothTrackEnabled:onAxis:withCompletion

      getSmoothTrackEnabledOnAxis:withCompletion

      DJIGimbalParamYawControllerSpeedCoefficient

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setControllerSpeedCoefficient:onAxis:withCompletion

      getControllerSpeedCoefficientOnAxis:withCompletion

      DJIGimbalParamToggleSelfie

      Access:

      Action

      Type:

      API:

      toggleSelfieWithCompletion

      DJIGimbalParamYawSmoothTrackEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setSmoothTrackEnabled:onAxis:withCompletion

      getSmoothTrackEnabledOnAxis:withCompletion

      DJIGimbalParamYawMotorControlPreControl

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlPreControl:onAxis:withCompletion

      getMotorControlPreControlOnAxis:withCompletion

      DJIGimbalParamStickControlMode

      Access:

      Get, Set

      Type:

      DJIHandheldControllerStickControlMode

      API:

      setStickControllerMode:withCompletion

      getStickControllerModeWithCompletion

      DJIHandheldControllerStickControlMode

      DJIGimbalParamPitchInvertedControlEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setInvertedControlEnabled:onAxis:withCompletion

      getInvertedControlEnabledOnAxis:withCompletion

      DJIGimbalParamResetWithAxis

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamYawSmoothTrackAcceleration

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackAcceleration:onAxis:withCompletion

      getSmoothTrackAccelerationOnAxis:withCompletion

      DJIGimbalParamCapabilities

      Access:

      Push

      Type:

      NSDictionaryDJIParamCapability>

      API:

      capabilities

      DJIGimbalParamPitchDownEndpoint

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setEndpoint:forDirection:withCompletion

      getEndpointForDirection:withCompletion

      DJIGimbalParamFineTunePitchInDegrees

      Access:

      Action

      Type:

      NSArray (offset: float)

      API:

      -

      DJIGimbalParamStopCoaxialityDetection

      Access:

      -

      Type:

      -

      API:

      -

      DJIGimbalParamStartCalibration

      Access:

      Action

      Type:

      API:

      startCalibrationWithCompletion

      DJIGimbalParamPitchMotorControlPreControl

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlPreControl:onAxis:withCompletion

      getMotorControlPreControlOnAxis:withCompletion

      DJIGimbalParamMovementSettingsProfile

      Access:

      Get, Set

      Type:

      DJIGimbalMovementSettingsProfile

      API:

      setMovementSettingsProfile:withCompletion

      getMovementSettingsProfileWithCompletion

      DJIGimbalMovementSettingsProfile

      DJIGimbalParamIsCalibrationSuccessful

      Access:

      Push

      Type:

      Boolean

      API:

      isCalibrationSuccessful

      DJIGimbalParamPitchSmoothTrackSpeed

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackSpeed:onAxis:withCompletion

      getSmoothTrackSpeedOnAxis:withCompletion

      DJIGimbalParamFineTuneRollInDegrees

      Access:

      Action

      Type:

      NSArray (offset: float)

      API:

      fineTuneRollInDegrees:withCompletion

      fineTunedRoll

      DJIGimbalParamYawControllerMaxSpeed

      Access:

      Get, Set

      Type:

      NSUInteger

      API:

      -

      DJIGimbalParamStopControlParametersAutoTuning

      Access:

      -

      Type:

      -

      API:

      -