Structs

The following structs are available globally.

  • Aircraft attitude. The attitude of the aircraft is made up of the pitch, roll, and yaw.

    See more

    Declaration

    Objective-C

    struct {}
  • Remote Controller’s GPS data. Only Inspire and M100 Remote Controllers have GPS.

    See more

    Declaration

    Objective-C

    struct {}
  • Current state of the Camera Settings Dial (upper right wheel on the Remote Controller).

    See more

    Declaration

    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 more

    Declaration

    Objective-C

    struct {}
  • Remote Controller has numerous momentary push buttons, which will use this state.

    See more

    Declaration

    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 more

    Declaration

    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:

    1. Use dial to set an Aperture of f2.2
    2. Change dial control mode to focal length (set DJIRCRemoteFocusControlType)
    3. Use the dial to change the focal length
    4. Change dial control mode back to aperture
    5. Adjust dial back to f2.2
    6. Now the dial can be used to adjust the aperture.

    See more

    Declaration

    Objective-C

    struct {}
  • A cartesian vector in 3D space.

    See more

    Declaration

    Objective-C

    struct {}
  • Sets the number of pictures, and sets the time interval between pictures for the Interval shoot photo mode.

    See more

    Declaration

    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 more

    Declaration

    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 more

    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 more

    Declaration

    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 more

    Declaration

    Objective-C

    struct {}