DJI Mobile SDK Documentation

      class DJIRCGimbalMapping

      @interface DJIRCGimbalMapping : NSObject
      Header:DJIRemoteControllerBaseTypes.h
      Inherits From:NSObject
      SDK Key:DJIRemoteControllerKey.DJIRemoteControllerParamCustomGimbalMapping
      Description:

      The mapping styles to control the Gimbal.

      Class Members:
      Left Vertical
      property
      property leftVertical
      @property(nonatomic, readonly) DJIRCGimbalStickMapping leftVertical
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      The mapping configuration for the left stick on the vertical axis.

      See Also:

      DJIRCGimbalStickMapping

      Left Horizontal
      property
      property leftHorizontal
      @property(nonatomic, readonly) DJIRCGimbalStickMapping leftHorizontal
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      The mapping configuration for the left stick on the horizontal axis.

      See Also:

      DJIRCGimbalStickMapping

      Right Vertical
      property
      property rightVertical
      @property(nonatomic, readonly) DJIRCGimbalStickMapping rightVertical
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      The mapping configuration for the right stick on the vertical axis.

      See Also:

      DJIRCGimbalStickMapping

      Right Horizontal
      property
      property rightHorizontal
      @property(nonatomic, readonly) DJIRCGimbalStickMapping rightHorizontal
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      The mapping configuration for the right stick on the horizontal axis.

      See Also:

      DJIRCGimbalStickMapping

      Mapping with Default Style
      class method
      class method mappingWithDefaultStyle
      +(instancetype) mappingWithDefaultStyle
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      Creates an instance of DJIRCGimbalMapping with the default mapping style.

      class method mappingWithCustomMappingLeftVertical:leftHorizontal:rightVertical:rightHorizontal
      +(instancetype) mappingWithCustomMappingLeftVertical:(DJIRCGimbalStickMapping)leftVertical
      leftHorizontal:(DJIRCGimbalStickMapping)leftHorizontal
      rightVertical:(DJIRCGimbalStickMapping)rightVertical
      rightHorizontal:(DJIRCGimbalStickMapping)rightHorizontal
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      Creates an instance of DJIRCGimbalMapping with a custom mapping style which will be defined using the passed mapping configurations.

      Input Parameters:
      DJIRCGimbalStickMapping leftVerticalThe DJIRCGimbalStickMapping object.
      DJIRCGimbalStickMapping leftHorizontalThe DJIRCGimbalStickMapping object.
      DJIRCGimbalStickMapping rightVerticalThe DJIRCGimbalStickMapping object.
      DJIRCGimbalStickMapping rightHorizontalThe DJIRCGimbalStickMapping object.
      State Updates - Master/Slave
      enum
      enum DJIRCGimbalStickMappingTarget
      typedef NS_ENUM (uint8_t, DJIRCGimbalStickMappingTarget)
      Header:DJIRemoteControllerBaseTypes.h
      Description:

      The list of available control to be used when creating custom mapping configurations

      Enum Members:
      DJIRCGimbalStickMappingTargetNoneNone
      DJIRCGimbalStickMappingTargetPitchPitch
      DJIRCGimbalStickMappingTargetRollRoll
      DJIRCGimbalStickMappingTargetYawYaw