class DJIRCAircraftMapping
@interface DJIRCAircraftMapping : NSObject
|
Description:
The object representing the stick mapping configuration of the remote controller.
Class Members:
property leftVertical
@property(nonatomic, readonly) DJIRCAircraftStickMapping leftVertical
|
Header: | DJIRemoteControllerBaseTypes.h |
Description:
The mapping configuration for the left stick on the vertical axis.
See Also:
DJIRCAircraftStickMapping
property leftHorizontal
@property(nonatomic, readonly) DJIRCAircraftStickMapping leftHorizontal
|
Header: | DJIRemoteControllerBaseTypes.h |
Description:
The mapping configuration for the left stick on the horizontal axis.
See Also:
DJIRCAircraftStickMapping
property rightVertical
@property(nonatomic, readonly) DJIRCAircraftStickMapping rightVertical
|
Header: | DJIRemoteControllerBaseTypes.h |
Description:
The mapping configuration for the right stick on the vertical axis.
See Also:
DJIRCAircraftStickMapping
property rightHorizontal
@property(nonatomic, readonly) DJIRCAircraftStickMapping rightHorizontal
|
Header: | DJIRemoteControllerBaseTypes.h |
Description:
The mapping configuration for the right stick on the horizontal axis.
See Also:
DJIRCAircraftStickMapping
Mapping With Style
class method
class method mappingWithStyle
+(instancetype) mappingWithStyle:(DJIRCAircraftMappingStyle)style
|
Header: | DJIRemoteControllerBaseTypes.h |
Description:
Creates an instance of DJIRCAircraftMapping
with the given style.
Custom Mapping
class method
class method mappingWithCustomMappingLeftVertical:leftHorizontal:rightVertical:rightHorizontal
+(instancetype) mappingWithCustomMappingLeftVertical:(DJIRCAircraftStickMapping)leftVertical leftHorizontal:(DJIRCAircraftStickMapping)leftHorizontal rightVertical:(DJIRCAircraftStickMapping)rightVertical rightHorizontal:(DJIRCAircraftStickMapping)rightHorizontal
|
Header: | DJIRemoteControllerBaseTypes.h |
Description:
Creates an instance of DJIRCAircraftMapping
with a custom style and given mapping configurations.
enum DJIRCAircraftStickMappingTarget
typedef NS_ENUM (uint8_t, DJIRCAircraftStickMappingTarget)
|
Header: | DJIRemoteControllerBaseTypes.h |
Description:
The list of controls that may be mapped on a stick.
Enum Members:
DJIRCAircraftStickMappingTargetNone | None |
DJIRCAircraftStickMappingTargetThrottle | Controls Throttle |
DJIRCAircraftStickMappingTargetPitch | Controls Pitch |
DJIRCAircraftStickMappingTargetRoll | Controls Roll |
DJIRCAircraftStickMappingTargetYaw | Controls Yaw |
DJIRCAircraftStickMappingUnknown | Unknown. |
struct DJIRCAircraftStickMapping
typedef struct { DJIRCAircraftStickMappingTarget target; BOOL isReversed; } DJIRCAircraftStickMapping
|
Header: | DJIRemoteControllerBaseTypes.h |
Description:
A struct representing a mapping configuration which includes the particular control and whether or not it is reversed.
Struct Members:
enum DJIRCAircraftMappingStyle
typedef NS_ENUM (uint8_t, DJIRCAircraftMappingStyle)
|
Description:
The predefined mapping styles available to use. Custom allow to specify all mapping configurations.
Enum Members:
DJIRCAircraftMappingStyle1 | Style 1.(Japanese Mode) |
DJIRCAircraftMappingStyle2 | Style 2.(American Mode) |
DJIRCAircraftMappingStyle3 | Style 3.(Chinese Mode) |
DJIRCAircraftMappingStyleCustom | Custom Style. Requires all mapping configurations. |
DJIRCAircraftMappingStyleUnknown | Unknown style. |