DJI Mobile SDK Documentation

      class AircraftMapping

      @EXClassNullAway
      class AircraftMapping
      Package:dji.common.remotecontroller
      SDK Key:RemoteControllerKey.AIRCRAFT_CUSTOM_MAPPING
      Description:

      The object representing the stick mapping configuration of the remote controller.

      Class Members:
      Aircraft Mapping Style
      property
      property aircraftMappingStyle
      AircraftMappingStyle aircraftMappingStyle
      Package:dji.common.remotecontroller
      Description:

      The mapping style to which the Remote Controller is set.

      See Also:

      AircraftMappingStyle

      Left Vertical
      property
      property leftVertical
      AircraftStickMapping leftVertical
      Package:dji.common.remotecontroller
      Description:

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

      See Also:

      AircraftStickMapping

      Left Horizontal
      property
      property leftHorizontal
      AircraftStickMapping leftHorizontal
      Package:dji.common.remotecontroller
      Description:

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

      See Also:

      AircraftStickMapping

      Right Vertical
      property
      property rightVertical
      AircraftStickMapping rightVertical
      Package:dji.common.remotecontroller
      Description:

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

      See Also:

      AircraftStickMapping

      Right Horizontal
      property
      property rightHorizontal
      AircraftStickMapping rightHorizontal
      Package:dji.common.remotecontroller
      Description:

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

      See Also:

      AircraftStickMapping

      Constructor
      method
      method AircraftMapping
      AircraftMapping(AircraftMappingStyle style)
      Package:dji.common.remotecontroller
      Description:

      Constructor with a defined mapping style.

      Input Parameters:
      AircraftMappingStyle styleThe AircraftMappingStyle object.
      method AircraftMapping
      AircraftMapping(@Nullable AircraftStickMapping leftVertical,
      @Nullable AircraftStickMapping leftHorizontal, @Nullable AircraftStickMapping rightVertical, @Nullable AircraftStickMapping rightHorizontal)
      Package:dji.common.remotecontroller
      Description:

      Constructor with defined mappings.

      Input Parameters:
      @Nullable AircraftStickMapping leftVerticalThe AircraftMappingStyle object.
      @Nullable AircraftStickMapping leftHorizontalThe AircraftMappingStyle object.
      @Nullable AircraftStickMapping rightVerticalThe AircraftMappingStyle object.
      @Nullable AircraftStickMapping rightHorizontalThe AircraftMappingStyle object.
      enum AircraftStickMappingTarget
      @EXClassNullAway
      enum AircraftStickMappingTarget
      Package:dji.common.remotecontroller
      Description:

      The list of controls that may be mapped on a stick.

      Enum Members:
      NONENone
      THROTTLEControls Throttle
      PITCHControls Pitch
      ROLLControls Roll
      YAWControls Yaw
      Class Members:
      enum AircraftMappingStyle
      @EXClassNullAway
      enum AircraftMappingStyle
      Package:dji.common.remotecontroller
      SDK Key:RemoteControllerKey.AIRCRAFT_MAPPING_STYLE
      Description:

      The predefined mapping styles available to use. Custom allow to specify all mapping configurations.

      Enum Members:
      STYLE_1Style 1.(Japanese Mode)
      STYLE_2Style 2.(American Mode)
      STYLE_3Style 3.(Chinese Mode)
      STYLE_CUSTOMCustom Style. Requires all mapping configurations.
      UNKNOWNUnknown style.
      Class Members: