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

      DJIGimbalParamYawMotorControlPreControl

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlPreControl:onAxis:withCompletion

      getMotorControlPreControlOnAxis:withCompletion

      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

      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

      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

      DJIGimbalParamPitchControllerMaxSpeed

      Access:

      Get, Set

      Type:

      NSUInteger

      API:

      -

      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

      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

      DJIGimbalParamPitchSmoothTrackEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setSmoothTrackEnabled:onAxis:withCompletion

      getSmoothTrackEnabledOnAxis:withCompletion

      DJIGimbalParamPitchMotorControlStrength

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setMotorControlStrength:onAxis:withCompletion

      getMotorControlStrengthOnAxis:withCompletion

      DJIGimbalParamCalibrationProgress

      Access:

      Push

      Type:

      NSInteger

      API:

      calibrationProgress

      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

      DJIGimbalParamPitchSmoothTrackSpeed

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setSmoothTrackSpeed:onAxis:withCompletion

      getSmoothTrackSpeedOnAxis:withCompletion

      DJIGimbalParamMotorEnabled

      Access:

      Push, Set, Get

      Type:

      Boolean

      API:

      setMotorEnabled:withCompletion

      getMotorEnabledWithCompletion

      DJIGimbalParamToggleSelfie

      Access:

      Action

      Type:

      API:

      toggleSelfieWithCompletion

      DJIGimbalParamYawSmoothTrackEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setSmoothTrackEnabled:onAxis:withCompletion

      getSmoothTrackEnabledOnAxis:withCompletion

      DJIGimbalParamFineTuneRollInDegrees

      Access:

      Action

      Type:

      NSArray (offset: float)

      API:

      fineTuneRollInDegrees:withCompletion

      fineTunedRoll

      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

      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

      DJIGimbalParamFineTunePitchInDegrees

      Access:

      Action

      Type:

      NSArray (offset: float)

      API:

      -

      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

      DJIGimbalParamIsGimbalOverloaded

      Access:

      Push

      Type:

      Boolean

      API:

      -

      DJIGimbalParamYawControllerSpeedCoefficient

      Access:

      Get, Set

      Type:

      NSInteger

      API:

      setControllerSpeedCoefficient:onAxis:withCompletion

      getControllerSpeedCoefficientOnAxis:withCompletion

      DJIGimbalParamPitchRangeExtensionEnabled

      Access:

      Get, Set

      Type:

      Boolean

      API:

      setPitchRangeExtensionEnabled:withCompletion

      getPitchRangeExtensionEnabledWithCompletion