This class contains interfaces related to the hand controller of a handheld device (such as Osmo). This object is available from the DJIHandheld subclass off DJIBaseProduct.
The power mode to set. CAUTION! When the mode is DJIHandheldPowerModeOff, the handheld product will be shut down and the connection will be broken. The user must then power on the device manually.
Enables/disables the gimbal control with the joystick. By default, it is enabled. The handheld will be reset to the default value when it reboots or SDK reinitializes. When gimbal control is disabled, the joystick can be used for other purposes in an SDK application by reading its position values with DJIHandheldStickVerticalDirection and DJIHandheldStickHorizontalDirection. Only supported in firmware version 1.2.0.40 or above.
The handheld product is awake. For Osmo, when it is in this mode, all the components in DJIHandheld are accessible.
DJIHandheldPowerModeSleeping
The handheld product is sleeping. The handheld controller keeps the wireless connection to the mobile device alive but most other components are off. The power consumption is low in this mode. For Osmo in this mode, only the DJIHandheldController, DJIAirLink, and DJIBattery are accessible.
DJIHandheldPowerModeOff
The handheld product is powered off. Once this mode is set the delegate will receive this mode until the handheld device is shut down completely. It is not supported by Osmo Mobile.
The control mode for the gimbal physical controller (joystick for Osmo). The total controller deflection is a combination of horizontal and vertical deflection. This translates to gimbal movement around the yaw and pitch axes. The gimbal can be set to either move in both yaw and pitch simultaneously based on horizontal and vertical deflection of the controller, or move in only yaw or pitch exclusively based on whether horizontal or vertical deflection is larger.
Enum Members:
DJIHandheldControllerStickControlModeOneAxis
Gimbal movement will be exclusively in yaw or pitch depending on whether the controller horizontal or vertical deflection is greater respectively.
DJIHandheldControllerStickControlModeTwoAxis
Gimbal movement will be in both yaw and pitch simultaneously relative to the horizontal and vertical deflection of the controller respectively.