DJIRCRemoteFocusState
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 isFocusControlWorkswill now be NO
- set
- Adjust dial back to f2.2
DJIRCRemoteFocusControlDirectionis the direction the dial should be rotatedisFocusControlWorkswill become YES when set back to f2.2
- Now the dial can be used to adjust the aperture.
-
YES if the focus control works. The control can be either changing the Aperture or Focal Length. If it is NO, follow the
DJIRCRemoteFocusControlDirectionto rotate the Remote Focus Device until it turns to YES again.Declaration
Objective-C
BOOL isFocusControlWorks -
Remote Focus Control Type
Declaration
Objective-C
DJIRCRemoteFocusControlType controlType -
Remote Focus Control Direction. Use this with the
isFocusControlWorksvalue. It will give you the correct rotation direction whenisFocusControlWorksis NO.Declaration
Objective-C
DJIRCRemoteFocusControlDirection direction
View on GitHub
DJIRCRemoteFocusState Struct Reference