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

      DJIGimbalParamFineTunePitchInDegrees

      Access:

      Action

      Type:

      NSArray (offset: float)

      API:

      -

      DJIGimbalParamIsRollAtStop

      Access:

      Push

      Type:

      Boolean

      API:

      isRollAtStop

      DJIGimbalParamApplyMotorControlPreset

      Access:

      Action

      Type:

      NSArray (preset: DJIGimbalMotorControlPreset)

      API:

      applyMotorControlPreset:withCompletion

      DJIGimbalParamYawSmoothTrackDeadband

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackDeadband:onAxis:withCompletion

      getSmoothTrackDeadbandOnAxis:withCompletion

      DJIGimbalParamYawRightEndpoint

      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

      DJIGimbalParamIsCalibratingStateDependProgress

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIGimbalParamPitchControllerMaxSpeed

      Access:

      Get, Set

      Type:

      NSUInteger

      API:

      -

      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

      DJIGimbalParamPitchSmoothTrackEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setSmoothTrackEnabled:onAxis:withCompletion

      getSmoothTrackEnabledOnAxis: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

      DJIGimbalParamYawSmoothTrackSpeed

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackSpeed:onAxis:withCompletion

      getSmoothTrackSpeedOnAxis:withCompletion

      DJIGimbalParamReset

      Access:

      Action

      Type:

      API:

      resetWithCompletion

      DJIGimbalParamRotate

      Access:

      Action

      Type:

      NSArray<DJIGimbalRotation> (rotation: DJIGimbalRotation)

      API:

      rotateWithRotation:completion

      DJIGimbalParamIsGimbalOverloaded

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIGimbalParamPitchMotorControlStrength

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStrength:onAxis:withCompletion

      getMotorControlStrengthOnAxis:withCompletion

      DJIGimbalParamCapabilities

      Access:

      Push

      Type:

      NSDictionaryDJIParamCapability>

      API:

      capabilities

      DJIGimbalParamYawMotorControlGyroFilteringFactor

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlGyroFilteringFactor:onAxis:withCompletion

      getMotorControlGyroFilteringFactorOnAxis:withCompletion

      DJIGimbalParamMode

      Access:

      Set, Push

      Type:

      DJIGimbalMode

      API:

      setMode:withCompletion

      mode

      DJIGimbalMode

      DJIGimbalParamRollMotorControlStiffness

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStiffness:onAxis:withCompletion

      getMotorControlStiffnessOnAxis:withCompletion

      DJIGimbalParamIsAttitudeReset

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIGimbalParamIsCalibrating

      Access:

      Push

      Type:

      Boolean

      API:

      isCalibrating

      DJIGimbalParamIsYawAtStop

      Access:

      Push

      Type:

      Boolean

      API:

      isYawAtStop

      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

      getControllerSmoothingFactorOnAxis:withCompletion

      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

      DJIGimbalParamYawControllerSmoothingFactor

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setControllerSmoothingFactor:onAxis:withCompletion

      getControllerSmoothingFactorOnAxis:withCompletion

      DJIGimbalParamPitchMotorControlPreControl

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlPreControl:onAxis:withCompletion

      getMotorControlPreControlOnAxis:withCompletion

      DJIGimbalParamRollMotorControlPreControl

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlPreControl:onAxis:withCompletion

      getMotorControlPreControlOnAxis:withCompletion

      DJIGimbalParamMovementSettingsProfile

      Access:

      Get, Set

      Type:

      DJIGimbalMovementSettingsProfile

      API:

      setMovementSettingsProfile:withCompletion

      getMovementSettingsProfileWithCompletion

      DJIGimbalMovementSettingsProfile

      DJIGimbalParamMotorEnabled

      Access:

      Push, Set, Get

      Type:

      Boolean

      API:

      setMotorEnabled:withCompletion

      getMotorEnabledWithCompletion

      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

      DJIGimbalParamPitchSmoothTrackDeadband

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackDeadband:onAxis:withCompletion

      getSmoothTrackDeadbandOnAxis:withCompletion

      DJIGimbalParamStickControlMode

      Access:

      Get, Set

      Type:

      DJIHandheldControllerStickControlMode

      API:

      setStickControllerMode:withCompletion

      getStickControllerModeWithCompletion

      DJIHandheldControllerStickControlMode

      DJIGimbalParamPitchInvertedControlEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setInvertedControlEnabled:onAxis:withCompletion

      getInvertedControlEnabledOnAxis:withCompletion

      DJIGimbalParamYawMotorControlStrength

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStrength:onAxis:withCompletion

      getMotorControlStrengthOnAxis:withCompletion

      DJIGimbalParamYawSmoothTrackAcceleration

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackAcceleration:onAxis:withCompletion

      getSmoothTrackAccelerationOnAxis:withCompletion

      DJIGimbalParamYawControllerMaxSpeed

      Access:

      Get, Set

      Type:

      NSUInteger

      API:

      -

      DJIGimbalParamPitchDownEndpoint

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setEndpoint:forDirection:withCompletion

      getEndpointForDirection:withCompletion

      DJIGimbalParamYawLeftEndpoint

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setEndpoint:forDirection:withCompletion

      getEndpointForDirection:withCompletion

      DJIGimbalParamYawControllerDeadband

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setControllerDeadband:onAxis:withCompletion

      getControllerDeadbandOnAxis:withCompletion

      DJIGimbalParamStartCalibration

      Access:

      Action

      Type:

      API:

      startCalibrationWithCompletion

      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

      DJIGimbalParamPitchRangeExtensionEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setPitchRangeExtensionEnabled:withCompletion

      getPitchRangeExtensionEnabledWithCompletion