Structs
The following structs are available globally.
-
Defines the No Fly Zone Data structure.
See moreDeclaration
Objective-C
struct {}
-
Aircraft attitude. The attitude of the aircraft is made up of the pitch, roll, and yaw.
See moreDeclaration
Objective-C
struct {}
-
Contains all the virtual stick control data needed to move the aircraft in all directions.
See moreDeclaration
Objective-C
struct {}
-
The Flight Controller Smart Go Home Status
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s control channel.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s control channel.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s control mode.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s control permission.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s gimbal control speed.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s battery info.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s GPS time.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s GPS data. Only Inspire and M100 Remote Controllers have GPS.
See moreDeclaration
Objective-C
struct {}
-
Current state of the Camera Settings Dial (upper right wheel on the Remote Controller).
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s left wheel.
See moreDeclaration
Objective-C
struct {}
-
Transformation Switch position. The Transformation Switch is around the Return To Home Button on Inspire, Inspire 1 and M100 Remote Controllers, and controls the state of the aircraft’s landing gear.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller has numerous momentary push buttons, which will use this state.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s joystick
See moreDeclaration
Objective-C
struct {}
-
State of the 5D button on the remote controller. Vertical movement, horizontal movment and if it is pressed are not exclusive.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s current state.
See moreDeclaration
Objective-C
struct {}
-
Remote Controller’s Remote Focus State
The focus product has one dial (focus control) that controls two separate parts of the camera: focal length and aperture. However it can only control one of these at any one time and is an absolute dial, meaning that a specific rotational position of the dial corresponds to a specific focal length or aperture.
This means that whenever the dial control mode is changed, the dial first has to be reset to the new mode’s previous dial position before the dial can be used to adjust the setting of the new mode.
Example workflow:
- Use dial to set an Aperture of f2.2
- Change dial control mode to focal length (set
DJIRCRemoteFocusControlType
) - Use the dial to change the focal length
- Change dial control mode back to aperture
- set
DJIRCRemoteFocusControlType
isFocusControlWorks
will now be NO
- set
- Adjust dial back to f2.2
DJIRCRemoteFocusControlDirection
is the direction the dial should be rotatedisFocusControlWorks
will become YES when set back to f2.2
- Now the dial can be used to adjust the aperture.
Declaration
Objective-C
struct {}
-
AEB continuous capture parameter values.
See moreDeclaration
Objective-C
struct {}
-
Sets the number of pictures, and sets the time interval between pictures for the Interval shoot photo mode.
See moreDeclaration
Objective-C
struct {}
-
This class contains current values for some camera parameters related to exposure, which determines how sensitive the picture is to light and depends on the balance of the ISO value, the shutter speed, and the aperture value. When the camera is in different exposure modes, different parameters are automatically changed by the camera to either get the correct exposure (in Program, Shutter Priority and Aperture Priority modes), or report back the current exposure (in Manual mode). The current values of these parameters used by the camera are contained in this class.
See moreDeclaration
Objective-C
struct {}
-
The profile of the thermal imaging camera, which includes information about resolution, frame rate and focal length. Supported only by thermal imaging cameras.
See moreDeclaration
Objective-C
struct {}
-
Declaration
Objective-C
struct {}
-
Thermal cameras measure the apparent surface temperature of a given object. This is done by taking the amount of infrared radiation an object emits and calculating the surface temperature by applying a formula that adjusts for external factors.
This struct includes all of the external scene parameters that the thermal camera firmware allows to be customized. There are two types of parameters, optical parameters which specify how much infrared radiation is transmitted from the surface to the thermal sensor, as well as parameters that specify sources of thermal radiance other than the object.
For a more in-depth overview of the physics behind thermal imaging, see https://en.wikipedia.org/wiki/Thermography.
See moreDeclaration
Objective-C
struct {}
-
Zoom lens profile. Includes focal length range and minimum focal length step. Supported by X5, X5R and X5S with zoom lens, Z3 camera and Z30 camera.
See moreDeclaration
Objective-C
struct {}
-
The gimbal’s attitude relative to the aircraft.
See moreDeclaration
Objective-C
struct {}
-
Struct used to control the gimbal by angle (either absolutely or relatively).
See moreDeclaration
Objective-C
struct {}
-
Struct used to control the gimbal by speed.
See moreDeclaration
Objective-C
struct {}