staticfinal DJIKeyInfo<CameraFocusMode> KeyCameraFocusMode = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"CameraFocusMode", new SingleValueConverter<>(CameraFocusMode.class,CameraFocusModeMsg.class)).canGet(true).canSet(true).canListen(true).canPerformAction(false).setIsEvent(false)
staticfinal DJIKeyInfo<DoublePoint2D> KeyCameraFocusTarget = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"CameraFocusTarget", new DJIValueConverter<>(DoublePoint2D.class)).canGet(true).canSet(true).canListen(true).canPerformAction(false).setIsEvent(false)
staticfinal DJIActionKeyInfo<MultiGimbalSyncControlInfo,EmptyMsg> KeyStartMultiGimbalSyncControl = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"StartMultiGimbalSyncControl", new DJIValueConverter<>(MultiGimbalSyncControlInfo.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false)
static final DJIKeyInfo<List<AccessLockerDeviceStatus>> KeyAccessLockerAllDeviceStatus = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"AccessLockerAllDeviceStatus", new SingleValueConverter<>((Class)List.class,AccessLockerV1AllDeviceStates.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("AccessLockerV1AllDeviceStates")
staticfinal DJIKeyInfo<RcFirmwareInfo> KeyRcFirmwareInfo = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"RcFirmwareInfo", new DJIValueConverter<>(RcFirmwareInfo.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false)
staticfinal DJIActionKeyInfo<RcFirmwareType,EmptyMsg> KeySwitchRcFirmware = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"SwitchRcFirmware", new SingleValueConverter<>(RcFirmwareType.class,RcFirmwareMsg.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false)
static final DJIKeyInfo<PairingState> KeyPairingStatus = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"PairingStatus", new SingleValueConverter<>(PairingState.class,RcPairingStateMsg.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("RcPairingState")
staticfinal DJIActionKeyInfo<EmptyMsg,EmptyMsg> KeyRebootDevice = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"RebootDevice", EmptyValueConverter.converter,EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false)
包:
dji.sdk.keyvalue.key
-
描述:
+
描述:
重启遥控器。
MSDK 5.1.0开始支持
@@ -822,7 +840,7 @@
双控
staticfinal DJIKeyInfo<Boolean> KeyMultiControlIsSupported = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlIsSupported", SingleValueConverter.BooleanConverter).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("IsMasterSlaveModeV4Supported")
包:
dji.sdk.keyvalue.key
-
描述:
+
描述:
参数: Boolean
true表示支持双控功能。
MSDK 5.0.0开始支持
@@ -832,7 +850,7 @@
描述:
static final DJIActionKeyInfo<MultiControlChannel,EmptyMsg> KeyMultiControlRequestPairing = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlRequestPairing", new SingleValueConverter<>(MultiControlChannel.class,MultiControlChannelInfo.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false).setInnerIdentifier("StartModePairing")
static final DJIKeyInfo<MultiControlStatusInfo> KeyMultiControlStatus = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlStatus", new DJIValueConverter<>(MultiControlStatusInfo.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("RcMultiStatus")
static final DJIKeyInfo<MultiControlFlightControlAuthorityOwnerInfo> KeyMultiControlFlightControlAuthorityOwner = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlFlightControlAuthorityOwner", new DJIValueConverter<>(MultiControlFlightControlAuthorityOwnerInfo.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("MultiRCFlightControlAuthOwner")
static final DJIKeyInfo<List<MultiControlChannelInfo>> KeyMultiControlGimbalAuthorityOwner = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlGimbalAuthorityOwner", new SingleValueConverter<>((Class)List.class,MultiRcGimbalsControlAuthOwnerMsg.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("MultiRcGimbalsControlAuthOwner")
static final DJIActionKeyInfo<List<MultiControlAuthorityType>,EmptyMsg> KeyMultiControlAuthorityObtain = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlAuthorityObtain", new SingleValueConverter<>((Class)List.class,RCAuthorityModes.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false).setInnerIdentifier("MultiRcControlAuthoritySurpass")
static final DJIActionKeyInfo<MultiControlLockAuthorityInfo,EmptyMsg> KeyMultiControlLockAuthority = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlLockAuthority", new DJIValueConverter<>(MultiControlLockAuthorityInfo.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false).setInnerIdentifier("MultiRcControlLockRight")
static final DJIKeyInfo<MultiControlLostControlInfo> KeyMultiControlLostControlNotice = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlLostControlNotice", new DJIValueConverter<>(MultiControlLostControlInfo.class)).canGet(false).canSet(false).canListen(true).canPerformAction(false).setIsEvent(true).setInnerIdentifier("MultiRcLostNotice")
This class is used to define remote controller muti-control channel. If dual control needs to be realized, the different remote controllers should be set to a different channels, and then pair frequency with the aircraft. NOTICE: If remote controller A is already set to A control, and then remote controller B is set to A control to link with the aircraft, the remote controller A will be disconnected from the aircraft and it needs to link again.
DJI RC PLUS remote controller. It adopts O3 Pro high-definition image transmission technology, which can be used with aircraft that support this image transmission technology, and transmits high-definition images in real time. With the complete function buttons of the remote control, the operation and setting of the aircraft and the camera can be completed. Support M30 series aircraft.
Smart low battery return-to-home is not triggered. The status will be reset to this status after the aircraft returns and lands.
COUNTING_DOWN
The smart low battery return-to-home is triggered, and the aircraft is counting down. If the cancellation of request to return-to-home is not received from the user in 10 seconds, the aircraft will perform the return-to-home operation, and the status will change to EXECUTED. If the user cancels the request to return-to-home, the status will change to CANCELLED.
EXECUTED
Exceed the smart low battery return-to-home. The status will not be reset until the aircraft returned and landed or the return-to-home was canceled midway.
CANCELLED
The smart low battery return-to-home is canceled. This status will not be reset until the aircraft lands.
Function mode, which is referred to as "F mode". F mode behaves the same as in P mode and enables smart functions like Mission and Smart Directional Control.
A
Attitude mode, which is referred to as "A mode". In this mode, the aircraft only provides attitude stabilization, and GPS module and vision system are not used for positioning. In real operation, aircraft will drift noticeably and can not hover, which needs the pilot to correct the position of the aircraft instantly through the remote controller. Attitude mode tests the pilot's handling ability of the aircraft. In some emergency situations, the aircraft needs to switch attitude mode.
S
Sport mode, which is referred to as "S mode". The GPS module and vision system are used to achieve precise hovering. In this mode, the gain value of the aircraft is appropriately increased, so be sure to fly with extreme caution. The maximum horizontal speed of the aircraft can reach 20 m/s.
P
Position mode, which is referred to as "P mode"("N mode").GPS module and vision system (if available) will be used for aircraft positioning. For products without F mode, smart functions such as mission and smart directional control can be performed in P mode.
M
Manual mode, which is referred to as "M mode". In this mode, All actions of the aircraft, including stable attitude and stable altitude, need to be controlled by the pilot through the remote controller. It is dangerous for beginner to operate.
T
Tripod mode, which is referred to as "T mode".In this mode, the flight speed and rotation sensitivity of the aircraft will be significantly reduced, allowing more precise control of the screen and more stable shooting results.
Manual mode, which is referred to as "M mode". In this mode, All actions of the aircraft, including stable attitude and stable altitude, need to be controlled by the pilot through the remote controller. It is dangerous for beginner to operate.
ATTI
Attitude mode, which is referred to as "A mode". In this mode, the aircraft only provides attitude stabilization, and GPS module and vision system are not used for positioning. In real operation, aircraft will drift noticeably and can not hover, which needs the pilot to correct the position of the aircraft instantly through the remote controller. Attitude mode tests the pilot's handling ability of the aircraft. In some emergency situations, the aircraft needs to switch attitude mode.
GPS_NORMAL
GPS normal mode, which is referred to as "N mode"("P mode").GPS module and vision system (if available) will be used for aircraft positioning.
GPS_SPORT
GPS sport mode, which is referred to as "S mode". The GPS module and vision system are used to achieve precise hovering. In this mode, the gain value of the aircraft is appropriately increased, so be sure to fly with extreme caution. The maximum horizontal speed of the aircraft can reach 20 m/s.
GPS_TRIPOD
GPS tripod mode, which is referred to as "T mode".In this mode, the flight speed and rotation sensitivity of the aircraft will be significantly reduced, allowing more precise control of the screen and more stable shooting results.
Hover. When the remote controller and aircraft lose connection, the aircraft will hover.
LANDING
Land. When the remote controller and aircraft lose connection, the aircraft will land in place.
GOHOME
Return-to-Home. If the aircraft has successfully recorded the home point (KeyHomeLocation) and the GPS signal is good, the aircraft will automatically return to the home point and land to prevent an accident when the remote controller and aircraft lose the connection signal. During the return-to-home process, if the forward vision system is opened and the environment condition is good, the aircraft will automatically climb up to avoid obstacles when the head of the aircraft encounter obstacles. To ensure the orientation of the aircraft head, the user can not adjust the orientation of the aircraft head and can not control the aircraft to fly left and right.
Get the percentage of remaining battery power. If you need to get the total power percentage of all batteries, you can get all the remaining battery power and battery capacity by setting different componentIndex for calculation.
staticfinal DJIKeyInfo<Long> KeyBatteryHighVoltageStorageSec = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"BatteryHighVoltageStorageSec", SingleValueConverter.LongConverter).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false)
+
staticfinal DJIKeyInfo<Long> KeyBatteryHighVoltageStorageTime = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"BatteryHighVoltageStorageTime", SingleValueConverter.LongConverter).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("BatteryHighVoltageStorageSec")
Package:
dji.sdk.keyvalue.key
Description:
Parameter: Long
Store at High Battery Level means storing battery when it has 90% or higher battery level. If high battery level storage time in total is less than 120 days in 12 months, battery can be charged for up to 400 cycles. Change Time to Battery Self-Discharge to adjust time of battery storage at high level.
staticfinal DJIKeyInfo<Double> KeyCameraZoomRatios = new KeyCameraZoomRatios() .canGet(true).canSet(true).canListen(true).canPerformAction(false).setIsEvent(false)
Package:
dji.sdk.keyvalue.key
Description:
-
Parameter:Double Set the zoom ratios of the camera lens. The recommended minimum accuracy is 0.1. Different lenses have different camera ratios ranges, please call KeyCameraZoomRatiosRange to get the zoom ratios supported by the lens. Notice: 1. To use this function, please call KeyCameraVideoStreamSource to set the video source to ZOOM_CAMERA. 2. When using KeyTools to create a DJIKey instance, please set CameraLensType to CAMERA_LENS_ZOOM.
Supported since MSDK 5.0.0
+
Parameter:Double Set the zoom ratios of the camera lens. The recommended minimum accuracy is 0.1. Different lenses have different camera ratios ranges, please call KeyCameraZoomRatiosRange to get the zoom ratios supported by the lens. Notice: 1. To use this function, please call KeyCameraVideoStreamSource to set the video source to ZOOM_CAMERA. 2. When using KeyTools to create a DJIKey instance, please set CameraLensType to CAMERA_LENS_ZOOM. If it is an M3M aircraft, set it to CAMERA_LENS_RGB. If it is a single-lens aircraft, set it to CAMERA_LENS_DEFAULT.
staticfinal DJIKeyInfo<CameraFocusMode> KeyCameraFocusMode = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"CameraFocusMode", new SingleValueConverter<>(CameraFocusMode.class,CameraFocusModeMsg.class)).canGet(true).canSet(true).canListen(true).canPerformAction(false).setIsEvent(false)
staticfinal DJIKeyInfo<DoublePoint2D> KeyCameraFocusTarget = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"CameraFocusTarget", new DJIValueConverter<>(DoublePoint2D.class)).canGet(true).canSet(true).canListen(true).canPerformAction(false).setIsEvent(false)
Package:
dji.sdk.keyvalue.key
Description:
-
Parameter:DoublePoint2D The focus target of camera automaic focus. [0,0] means the upper left corner of camera screen. [1,1] means the lower right corner of camera screen. In AF mode, camera will automatically focus on the focus target once after setting focus target. Notice: 1. To use this function, please call KeyCameraVideoStreamSource to set the video source to ZOOM_CAMERA. 2. When using KeyTools to create a DJIKey instance, please set CameraLensType to CAMERA_LENS_ZOOM.
Supported since MSDK 5.0.0
+
Parameter:DoublePoint2D The focus target of camera automaic focus. [0,0] means the upper left corner of camera screen. [1,1] means the lower right corner of camera screen. In AF mode, camera will automatically focus on the focus target once after setting focus target. Notice: 1. To use this function, please call KeyCameraVideoStreamSource to set the video source to ZOOM_CAMERA. 2. When using KeyTools to create a DJIKey instance, please set CameraLensType to CAMERA_LENS_ZOOM. If it is an M3M aircraft, set it to CAMERA_LENS_RGB. If it is a single-lens aircraft, set it to CAMERA_LENS_DEFAULT.
staticfinal DJIActionKeyInfo<EmptyMsg,EmptyMsg> KeyStartTakeoff = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"StartTakeoff", EmptyValueConverter.converter,EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false)
Package:
dji.sdk.keyvalue.key
Description:
-
To start the autonomously taking off of the aircraft. When the aircraft hovers at an altitude of 1.2 meters(4 feet) above the ground, taking off is completed. If the motor is already opened, this command can not be executed.
Supported since MSDK 5.0.0
+
To start the automatic taking off of the aircraft. When the aircraft hovers at an altitude of 1.2 meters(4 feet) above the ground, taking off is completed. If the motor is already opened, this command can not be executed.
staticfinal DJIActionKeyInfo<EmptyMsg,EmptyMsg> KeyStopTakeoff = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"StopTakeoff", EmptyValueConverter.converter,EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false)
Package:
dji.sdk.keyvalue.key
Description:
-
To stop the autonomous take-off of the aircraft. If this interface is called before autonomous take-off is finished, the aircraft will stop taking off and hover at the current altitude.
Supported since MSDK 5.0.0
+
To stop the automatic take-off of the aircraft. If this interface is called before automatic take-off is finished, the aircraft will stop taking off and hover at the current altitude.
staticfinal DJIActionKeyInfo<EmptyMsg,EmptyMsg> KeyStopAutoLanding = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"StopAutoLanding", EmptyValueConverter.converter,EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false)
Package:
dji.sdk.keyvalue.key
Description:
-
To stop the autonomuous landing of the aircraft. If this interface is called during the autonomous landing process, the aircraft will stop landing and hover at the current altitude.
Supported since MSDK 5.0.0
+
To stop the autonomuous landing of the aircraft. If this interface is called during the automatic landing process, the aircraft will stop landing and hover at the current altitude.
staticfinal DJIActionKeyInfo<MultiGimbalSyncControlInfo,EmptyMsg> KeyStartMultiGimbalSyncControl = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"StartMultiGimbalSyncControl", new DJIValueConverter<>(MultiGimbalSyncControlInfo.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false)
Enable multi-gimbal Synchronization control. Multiple gimbals can be controlled at the same time through one remote controller. Please make sure that the set gimbals have been mounted on the aircraft. This interface is suitable for aircraft that can mount multiple gimbals, such as M300 RTK.
Enable multi-gimbal Synchronization control. Multiple gimbals can be controlled at the same time through one remote controller. Please make sure that the set gimbals have been mounted on the aircraft. This interface is suitable for aircraft that can mount multiple gimbals, such as M300 RTK and M350 RTK.
static final DJIKeyInfo<List<AccessLockerDeviceStatus>> KeyAccessLockerAllDeviceStatus = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"AccessLockerAllDeviceStatus", new SingleValueConverter<>((Class)List.class,AccessLockerV1AllDeviceStates.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("AccessLockerV1AllDeviceStates")
Get the security code status of the storage device. Through this interface, you can obtain whether the storage device on the aircraft supports the security code function, whether the security code function is enabled, and whether the security code needs to be verified. Security code is to keep your media data safe. After the security code is set, the MSDK App needs to perform password verification after connecting to the aircraft. After the verification is passed, it can take photos, record videos and read and write media data in the storage device.
getIsFeatureNeedToBeVerified is true, indicating that the storage device needs to verify the security code. Please call KeyAccessLockerVerifySecurityCode for security code verification, otherwise, you will not be able to take photos and record videos, and you will not be able to read and write media data in the storage device. The security code is usually required to be verified when the aircraft is restarted or the storage device is inserted.
Security code is neither saved on device nor accessible by DJI.
It is not possible to reset security code. If security code is lost, format SD card to delete code.
Security code settings only available for Zenmuse H20 and Matrice 30 series cameras. Zenmuse P1, Zenmuse L1, and third-party payloads currently not supported.
Get the security code status of the storage device. Through this interface, you can obtain whether the storage device on the aircraft supports the security code function, whether the security code function is enabled, and whether the security code needs to be verified. Security code is to keep your media data safe. After the security code is set, the MSDK App needs to perform password verification after connecting to the aircraft. After the verification is passed, it can take photos, record videos and read and write media data in the storage device.
getIsFeatureNeedToBeVerified is true, indicating that the storage device needs to verify the security code. Please call KeyAccessLockerVerifySecurityCode for security code verification, otherwise, you will not be able to take photos and record videos, and you will not be able to read and write media data in the storage device. The security code is usually required to be verified when the aircraft is restarted or the storage device is inserted.
Security code is neither saved on device nor accessible by DJI.
It is not possible to reset security code. If security code is lost, format SD card to delete code.
Security code settings only available for Zenmuse H20, Matrice 30 series cameras and Mavic 3 Enterprise series cameras. Zenmuse P1, Zenmuse L1, and third-party payloads currently not supported.
staticfinal DJIKeyInfo<RcFirmwareInfo> KeyRcFirmwareInfo = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"RcFirmwareInfo", new DJIValueConverter<>(RcFirmwareInfo.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false)
+
Package:
dji.sdk.keyvalue.key
+
Description:
+
Get the current firmware information of the remote controller.
staticfinal DJIActionKeyInfo<RcFirmwareType,EmptyMsg> KeySwitchRcFirmware = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"SwitchRcFirmware", new SingleValueConverter<>(RcFirmwareType.class,RcFirmwareMsg.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false)
+
Package:
dji.sdk.keyvalue.key
+
Description:
+
Switch the remote controller firmware type. Take DJI RC Plus remote controller as an example: DJI RC Plus remote controller can be used for M30 series, M300 RTK and M350 RTK. You can call this interface to switch the firmware of different aircraft, and then call KeyRequestPairing for pairing.
staticfinal DJIActionKeyInfo<EmptyMsg,EmptyMsg> KeyRequestPairing = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"RequestPairing", EmptyValueConverter.converter,EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false).setInnerIdentifier("RcRequestPairing")
Package:
dji.sdk.keyvalue.key
-
Description:
-
Start the remote controller pairing operation, then the remote controller will start pairing with the aircraft. When the remote controller cannot be connected to the aircraft or the remote controller is replaced, the remote controller can be connected to the aircraft through pairing operation.
Supported since MSDK 5.0.0
+
Description:
+
Start the remote controller pairing operation, then the remote controller will start pairing with the aircraft. When the remote controller cannot be connected to the aircraft or the remote controller is replaced, the remote controller can be connected to the aircraft through pairing operation.
Note: DJI RC Plus remote controller and DJI RC N1 remote controller support multiple aircraft types. Please first call KeyRcFirmwareInfo to get the firmware type of the current remote controller. If the firmware type is inconsistent with the type of aircraft that needs to be paired, please call KeySwitchRcFirmware to switch the firmware of the remote controller to the type that needs to be paired before performing the pairing operation.
static final DJIKeyInfo<PairingState> KeyPairingStatus = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"PairingStatus", new SingleValueConverter<>(PairingState.class,RcPairingStateMsg.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("RcPairingState")
staticfinal DJIActionKeyInfo<EmptyMsg,EmptyMsg> KeyRebootDevice = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"RebootDevice", EmptyValueConverter.converter,EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false)
Package:
dji.sdk.keyvalue.key
-
Description:
+
Description:
Reboot the remote controller.
Supported since MSDK 5.1.0
@@ -816,7 +834,7 @@
Dual Control
staticfinal DJIKeyInfo<Boolean> KeyMultiControlIsSupported = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlIsSupported", SingleValueConverter.BooleanConverter).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("IsMasterSlaveModeV4Supported")
Package:
dji.sdk.keyvalue.key
-
Description:
+
Description:
Parameter:Boolean
true means dual control is supported.
Supported since MSDK 5.0.0
@@ -826,7 +844,7 @@
Description:
static final DJIActionKeyInfo<MultiControlChannel,EmptyMsg> KeyMultiControlRequestPairing = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlRequestPairing", new SingleValueConverter<>(MultiControlChannel.class,MultiControlChannelInfo.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false).setInnerIdentifier("StartModePairing")
staticfinal DJIKeyInfo<Integer> KeyMultiControlOnlineAppCount = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlOnlineAppCount", SingleValueConverter.IntegerConverter).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("MultiRcOnlineAPPCount")
Package:
dji.sdk.keyvalue.key
-
Description:
+
Description:
Parameter:Integer
get the number of currently connected App. NOTICE: The App mentioned here includes DJI's official Apps and Third-party Apps developed through DJI MSDK.
static final DJIKeyInfo<MultiControlStatusInfo> KeyMultiControlStatus = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlStatus", new DJIValueConverter<>(MultiControlStatusInfo.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("RcMultiStatus")
To get dual controller connection status. This interface can be used to check the online status of A controller, the Apps in A controller, B controller and the Apps in B controller.
Supported since MSDK 5.0.0
@@ -874,7 +892,7 @@
Description:
static final DJIKeyInfo<MultiControlFlightControlAuthorityOwnerInfo> KeyMultiControlFlightControlAuthorityOwner = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlFlightControlAuthorityOwner", new DJIValueConverter<>(MultiControlFlightControlAuthorityOwnerInfo.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("MultiRCFlightControlAuthOwner")
static final DJIKeyInfo<List<MultiControlChannelInfo>> KeyMultiControlGimbalAuthorityOwner = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlGimbalAuthorityOwner", new SingleValueConverter<>((Class)List.class,MultiRcGimbalsControlAuthOwnerMsg.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false).setInnerIdentifier("MultiRcGimbalsControlAuthOwner")
static final DJIActionKeyInfo<List<MultiControlAuthorityType>,EmptyMsg> KeyMultiControlAuthorityObtain = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlAuthorityObtain", new SingleValueConverter<>((Class)List.class,RCAuthorityModes.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false).setInnerIdentifier("MultiRcControlAuthoritySurpass")
Grab control of flight or gimbal. If a remote controller can only control the gimbal, it can use control stocks. If a user has both aircraft flight control and gimbal control, he/she can use control sticks to control the orientation of the aircraft, and gimbal dial to control the gimbal.
Supported since MSDK 5.0.0
@@ -900,7 +918,7 @@
Description:
static final DJIActionKeyInfo<MultiControlLockAuthorityInfo,EmptyMsg> KeyMultiControlLockAuthority = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlLockAuthority", new DJIValueConverter<>(MultiControlLockAuthorityInfo.class),EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false).setInnerIdentifier("MultiRcControlLockRight")
static final DJIKeyInfo<MultiControlLostControlInfo> KeyMultiControlLostControlNotice = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlLostControlNotice", new DJIValueConverter<>(MultiControlLostControlInfo.class)).canGet(false).canSet(false).canListen(true).canPerformAction(false).setIsEvent(true).setInnerIdentifier("MultiRcLostNotice")
Monitor the notification event that the remote control with flight control or gimbal control loses connection. When remote controller with flight control loses connection, remote controller without flight control can call KeyMultiControlAuthorityObtain to take over flight control, or call KeyMultiControlExecuteFailSafeActionWhenLostControl to make the aircraft immediately execute the fail safe behavior which gets with KeyFailsafeAction.
staticfinal DJIActionKeyInfo<EmptyMsg,EmptyMsg> KeyMultiControlExecuteFailSafeActionWhenLostControl = new DJIActionKeyInfo<>(componentType.value(),subComponentType.value(),"MultiControlExecuteFailSafeActionWhenLostControl", EmptyValueConverter.converter,EmptyValueConverter.converter).canGet(false).canSet(false).canListen(false).canPerformAction(true).setIsEvent(false).setInnerIdentifier("MultiRcExecuteAircraftLostLogic")
Package:
dji.sdk.keyvalue.key
-
Description:
+
Description:
When remote controller with flight control loses connection, remote controller without flight control can call this interface to make the aircraft immediately execute the fail safe behavior which gets with KeyFailsafeAction.
Gets whether the zoom ratio range is continuous. If it is not continuous, it means that only the value in the key gear can be set. If continuous, it means that any value between the minimum value and maximum value in the key gear can be set.
+
Gets whether the zoom ratio range is continuous. If it is not continuous, it means that only the value in the key gear can be set. If continuous, it means that any value between the minimum value and maximum value in the key gear can be set. Take M3T as an example: isContinuous is TRUE, and the key gears are: [1,2,4,7,28,56], which means that any value of [1,56] can be set.
Return:
boolean
Returns whether the zoom ratio range is continuous.
The payload is attached to the portside(main) position of the aircraft.
RIGHT
The payload is attached to the starboard position of the aircraft.
UP
The payload is attached to the upper position of the aircraft.
EXTERNAL
The payload is attached to the extend position of the aircraft. On the M300 RTK, this location is the OSDK extension location.
+
LEFT_OR_MAIN
The payload is attached to the portside(main) position of the aircraft.
RIGHT
The payload is attached to the starboard position of the aircraft.
UP
The payload is attached to the upper position of the aircraft.
EXTERNAL
The payload is attached to the extend position of the aircraft. On the M300 RTK, this location is the OSDK extension location. On the M350 RTK, this location is the E-PORT location.
enabled or disabled maintain positioning accuracy mode. In case of an RTK module communication error, the aircraft will autonomously maintain the current RTK status with gradually decreasing accurcy. The aircraft will exit RTK if the connection is not re-established within 10 minutes.
+
enabled or disabled maintain positioning accuracy mode. In case of an RTK module communication error, the aircraft will automatic maintain the current RTK status with gradually decreasing accurcy. The aircraft will exit RTK if the connection is not re-established within 10 minutes.
Supported since MSDK 5.0.0
Input Parameters:
boolean enabled
’‘TRUE‘’ to enabled maintain positioning accuracy mode.
Enable or disable the EID function. After this function is enabled, the drone will broadcast the EID. EID is an electronic ID standard dedined by Frence. The value is the flight control SN of the drone. The prefix 1581F means it is a droen produced by DJI. For DJI flight control SN that is not starting with 1581F, 1581F should be added to the flight control SN. For example:
For M300 RTK, this value is 1581F + the flight control SN(KeySerialNumber)+ 0
for M30 and M3E Series, this value is the flight control SN(KeySerialNumber)
Supported since MSDK 5.0.0
+
Enable or disable the EID function. After this function is enabled, the drone will broadcast the EID. EID is an electronic ID standard dedined by Frence. The value is the flight control SN of the drone. The prefix 1581F means it is a droen produced by DJI. For DJI flight control SN that is not starting with 1581F, 1581F should be added to the flight control SN. For example:
For M300 RTK, this value is 1581F + the flight control SN(KeySerialNumber)+ 0
for M350 RTK, M30 and M3E Series, this value is the flight control SN(KeySerialNumber)
The waypoint mission is defined in a KMZ file, KMZ file is defined according to the DJI standard WPML. The WPML is defined according to XML and KML. For more details, please see: DJI WPML.
Users can generate a KMZ file according to the template provided by DJI Pilot 2. You can also define custom waylines.wpml according to DJI WPML standard and upload it after compressing it into a KMZ file.
The newly uploaded KMZ file will override the previously uploaded KMZ file if they have the same mission KMZ file name.
You can call this interface multiple times to upload multiple waypoint mission KMZ files. You can set mission KMZ file name to select the mission to startstartMission or stopstopMission.
One KMZ file includes one waypoint mission. One waypoint mission can contain multiple waylines.
Supported since MSDK 5.0.0
+
Upload a waypoint mission.
The waypoint mission is defined in a KMZ file, KMZ file is defined according to the DJI standard WPML. The WPML is defined according to XML and KML. For more details, please see: DJI WPML.
Users can generate a KMZ file according to the template provided by DJI Pilot 2. You can also define custom waylines.wpml according to DJI WPML standard and upload it after compressing it into a KMZ file.
The newly uploaded KMZ file will override the previously uploaded KMZ file if they have the same mission KMZ file name.
You can call this interface multiple times to upload multiple waypoint mission KMZ files. You can set mission KMZ file name to select the mission to startstartMission or stopstopMission.
One KMZ file includes one waypoint mission. One waypoint mission can contain multiple waylines.
MultiControlChannelInfo
diff --git a/Docs/Android_API/en/index.html b/Docs/Android_API/en/index.html
index 75ae3a62f..ba912be78 100644
--- a/Docs/Android_API/en/index.html
+++ b/Docs/Android_API/en/index.html
@@ -1,4 +1,4 @@
-
+
diff --git a/Docs/Android_API/en/javascripts/search_index.js b/Docs/Android_API/en/javascripts/search_index.js
index bce05a2a3..277676c1f 100644
--- a/Docs/Android_API/en/javascripts/search_index.js
+++ b/Docs/Android_API/en/javascripts/search_index.js
@@ -286,7 +286,7 @@ var search_data = {
"getreleasenote",
"gets the firmware release note. @return returns the firmware release note.",
"onupdated",
- "当升级进度信息发生变化时会回调此方法。 msdk 5.3.0开始支持 @param upgradeinfo 升级进度信息。",
+ "this method will be called back when the upgrade progress information changes. supported since msdk 5.3.0 @param upgradeinfo upgrade progress information.",
"in_no_fly_zone",
"the aircraft is in the no-fly zone. after the countdown is over, it will force an automatic drop. you will not be able to control the throttle, but you can adjust the horizontal direction to avoid obstacles.",
"in_limit_height_area",
@@ -1248,7 +1248,7 @@ var search_data = {
"clearuasremoteidstatuslistener",
"remove all the remote identification status listeners of the drone system. supported since msdk 5.0.0",
"setelectronicidenabled",
- "enable or disable the eid function. after this function is enabled, the drone will broadcast the eid. eid is an electronic id standard dedined by frence. the value is the flight control sn of the drone. the prefix `1581f` means it is a droen produced by dji. for dji flight control sn that is not starting with `1581f`, `1581f` should be added to the flight control sn. for example: - for m300 rtk, this value is `1581f` + the flight control sn(`keyserialnumber`)+ `0` - for m30 and m3e series, this value is the flight control sn(`keyserialnumber`) supported since msdk 5.0.0 @param isenabled `true` means the eid function is enabled. @param callback return the result of the execution result.",
+ "enable or disable the eid function. after this function is enabled, the drone will broadcast the eid. eid is an electronic id standard dedined by frence. the value is the flight control sn of the drone. the prefix `1581f` means it is a droen produced by dji. for dji flight control sn that is not starting with `1581f`, `1581f` should be added to the flight control sn. for example: - for m300 rtk, this value is `1581f` + the flight control sn(`keyserialnumber`)+ `0` - for m350 rtk, m30 and m3e series, this value is the flight control sn(`keyserialnumber`) supported since msdk 5.0.0 @param isenabled `true` means the eid function is enabled. @param callback return the result of the execution result.",
"getelectronicidenabled",
"get whether the eid is enabled. supported since msdk 5.0.0 @param callback return the result of the execution result.",
"addelectronicidstatuslistener",
@@ -1492,7 +1492,7 @@ var search_data = {
"up",
"the payload is attached to the upper position of the aircraft.",
"external",
- "the payload is attached to the extend position of the aircraft. on the m300 rtk, this location is the osdk extension location.",
+ "the payload is attached to the extend position of the aircraft. on the m300 rtk, this location is the osdk extension location. on the m350 rtk, this location is the e-port location.",
"ondatafrompayloadupdate",
"when the data is received from the payload, this method will be called back. supported since msdk 5.2.0 @param data payload data.",
"button",
@@ -1803,8 +1803,12 @@ var search_data = {
"parameter:boolean `true` means custom button c2 is pressed. custom button c2 is used for main and auxiliary screen switching by default, and it can be custom configured. supported since msdk 5.0.0",
"keycustombutton3down",
"parameter:boolean `true` means custom button c3 is pressed. custom button c3 can be custom configured. supported since msdk 5.0.0",
+ "keyrcfirmwareinfo",
+ "get the current firmware information of the remote controller. supported since msdk 5.4.0",
+ "keyswitchrcfirmware",
+ "switch the remote controller firmware type. take dji rc plus remote controller as an example: dji rc plus remote controller can be used for m30 series, m300 rtk and m350 rtk. you can call this interface to switch the firmware of different aircraft, and then call `keyrequestpairing` for pairing. supported since msdk 5.4.0",
"keyrequestpairing",
- "start the remote controller pairing operation, then the remote controller will start pairing with the aircraft. when the remote controller cannot be connected to the aircraft or the remote controller is replaced, the remote controller can be connected to the aircraft through pairing operation. supported since msdk 5.0.0",
+ "start the remote controller pairing operation, then the remote controller will start pairing with the aircraft. when the remote controller cannot be connected to the aircraft or the remote controller is replaced, the remote controller can be connected to the aircraft through pairing operation. note: dji rc plus remote controller and dji rc n1 remote controller support multiple aircraft types. please first call `keyrcfirmwareinfo` to get the firmware type of the current remote controller. if the firmware type is inconsistent with the type of aircraft that needs to be paired, please call `keyswitchrcfirmware` to switch the firmware of the remote controller to the type that needs to be paired before performing the pairing operation. supported since msdk 5.4.0",
"keystoppairing",
"stop the remote controller pairing operation. supported since msdk 5.0.0",
"keypairingstatus",
@@ -1935,7 +1939,7 @@ var search_data = {
"parameter: integer to get remaining battery capacity. unit: mah. supported since msdk 5.0.0",
"keychargeremaininginpercent",
"parameter: integer get the percentage of remaining battery power. if you need to get the total power percentage of all batteries, you can get all the remaining battery power and battery capacity by setting different componentindex for calculation. supported since msdk 5.0.0",
- "keybatteryhighvoltagestoragesec",
+ "keybatteryhighvoltagestoragetime",
"parameter: long store at high battery level means storing battery when it has 90% or higher battery level. if high battery level storage time in total is less than 120 days in 12 months, battery can be charged for up to 400 cycles. change time to battery self-discharge to adjust time of battery storage at high level. supported since msdk 5.3.0",
"keybatterytemperature",
"parameter: double get the battery temperature. unit: celsius. range interval: [-128, 127]. supported since msdk 5.0.0",
@@ -2126,19 +2130,19 @@ var search_data = {
"keycamerazoomratiosrange",
"parameter:list<`zoomratiosrange`> to get the zoom ratios range of camera lens. supported since msdk 5.3.0",
"keycamerazoomratios",
- "parameter:double set the zoom ratios of the camera lens. the recommended minimum accuracy is 0.1. different lenses have different camera ratios ranges, please call `keycamerazoomratiosrange` to get the zoom ratios supported by the lens. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. supported since msdk 5.0.0",
+ "parameter:double set the zoom ratios of the camera lens. the recommended minimum accuracy is 0.1. different lenses have different camera ratios ranges, please call `keycamerazoomratiosrange` to get the zoom ratios supported by the lens. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. if it is an m3m aircraft, set it to `camera_lens_rgb`. if it is a single-lens aircraft, set it to `camera_lens_default`.supported since msdk 5.0.0",
"keycamerazoomfocallength",
- "parameter:interger gets the focal length of the zoom lens, unit: mm. please use `keycamerazoomratios` to set the zoom ratios. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. supported since msdk 5.0.0",
+ "parameter:interger gets the focal length of the zoom lens, unit: mm. please use `keycamerazoomratios` to set the zoom ratios. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. if it is an m3m aircraft, set it to `camera_lens_rgb`. if it is a single-lens aircraft, set it to `camera_lens_default`.supported since msdk 5.0.0",
"keycamerafocusmode",
- "parameter:`camerafocusmode` to set and get focus mode of zoom lens. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. supported since msdk 5.0.0",
+ "parameter:`camerafocusmode` to set and get focus mode of zoom lens. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. if it is an m3m aircraft, set it to `camera_lens_rgb`. if it is a single-lens aircraft, set it to `camera_lens_default`.supported since msdk 5.0.0",
"keycamerafocusringminvalue",
- "parameter:integer the minimum settable value that the camera manually focusing. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. supported since msdk 5.0.0",
+ "parameter:integer the minimum settable value that the camera manually focusing. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. if it is an m3m aircraft, set it to `camera_lens_rgb`. if it is a single-lens aircraft, set it to `camera_lens_default`.supported since msdk 5.0.0",
"keycamerafocusringmaxvalue",
- "parameter:integer the maximum settable value that the camera manually focusing. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. supported since msdk 5.0.0",
+ "parameter:integer the maximum settable value that the camera manually focusing. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. if it is an m3m aircraft, set it to `camera_lens_rgb`. if it is a single-lens aircraft, set it to `camera_lens_default`.supported since msdk 5.0.0",
"keycamerafocusringvalue",
- "parameter:integer the manually focusing value of the camera. the maximum and minimum settable value that the camera manually focusing can be obtained through `keycamerafocusringminvalue` and `keycamerafocusringmaxvalue`. in `manual` mode, camera will focus once with the center point of the screen as the focus target after setting the focus value. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. supported since msdk 5.0.0",
+ "parameter:integer the manually focusing value of the camera. the maximum and minimum settable value that the camera manually focusing can be obtained through `keycamerafocusringminvalue` and `keycamerafocusringmaxvalue`. in `manual` mode, camera will focus once with the center point of the screen as the focus target after setting the focus value. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. if it is an m3m aircraft, set it to `camera_lens_rgb`. if it is a single-lens aircraft, set it to `camera_lens_default`.supported since msdk 5.0.0",
"keycamerafocustarget",
- "parameter:`doublepoint2d` the focus target of camera automaic focus. [0,0] means the upper left corner of camera screen. [1,1] means the lower right corner of camera screen. in `af` mode, camera will automatically focus on the focus target once after setting focus target. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. supported since msdk 5.0.0",
+ "parameter:`doublepoint2d` the focus target of camera automaic focus. [0,0] means the upper left corner of camera screen. [1,1] means the lower right corner of camera screen. in `af` mode, camera will automatically focus on the focus target once after setting focus target. notice: 1. to use this function, please call `keycameravideostreamsource` to set the video source to `zoom_camera`. 2. when using `keytools` to create a `djikey` instance, please set `cameralenstype` to `camera_lens_zoom`. if it is an m3m aircraft, set it to `camera_lens_rgb`. if it is a single-lens aircraft, set it to `camera_lens_default`.supported since msdk 5.0.0",
"keyircutenabled",
"parameter: boolean `true` means night scene mode is opened. night scene mode improves the shooting effect in low-light environments by turning on the infrared filter in the zoom camera. it only supports zoom lens. supported since msdk 5.0.0",
"keycleanfog",
@@ -2288,13 +2292,13 @@ var search_data = {
"keynavigationsatellitesystemsource",
"parameter: `navigationsatellitesystem` to set the gnss used. the gnss is only supported when the rtk location function is closed, and can not be changed when the aircraft is in the air. after the gnss is switched, do not take off until satellite signal strength reaches at least level 3. if rtk location function is opened, the aircraft will use gps, glonass, galileo and beidou gnss. supported since msdk 5.0.0",
"keystarttakeoff",
- "to start the autonomously taking off of the aircraft. when the aircraft hovers at an altitude of 1.2 meters(4 feet) above the ground, taking off is completed. if the motor is already opened, this command can not be executed. supported since msdk 5.0.0",
+ "to start the automatic taking off of the aircraft. when the aircraft hovers at an altitude of 1.2 meters(4 feet) above the ground, taking off is completed. if the motor is already opened, this command can not be executed. supported since msdk 5.0.0",
"keystoptakeoff",
- "to stop the autonomous take-off of the aircraft. if this interface is called before autonomous take-off is finished, the aircraft will stop taking off and hover at the current altitude. supported since msdk 5.0.0",
+ "to stop the automatic take-off of the aircraft. if this interface is called before automatic take-off is finished, the aircraft will stop taking off and hover at the current altitude. supported since msdk 5.0.0",
"keystartautolanding",
- "to start the autonomous landing of the aircraft. supported since msdk 5.0.0",
+ "to start the automatic landing of the aircraft. supported since msdk 5.0.0",
"keystopautolanding",
- "to stop the autonomuous landing of the aircraft. if this interface is called during the autonomous landing process, the aircraft will stop landing and hover at the current altitude. supported since msdk 5.0.0",
+ "to stop the autonomuous landing of the aircraft. if this interface is called during the automatic landing process, the aircraft will stop landing and hover at the current altitude. supported since msdk 5.0.0",
"keyconfirmlanding",
"to confirm continue landing. when the aircraft is at an altitude of less than 0.7 meters above the ground, the aircraft will stop landing and wait for confirmation. `keyislandingconfirmationneeded` can be used to check whether landing confirmation is needed. supported since msdk 5.0.0",
"keyrebootdevice",
@@ -2314,7 +2318,7 @@ var search_data = {
"keyisneardistancelimit",
"parameter: boolean `true` means the aircraft has reached the maximum flight distance. supported since msdk 5.0.0",
"keystartmultigimbalsynccontrol",
- "parameter: `multigimbalsynccontrolinfo` enable multi-gimbal synchronization control. multiple gimbals can be controlled at the same time through one remote controller. please make sure that the set gimbals have been mounted on the aircraft. this interface is suitable for aircraft that can mount multiple gimbals, such as m300 rtk. supported since msdk 5.2.0",
+ "parameter: `multigimbalsynccontrolinfo` enable multi-gimbal synchronization control. multiple gimbals can be controlled at the same time through one remote controller. please make sure that the set gimbals have been mounted on the aircraft. this interface is suitable for aircraft that can mount multiple gimbals, such as m300 rtk and m350 rtk. supported since msdk 5.2.0",
"keystopmultigimbalsynccontrol",
"disable multi-gimbal synchronization control. supported since msdk 5.2.0",
"keymultigimbalsyncstatus",
@@ -2340,7 +2344,7 @@ var search_data = {
"keylowbatteryrthinfo",
"parameter: `lowbatteryrthinfo` to get related information of the intelligent low battery power. this function is only valid when `keylowbatteryrthenabled` is enabled. supported since msdk 5.0.0",
"keyaccesslockeralldevicestatus",
- "parameter: list<`accesslockerdevicestatus`> get the security code status of the storage device. through this interface, you can obtain whether the storage device on the aircraft supports the security code function, whether the security code function is enabled, and whether the security code needs to be verified. security code is to keep your media data safe. after the security code is set, the msdk app needs to perform password verification after connecting to the aircraft. after the verification is passed, it can take photos, record videos and read and write media data in the storage device. - `getisfeaturesupported` is `true`, indicating that the storage device supports the security code function. you can call `keyaccesslockersetsecuritycode` to set the security code. - `getisfeatureenabled` is `true`, indicating that the security code function of the storage device is enabled. you can call `keyaccesslockermodifysecuritycode` for security code modification. if you forget the security code, you can call `keyaccesslockerresetsecuritycode` to reset the security code. - `getisfeatureneedtobeverified` is `true`, indicating that the storage device needs to verify the security code. please call `keyaccesslockerverifysecuritycode` for security code verification, otherwise, you will not be able to take photos and record videos, and you will not be able to read and write media data in the storage device. the security code is usually required to be verified when the aircraft is restarted or the storage device is inserted. - security code is neither saved on device nor accessible by dji. - it is not possible to reset security code. if security code is lost, format sd card to delete code. - security code settings only available for zenmuse h20 and matrice 30 series cameras. zenmuse p1, zenmuse l1, and third-party payloads currently not supported. supported since msdk 5.1.0",
+ "parameter: list<`accesslockerdevicestatus`> get the security code status of the storage device. through this interface, you can obtain whether the storage device on the aircraft supports the security code function, whether the security code function is enabled, and whether the security code needs to be verified. security code is to keep your media data safe. after the security code is set, the msdk app needs to perform password verification after connecting to the aircraft. after the verification is passed, it can take photos, record videos and read and write media data in the storage device. - `getisfeaturesupported` is `true`, indicating that the storage device supports the security code function. you can call `keyaccesslockersetsecuritycode` to set the security code. - `getisfeatureenabled` is `true`, indicating that the security code function of the storage device is enabled. you can call `keyaccesslockermodifysecuritycode` for security code modification. if you forget the security code, you can call `keyaccesslockerresetsecuritycode` to reset the security code. - `getisfeatureneedtobeverified` is `true`, indicating that the storage device needs to verify the security code. please call `keyaccesslockerverifysecuritycode` for security code verification, otherwise, you will not be able to take photos and record videos, and you will not be able to read and write media data in the storage device. the security code is usually required to be verified when the aircraft is restarted or the storage device is inserted. - security code is neither saved on device nor accessible by dji. - it is not possible to reset security code. if security code is lost, format sd card to delete code. - security code settings only available for zenmuse h20, matrice 30 series cameras and mavic 3 enterprise series cameras. zenmuse p1, zenmuse l1, and third-party payloads currently not supported. supported since msdk 5.1.0",
"keyaccesslockersetsecuritycode",
"parameter: `accesslockersetsecuritycodeinfo` set a security code. the device and storage type can be selected for security code setting through this interface. - the storage device will be formatted after setting the security code, please make sure the media data has been backed up. - please keep the security code in a safe place. if you lose it, you will not be able to retrieve it. you can only unlock the storage device by formatting it. - you should set a security code with a length of at least 4 characters. it is recommended that use numbers, uppercase and lowercase letters to form the security code. supported since msdk 5.1.0",
"keyaccesslockerverifysecuritycode",
@@ -2782,7 +2786,7 @@ var search_data = {
"zoomratiosrange",
"zoom ratios range.",
"iscontinuous",
- "gets whether the zoom ratio range is continuous. if it is not continuous, it means that only the value in the key gear can be set. if continuous, it means that any value between the minimum value and maximum value in the key gear can be set. @return returns whether the zoom ratio range is continuous.",
+ "gets whether the zoom ratio range is continuous. if it is not continuous, it means that only the value in the key gear can be set. if continuous, it means that any value between the minimum value and maximum value in the key gear can be set. take m3t as an example: iscontinuous is `true`, and the key gears are: [1,2,4,7,28,56], which means that any value of [1,56] can be set. @return returns whether the zoom ratio range is continuous.",
"getgears",
"gets to the key gear of the zoom ratio range. @return returns to the key gear of the zoom ratio range.",
"photofileformat",
@@ -2846,11 +2850,11 @@ var search_data = {
"cameratype",
"supported camera types.",
"m3e",
- "m30 enterprise dual light camera.",
+ "m3e dual light camera.",
"m3t",
- "m30t enterprise triple light camera.",
+ "m3t triple light camera.",
"m3m",
- "m30t enterprise multispectral camera.",
+ "m3 multispectral camera.",
"m30",
"m30 dual light camera.",
"m30t",
@@ -3255,6 +3259,10 @@ var search_data = {
"m30 series.",
"m300_rtk",
"m300 rtk.",
+ "dji_mini_3",
+ "dji mini 3.",
+ "dji_mini_3_pro",
+ "dji mini 3 pro.",
"multicontrolauthoritytype",
"available control types, including flight control and gimbal control.",
"flight_control_authority",
@@ -3449,6 +3457,18 @@ var search_data = {
"get the remaining power of the remote controller, unit: mah. @return return the remaining power of the remote controller, unit: mah.",
"getbatterypercent",
"get the remaining power percentage of the remote controller. @return return the remaining power percentage of the remote controller.",
+ "rcfirmwaretype",
+ "remote controller firmware type.",
+ "m300_rtk",
+ "m300 rtk.",
+ "m350_rtk",
+ "m350 rtk.",
+ "m30_series",
+ "m30 series.",
+ "dji_mini_3_pro",
+ "dji mini 3 pro.",
+ "dji_mini_3",
+ "dji mini 3.",
"multicontrolchannel",
"this class is used to define remote controller muti-control channel. if dual control needs to be realized, the different remote controllers should be set to a different channels, and then pair frequency with the aircraft. notice: if remote controller a is already set to a control, and then remote controller b is set to a control to link with the aircraft, the remote controller a will be disconnected from the aircraft and it needs to link again.",
"channel_a",
@@ -3477,6 +3497,10 @@ var search_data = {
"return channel type of the device that lost connection. @return return channel type of the device that lost connection.",
"getvalue",
"return control type of the device that lost connection. @return return control type of the device that lost connection.",
+ "rcfirmwareinfo",
+ "remote controller firmware information.",
+ "getcurfirmwaretype",
+ "gets the current remote controller firmware type. @return returns the current remote controller firmware type.",
"controlmode",
"remote controller control mode.",
"jp",
@@ -4018,7 +4042,7 @@ var search_data = {
"clearallwaypointactionlistener",
"remove all listeners of waypoint action execution. supported since msdk 5.3.0",
"pushkmzfiletoaircraft",
- "upload a waypoint mission. - the waypoint mission is defined in a kmz file, kmz file is defined according to the dji standard wpml. the wpml is defined according to xml and kml. for more details, please see: dji wpml. - users can generate a kmz file according to the template provided by dji pilot 2. you can also define custom waylines.wpml according to dji wpml standard and upload it after compressing it into a kmz file. - the newly uploaded kmz file will override the previously uploaded kmz file if they have the same mission kmz file name. - you can call this interface multiple times to upload multiple waypoint mission kmz files. you can set mission kmz file name to select the mission to start`startmission` or stop`stopmission`. - one kmz file includes one waypoint mission. one waypoint mission can contain multiple waylines. supported since msdk 5.0.0 @param missionfilepath the file path of the waypoint mission kmz file. @param callback return the execution result. return the upload status of the kmz file including uploading progress and errors.",
+ "upload a waypoint mission. - the waypoint mission is defined in a kmz file, kmz file is defined according to the dji standard wpml. the wpml is defined according to xml and kml. for more details, please see: dji wpml. - users can generate a kmz file according to the template provided by dji pilot 2. you can also define custom waylines.wpml according to dji wpml standard and upload it after compressing it into a kmz file. - the newly uploaded kmz file will override the previously uploaded kmz file if they have the same mission kmz file name. - you can call this interface multiple times to upload multiple waypoint mission kmz files. you can set mission kmz file name to select the mission to start`startmission` or stop`stopmission`. - one kmz file includes one waypoint mission. one waypoint mission can contain multiple waylines. supported since msdk 5.0.0 @param missionfilepath the file path of the waypoint mission kmz file. @param callback return the execution result. return the upload status of the kmz file including uploading progress and errors.",
"startmission",
"start the waypoint mission. supported since msdk 5.0.0 @param missionfilename the file name of the mission to be executed. @param callback return the execution result.",
"getavailablewaylineids",
@@ -4108,7 +4132,7 @@ var search_data = {
"getrtkreferencestationsource",
"get the rtk reference station source of an aircraft. supported since msdk 5.0.0 @param callback return the result of execution.",
"setrtkmaintainaccuracyenabled",
- "enabled or disabled maintain positioning accuracy mode. in case of an rtk module communication error, the aircraft will autonomously maintain the current rtk status with gradually decreasing accurcy. the aircraft will exit rtk if the connection is not re-established within 10 minutes. supported since msdk 5.0.0 @param enabled ’‘true‘’ to enabled maintain positioning accuracy mode. @param callback return the result of execution.",
+ "enabled or disabled maintain positioning accuracy mode. in case of an rtk module communication error, the aircraft will automatic maintain the current rtk status with gradually decreasing accurcy. the aircraft will exit rtk if the connection is not re-established within 10 minutes. supported since msdk 5.0.0 @param enabled ’‘true‘’ to enabled maintain positioning accuracy mode. @param callback return the result of execution.",
"getrtkmaintainaccuracyenabled",
"get if the maintain positioning accuracy mode is enabled. supported since msdk 5.0.0 @param callback return the result of execution.",
"addrtklocationinfolistener",
@@ -6454,10 +6478,10 @@ var search_data = {
2,
"/Components/IUpgradeManager/IUpgradeManager_UpgradeInfoListener.html",
"#IUpgradeManager_UpgradeInfoListener_onUpdated_inline",
- "当升级进度信息发生变化时会回调此方法。 MSDK 5.3.0开始支持 @param upgradeInfo 升级进度信息。",
+ "This method will be called back when the upgrade progress information changes. Supported since MSDK 5.3.0 @param upgradeInfo Upgrade progress information.",
],
[
- "当升级进度信息发生变化时会回调此方法。 MSDK 5.3.0开始支持 @param upgradeInfo 升级进度信息。",
+ "This method will be called back when the upgrade progress information changes. Supported since MSDK 5.3.0 @param upgradeInfo Upgrade progress information.",
1,
"/Components/IUpgradeManager/IUpgradeManager_UpgradeInfoListener.html",
"#IUpgradeManager_UpgradeInfoListener_onUpdated_inline",
@@ -13188,10 +13212,10 @@ var search_data = {
2,
"/Components/IUASRemoteIDManager/IUASRemoteIDManager.html",
"#IUASRemoteIDManager_setElectronicIDEnabled_inline",
- "Enable or disable the EID function. After this function is enabled, the drone will broadcast the EID. EID is an electronic ID standard dedined by Frence. The value is the flight control SN of the drone. The prefix `1581F` means it is a droen produced by DJI. For DJI flight control SN that is not starting with `1581F`, `1581F` should be added to the flight control SN. For example: - For M300 RTK, this value is `1581F` + the flight control SN(`KeySerialNumber`)+ `0` - for M30 and M3E Series, this value is the flight control SN(`KeySerialNumber`) Supported since MSDK 5.0.0 @param isEnabled `true` means the EID function is enabled. @param callback Return the result of the execution result.",
+ "Enable or disable the EID function. After this function is enabled, the drone will broadcast the EID. EID is an electronic ID standard dedined by Frence. The value is the flight control SN of the drone. The prefix `1581F` means it is a droen produced by DJI. For DJI flight control SN that is not starting with `1581F`, `1581F` should be added to the flight control SN. For example: - For M300 RTK, this value is `1581F` + the flight control SN(`KeySerialNumber`)+ `0` - for M350 RTK, M30 and M3E Series, this value is the flight control SN(`KeySerialNumber`) Supported since MSDK 5.0.0 @param isEnabled `true` means the EID function is enabled. @param callback Return the result of the execution result.",
],
[
- "Enable or disable the EID function. After this function is enabled, the drone will broadcast the EID. EID is an electronic ID standard dedined by Frence. The value is the flight control SN of the drone. The prefix `1581F` means it is a droen produced by DJI. For DJI flight control SN that is not starting with `1581F`, `1581F` should be added to the flight control SN. For example: - For M300 RTK, this value is `1581F` + the flight control SN(`KeySerialNumber`)+ `0` - for M30 and M3E Series, this value is the flight control SN(`KeySerialNumber`) Supported since MSDK 5.0.0 @param isEnabled `true` means the EID function is enabled. @param callback Return the result of the execution result.",
+ "Enable or disable the EID function. After this function is enabled, the drone will broadcast the EID. EID is an electronic ID standard dedined by Frence. The value is the flight control SN of the drone. The prefix `1581F` means it is a droen produced by DJI. For DJI flight control SN that is not starting with `1581F`, `1581F` should be added to the flight control SN. For example: - For M300 RTK, this value is `1581F` + the flight control SN(`KeySerialNumber`)+ `0` - for M350 RTK, M30 and M3E Series, this value is the flight control SN(`KeySerialNumber`) Supported since MSDK 5.0.0 @param isEnabled `true` means the EID function is enabled. @param callback Return the result of the execution result.",
1,
"/Components/IUASRemoteIDManager/IUASRemoteIDManager.html",
"#IUASRemoteIDManager_setElectronicIDEnabled_inline",
@@ -14896,10 +14920,10 @@ var search_data = {
2,
"/Components/IPayloadCenter/IPayloadCenter.html",
"#IPayloadCenter_PayloadIndexType_EXTERNAL_inline",
- "The payload is attached to the extend position of the aircraft. On the M300 RTK, this location is the OSDK extension location.",
+ "The payload is attached to the extend position of the aircraft. On the M300 RTK, this location is the OSDK extension location. On the M350 RTK, this location is the E-PORT location.",
],
[
- "The payload is attached to the extend position of the aircraft. On the M300 RTK, this location is the OSDK extension location.",
+ "The payload is attached to the extend position of the aircraft. On the M300 RTK, this location is the OSDK extension location. On the M350 RTK, this location is the E-PORT location.",
1,
"/Components/IPayloadCenter/IPayloadCenter.html",
"#IPayloadCenter_PayloadIndexType_EXTERNAL_inline",
@@ -17075,15 +17099,43 @@ var search_data = {
"#Key_RemoteController_RCCustomButton3Down_inline",
"",
],
+ [
+ "KeyRcFirmwareInfo",
+ 2,
+ "/Components/IKeyManager/Key_RemoteController_RemoteControllerKey.html",
+ "#Key_RemoteController_RcFirmwareInfo_inline",
+ "Get the current firmware information of the remote controller. Supported since MSDK 5.4.0",
+ ],
+ [
+ "Get the current firmware information of the remote controller. Supported since MSDK 5.4.0",
+ 1,
+ "/Components/IKeyManager/Key_RemoteController_RemoteControllerKey.html",
+ "#Key_RemoteController_RcFirmwareInfo_inline",
+ "",
+ ],
+ [
+ "KeySwitchRcFirmware",
+ 2,
+ "/Components/IKeyManager/Key_RemoteController_RemoteControllerKey.html",
+ "#Key_RemoteController_SwitchRcFirmware_inline",
+ "Switch the remote controller firmware type. Take DJI RC Plus remote controller as an example: DJI RC Plus remote controller can be used for M30 series, M300 RTK and M350 RTK. You can call this interface to switch the firmware of different aircraft, and then call `KeyRequestPairing` for pairing. Supported since MSDK 5.4.0",
+ ],
+ [
+ "Switch the remote controller firmware type. Take DJI RC Plus remote controller as an example: DJI RC Plus remote controller can be used for M30 series, M300 RTK and M350 RTK. You can call this interface to switch the firmware of different aircraft, and then call `KeyRequestPairing` for pairing. Supported since MSDK 5.4.0",
+ 1,
+ "/Components/IKeyManager/Key_RemoteController_RemoteControllerKey.html",
+ "#Key_RemoteController_SwitchRcFirmware_inline",
+ "",
+ ],
[
"KeyRequestPairing",
2,
"/Components/IKeyManager/Key_RemoteController_RemoteControllerKey.html",
"#Key_RemoteController_RcRequestPairing_inline",
- "Start the remote controller pairing operation, then the remote controller will start pairing with the aircraft. When the remote controller cannot be connected to the aircraft or the remote controller is replaced, the remote controller can be connected to the aircraft through pairing operation. Supported since MSDK 5.0.0",
+ "Start the remote controller pairing operation, then the remote controller will start pairing with the aircraft. When the remote controller cannot be connected to the aircraft or the remote controller is replaced, the remote controller can be connected to the aircraft through pairing operation. Note: DJI RC Plus remote controller and DJI RC N1 remote controller support multiple aircraft types. Please first call `KeyRcFirmwareInfo` to get the firmware type of the current remote controller. If the firmware type is inconsistent with the type of aircraft that needs to be paired, please call `KeySwitchRcFirmware` to switch the firmware of the remote controller to the type that needs to be paired before performing the pairing operation. Supported since MSDK 5.4.0",
],
[
- "Start the remote controller pairing operation, then the remote controller will start pairing with the aircraft. When the remote controller cannot be connected to the aircraft or the remote controller is replaced, the remote controller can be connected to the aircraft through pairing operation. Supported since MSDK 5.0.0",
+ "Start the remote controller pairing operation, then the remote controller will start pairing with the aircraft. When the remote controller cannot be connected to the aircraft or the remote controller is replaced, the remote controller can be connected to the aircraft through pairing operation. Note: DJI RC Plus remote controller and DJI RC N1 remote controller support multiple aircraft types. Please first call `KeyRcFirmwareInfo` to get the firmware type of the current remote controller. If the firmware type is inconsistent with the type of aircraft that needs to be paired, please call `KeySwitchRcFirmware` to switch the firmware of the remote controller to the type that needs to be paired before performing the pairing operation. Supported since MSDK 5.4.0",
1,
"/Components/IKeyManager/Key_RemoteController_RemoteControllerKey.html",
"#Key_RemoteController_RcRequestPairing_inline",
@@ -18000,7 +18052,7 @@ var search_data = {
"",
],
[
- "KeyBatteryHighVoltageStorageSec",
+ "KeyBatteryHighVoltageStorageTime",
2,
"/Components/IKeyManager/Key_Battery_BatteryKey.html",
"#Key_Battery_BatteryHighVoltageStorageSec_inline",
@@ -19334,10 +19386,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraZoomRatios_inline",
- "Parameter:Double Set the zoom ratios of the camera lens. The recommended minimum accuracy is 0.1. Different lenses have different camera ratios ranges, please call `KeyCameraZoomRatiosRange` to get the zoom ratios supported by the lens. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Double Set the zoom ratios of the camera lens. The recommended minimum accuracy is 0.1. Different lenses have different camera ratios ranges, please call `KeyCameraZoomRatiosRange` to get the zoom ratios supported by the lens. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
],
[
- "Parameter:Double Set the zoom ratios of the camera lens. The recommended minimum accuracy is 0.1. Different lenses have different camera ratios ranges, please call `KeyCameraZoomRatiosRange` to get the zoom ratios supported by the lens. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Double Set the zoom ratios of the camera lens. The recommended minimum accuracy is 0.1. Different lenses have different camera ratios ranges, please call `KeyCameraZoomRatiosRange` to get the zoom ratios supported by the lens. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraZoomRatios_inline",
@@ -19348,10 +19400,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraZoomFocalLength_inline",
- "Parameter:Interger Gets the focal length of the zoom lens, unit: mm. Please use `KeyCameraZoomRatios` to set the zoom ratios. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Interger Gets the focal length of the zoom lens, unit: mm. Please use `KeyCameraZoomRatios` to set the zoom ratios. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
],
[
- "Parameter:Interger Gets the focal length of the zoom lens, unit: mm. Please use `KeyCameraZoomRatios` to set the zoom ratios. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Interger Gets the focal length of the zoom lens, unit: mm. Please use `KeyCameraZoomRatios` to set the zoom ratios. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraZoomFocalLength_inline",
@@ -19362,10 +19414,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusMode_inline",
- "Parameter:`CameraFocusMode` To set and get focus mode of zoom lens. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:`CameraFocusMode` To set and get focus mode of zoom lens. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
],
[
- "Parameter:`CameraFocusMode` To set and get focus mode of zoom lens. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:`CameraFocusMode` To set and get focus mode of zoom lens. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusMode_inline",
@@ -19376,10 +19428,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusRingMinValue_inline",
- "Parameter:Integer The minimum settable value that the camera manually focusing. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Integer The minimum settable value that the camera manually focusing. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
],
[
- "Parameter:Integer The minimum settable value that the camera manually focusing. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Integer The minimum settable value that the camera manually focusing. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusRingMinValue_inline",
@@ -19390,10 +19442,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusRingMaxValue_inline",
- "Parameter:Integer The maximum settable value that the camera manually focusing. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Integer The maximum settable value that the camera manually focusing. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
],
[
- "Parameter:Integer The maximum settable value that the camera manually focusing. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Integer The maximum settable value that the camera manually focusing. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusRingMaxValue_inline",
@@ -19404,10 +19456,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusRingValue_inline",
- "Parameter:Integer The manually focusing value of the camera. The maximum and minimum settable value that the camera manually focusing can be obtained through `KeyCameraFocusRingMinValue` and `KeyCameraFocusRingMaxValue`. In `MANUAL` mode, camera will focus once with the center point of the screen as the focus target after setting the focus value. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Integer The manually focusing value of the camera. The maximum and minimum settable value that the camera manually focusing can be obtained through `KeyCameraFocusRingMinValue` and `KeyCameraFocusRingMaxValue`. In `MANUAL` mode, camera will focus once with the center point of the screen as the focus target after setting the focus value. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
],
[
- "Parameter:Integer The manually focusing value of the camera. The maximum and minimum settable value that the camera manually focusing can be obtained through `KeyCameraFocusRingMinValue` and `KeyCameraFocusRingMaxValue`. In `MANUAL` mode, camera will focus once with the center point of the screen as the focus target after setting the focus value. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:Integer The manually focusing value of the camera. The maximum and minimum settable value that the camera manually focusing can be obtained through `KeyCameraFocusRingMinValue` and `KeyCameraFocusRingMaxValue`. In `MANUAL` mode, camera will focus once with the center point of the screen as the focus target after setting the focus value. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusRingValue_inline",
@@ -19418,10 +19470,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusTarget_inline",
- "Parameter:`DoublePoint2D` The focus target of camera automaic focus. [0,0] means the upper left corner of camera screen. [1,1] means the lower right corner of camera screen. In `AF` mode, camera will automatically focus on the focus target once after setting focus target. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:`DoublePoint2D` The focus target of camera automaic focus. [0,0] means the upper left corner of camera screen. [1,1] means the lower right corner of camera screen. In `AF` mode, camera will automatically focus on the focus target once after setting focus target. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
],
[
- "Parameter:`DoublePoint2D` The focus target of camera automaic focus. [0,0] means the upper left corner of camera screen. [1,1] means the lower right corner of camera screen. In `AF` mode, camera will automatically focus on the focus target once after setting focus target. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. Supported since MSDK 5.0.0",
+ "Parameter:`DoublePoint2D` The focus target of camera automaic focus. [0,0] means the upper left corner of camera screen. [1,1] means the lower right corner of camera screen. In `AF` mode, camera will automatically focus on the focus target once after setting focus target. Notice: 1. To use this function, please call `KeyCameraVideoStreamSource` to set the video source to `ZOOM_CAMERA`. 2. When using `KeyTools` to create a `DJIKey` instance, please set `CameraLensType` to `CAMERA_LENS_ZOOM`. If it is an M3M aircraft, set it to `CAMERA_LENS_RGB`. If it is a single-lens aircraft, set it to `CAMERA_LENS_DEFAULT`.Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_Camera_CameraKey.html",
"#Key_Camera_CameraFocusTarget_inline",
@@ -20468,10 +20520,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StartTakeoff_inline",
- "To start the autonomously taking off of the aircraft. When the aircraft hovers at an altitude of 1.2 meters(4 feet) above the ground, taking off is completed. If the motor is already opened, this command can not be executed. Supported since MSDK 5.0.0",
+ "To start the automatic taking off of the aircraft. When the aircraft hovers at an altitude of 1.2 meters(4 feet) above the ground, taking off is completed. If the motor is already opened, this command can not be executed. Supported since MSDK 5.0.0",
],
[
- "To start the autonomously taking off of the aircraft. When the aircraft hovers at an altitude of 1.2 meters(4 feet) above the ground, taking off is completed. If the motor is already opened, this command can not be executed. Supported since MSDK 5.0.0",
+ "To start the automatic taking off of the aircraft. When the aircraft hovers at an altitude of 1.2 meters(4 feet) above the ground, taking off is completed. If the motor is already opened, this command can not be executed. Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StartTakeoff_inline",
@@ -20482,10 +20534,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StopTakeoff_inline",
- "To stop the autonomous take-off of the aircraft. If this interface is called before autonomous take-off is finished, the aircraft will stop taking off and hover at the current altitude. Supported since MSDK 5.0.0",
+ "To stop the automatic take-off of the aircraft. If this interface is called before automatic take-off is finished, the aircraft will stop taking off and hover at the current altitude. Supported since MSDK 5.0.0",
],
[
- "To stop the autonomous take-off of the aircraft. If this interface is called before autonomous take-off is finished, the aircraft will stop taking off and hover at the current altitude. Supported since MSDK 5.0.0",
+ "To stop the automatic take-off of the aircraft. If this interface is called before automatic take-off is finished, the aircraft will stop taking off and hover at the current altitude. Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StopTakeoff_inline",
@@ -20496,10 +20548,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StartAutoLanding_inline",
- "To start the autonomous landing of the aircraft. Supported since MSDK 5.0.0",
+ "To start the automatic landing of the aircraft. Supported since MSDK 5.0.0",
],
[
- "To start the autonomous landing of the aircraft. Supported since MSDK 5.0.0",
+ "To start the automatic landing of the aircraft. Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StartAutoLanding_inline",
@@ -20510,10 +20562,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StopAutoLanding_inline",
- "To stop the autonomuous landing of the aircraft. If this interface is called during the autonomous landing process, the aircraft will stop landing and hover at the current altitude. Supported since MSDK 5.0.0",
+ "To stop the autonomuous landing of the aircraft. If this interface is called during the automatic landing process, the aircraft will stop landing and hover at the current altitude. Supported since MSDK 5.0.0",
],
[
- "To stop the autonomuous landing of the aircraft. If this interface is called during the autonomous landing process, the aircraft will stop landing and hover at the current altitude. Supported since MSDK 5.0.0",
+ "To stop the autonomuous landing of the aircraft. If this interface is called during the automatic landing process, the aircraft will stop landing and hover at the current altitude. Supported since MSDK 5.0.0",
1,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StopAutoLanding_inline",
@@ -20650,10 +20702,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StartMultiGimbalSyncControl_inline",
- "Parameter: `MultiGimbalSyncControlInfo` Enable multi-gimbal Synchronization control. Multiple gimbals can be controlled at the same time through one remote controller. Please make sure that the set gimbals have been mounted on the aircraft. This interface is suitable for aircraft that can mount multiple gimbals, such as M300 RTK. Supported since MSDK 5.2.0",
+ "Parameter: `MultiGimbalSyncControlInfo` Enable multi-gimbal Synchronization control. Multiple gimbals can be controlled at the same time through one remote controller. Please make sure that the set gimbals have been mounted on the aircraft. This interface is suitable for aircraft that can mount multiple gimbals, such as M300 RTK and M350 RTK. Supported since MSDK 5.2.0",
],
[
- "Parameter: `MultiGimbalSyncControlInfo` Enable multi-gimbal Synchronization control. Multiple gimbals can be controlled at the same time through one remote controller. Please make sure that the set gimbals have been mounted on the aircraft. This interface is suitable for aircraft that can mount multiple gimbals, such as M300 RTK. Supported since MSDK 5.2.0",
+ "Parameter: `MultiGimbalSyncControlInfo` Enable multi-gimbal Synchronization control. Multiple gimbals can be controlled at the same time through one remote controller. Please make sure that the set gimbals have been mounted on the aircraft. This interface is suitable for aircraft that can mount multiple gimbals, such as M300 RTK and M350 RTK. Supported since MSDK 5.2.0",
1,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_StartMultiGimbalSyncControl_inline",
@@ -20832,10 +20884,10 @@ var search_data = {
2,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_AccessLockerV1AllDeviceStates_inline",
- "Parameter: List<`AccessLockerDeviceStatus`> Get the security code status of the storage device. Through this interface, you can obtain whether the storage device on the aircraft supports the security code function, whether the security code function is enabled, and whether the security code needs to be verified. Security code is to keep your media data safe. After the security code is set, the MSDK App needs to perform password verification after connecting to the aircraft. After the verification is passed, it can take photos, record videos and read and write media data in the storage device. - `getIsFeatureSupported` is `true`, indicating that the storage device supports the security code function. You can call `KeyAccessLockerSetSecurityCode` to set the security code. - `getIsFeatureEnabled` is `true`, indicating that the security code function of the storage device is enabled. You can call `KeyAccessLockerModifySecurityCode` for security code modification. If you forget the security code, you can call `KeyAccessLockerResetSecurityCode` to reset the security code. - `getIsFeatureNeedToBeVerified` is `true`, indicating that the storage device needs to verify the security code. Please call `KeyAccessLockerVerifySecurityCode` for security code verification, otherwise, you will not be able to take photos and record videos, and you will not be able to read and write media data in the storage device. The security code is usually required to be verified when the aircraft is restarted or the storage device is inserted. - Security code is neither saved on device nor accessible by DJI. - It is not possible to reset security code. If security code is lost, format SD card to delete code. - Security code settings only available for Zenmuse H20 and Matrice 30 series cameras. Zenmuse P1, Zenmuse L1, and third-party payloads currently not supported. Supported since MSDK 5.1.0",
+ "Parameter: List<`AccessLockerDeviceStatus`> Get the security code status of the storage device. Through this interface, you can obtain whether the storage device on the aircraft supports the security code function, whether the security code function is enabled, and whether the security code needs to be verified. Security code is to keep your media data safe. After the security code is set, the MSDK App needs to perform password verification after connecting to the aircraft. After the verification is passed, it can take photos, record videos and read and write media data in the storage device. - `getIsFeatureSupported` is `true`, indicating that the storage device supports the security code function. You can call `KeyAccessLockerSetSecurityCode` to set the security code. - `getIsFeatureEnabled` is `true`, indicating that the security code function of the storage device is enabled. You can call `KeyAccessLockerModifySecurityCode` for security code modification. If you forget the security code, you can call `KeyAccessLockerResetSecurityCode` to reset the security code. - `getIsFeatureNeedToBeVerified` is `true`, indicating that the storage device needs to verify the security code. Please call `KeyAccessLockerVerifySecurityCode` for security code verification, otherwise, you will not be able to take photos and record videos, and you will not be able to read and write media data in the storage device. The security code is usually required to be verified when the aircraft is restarted or the storage device is inserted. - Security code is neither saved on device nor accessible by DJI. - It is not possible to reset security code. If security code is lost, format SD card to delete code. - Security code settings only available for Zenmuse H20, Matrice 30 series cameras and Mavic 3 Enterprise series cameras. Zenmuse P1, Zenmuse L1, and third-party payloads currently not supported. Supported since MSDK 5.1.0",
],
[
- "Parameter: List<`AccessLockerDeviceStatus`> Get the security code status of the storage device. Through this interface, you can obtain whether the storage device on the aircraft supports the security code function, whether the security code function is enabled, and whether the security code needs to be verified. Security code is to keep your media data safe. After the security code is set, the MSDK App needs to perform password verification after connecting to the aircraft. After the verification is passed, it can take photos, record videos and read and write media data in the storage device. - `getIsFeatureSupported` is `true`, indicating that the storage device supports the security code function. You can call `KeyAccessLockerSetSecurityCode` to set the security code. - `getIsFeatureEnabled` is `true`, indicating that the security code function of the storage device is enabled. You can call `KeyAccessLockerModifySecurityCode` for security code modification. If you forget the security code, you can call `KeyAccessLockerResetSecurityCode` to reset the security code. - `getIsFeatureNeedToBeVerified` is `true`, indicating that the storage device needs to verify the security code. Please call `KeyAccessLockerVerifySecurityCode` for security code verification, otherwise, you will not be able to take photos and record videos, and you will not be able to read and write media data in the storage device. The security code is usually required to be verified when the aircraft is restarted or the storage device is inserted. - Security code is neither saved on device nor accessible by DJI. - It is not possible to reset security code. If security code is lost, format SD card to delete code. - Security code settings only available for Zenmuse H20 and Matrice 30 series cameras. Zenmuse P1, Zenmuse L1, and third-party payloads currently not supported. Supported since MSDK 5.1.0",
+ "Parameter: List<`AccessLockerDeviceStatus`> Get the security code status of the storage device. Through this interface, you can obtain whether the storage device on the aircraft supports the security code function, whether the security code function is enabled, and whether the security code needs to be verified. Security code is to keep your media data safe. After the security code is set, the MSDK App needs to perform password verification after connecting to the aircraft. After the verification is passed, it can take photos, record videos and read and write media data in the storage device. - `getIsFeatureSupported` is `true`, indicating that the storage device supports the security code function. You can call `KeyAccessLockerSetSecurityCode` to set the security code. - `getIsFeatureEnabled` is `true`, indicating that the security code function of the storage device is enabled. You can call `KeyAccessLockerModifySecurityCode` for security code modification. If you forget the security code, you can call `KeyAccessLockerResetSecurityCode` to reset the security code. - `getIsFeatureNeedToBeVerified` is `true`, indicating that the storage device needs to verify the security code. Please call `KeyAccessLockerVerifySecurityCode` for security code verification, otherwise, you will not be able to take photos and record videos, and you will not be able to read and write media data in the storage device. The security code is usually required to be verified when the aircraft is restarted or the storage device is inserted. - Security code is neither saved on device nor accessible by DJI. - It is not possible to reset security code. If security code is lost, format SD card to delete code. - Security code settings only available for Zenmuse H20, Matrice 30 series cameras and Mavic 3 Enterprise series cameras. Zenmuse P1, Zenmuse L1, and third-party payloads currently not supported. Supported since MSDK 5.1.0",
1,
"/Components/IKeyManager/Key_FlightController_FlightControllerKey.html",
"#Key_FlightController_AccessLockerV1AllDeviceStates_inline",
@@ -23926,10 +23978,10 @@ var search_data = {
2,
"/Components/IKeyManager/Value_Camera_Struct_MSDKZoomRatiosRange.html",
"#Value_Camera_Struct_MSDKZoomRatiosRange_isContinuous_inline",
- "Gets whether the zoom ratio range is continuous. If it is not continuous, it means that only the value in the key gear can be set. If continuous, it means that any value between the minimum value and maximum value in the key gear can be set. @return Returns whether the zoom ratio range is continuous.",
+ "Gets whether the zoom ratio range is continuous. If it is not continuous, it means that only the value in the key gear can be set. If continuous, it means that any value between the minimum value and maximum value in the key gear can be set. Take M3T as an example: isContinuous is `TRUE`, and the key gears are: [1,2,4,7,28,56], which means that any value of [1,56] can be set. @return Returns whether the zoom ratio range is continuous.",
],
[
- "Gets whether the zoom ratio range is continuous. If it is not continuous, it means that only the value in the key gear can be set. If continuous, it means that any value between the minimum value and maximum value in the key gear can be set. @return Returns whether the zoom ratio range is continuous.",
+ "Gets whether the zoom ratio range is continuous. If it is not continuous, it means that only the value in the key gear can be set. If continuous, it means that any value between the minimum value and maximum value in the key gear can be set. Take M3T as an example: isContinuous is `TRUE`, and the key gears are: [1,2,4,7,28,56], which means that any value of [1,56] can be set. @return Returns whether the zoom ratio range is continuous.",
1,
"/Components/IKeyManager/Value_Camera_Struct_MSDKZoomRatiosRange.html",
"#Value_Camera_Struct_MSDKZoomRatiosRange_isContinuous_inline",
@@ -24374,10 +24426,10 @@ var search_data = {
2,
"/Components/IKeyManager/DJIValue.html",
"#Value_Camera_Enum_MSDKCameraType_M3E_inline",
- "M30 enterprise dual light camera.",
+ "M3E dual light camera.",
],
[
- "M30 enterprise dual light camera.",
+ "M3E dual light camera.",
1,
"/Components/IKeyManager/DJIValue.html",
"#Value_Camera_Enum_MSDKCameraType_M3E_inline",
@@ -24388,10 +24440,10 @@ var search_data = {
2,
"/Components/IKeyManager/DJIValue.html",
"#Value_Camera_Enum_MSDKCameraType_M3T_inline",
- "M30T enterprise triple light camera.",
+ "M3T triple light camera.",
],
[
- "M30T enterprise triple light camera.",
+ "M3T triple light camera.",
1,
"/Components/IKeyManager/DJIValue.html",
"#Value_Camera_Enum_MSDKCameraType_M3T_inline",
@@ -24402,10 +24454,10 @@ var search_data = {
2,
"/Components/IKeyManager/DJIValue.html",
"#Value_Camera_Enum_MSDKCameraType_M3M_inline",
- "M30T enterprise multispectral camera.",
+ "M3 multispectral camera.",
],
[
- "M30T enterprise multispectral camera.",
+ "M3 multispectral camera.",
1,
"/Components/IKeyManager/DJIValue.html",
"#Value_Camera_Enum_MSDKCameraType_M3M_inline",
@@ -27239,6 +27291,34 @@ var search_data = {
"#Value_Product_Enum_ProductType_PM430_inline",
"",
],
+ [
+ "DJI_MINI_3",
+ 2,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_Product_Enum_ProductType_WM163_inline",
+ "DJI Mini 3.",
+ ],
+ [
+ "DJI Mini 3.",
+ 1,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_Product_Enum_ProductType_WM163_inline",
+ "",
+ ],
+ [
+ "DJI_MINI_3_PRO",
+ 2,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_Product_Enum_ProductType_WM162_inline",
+ "DJI Mini 3 Pro.",
+ ],
+ [
+ "DJI Mini 3 Pro.",
+ 1,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_Product_Enum_ProductType_WM162_inline",
+ "",
+ ],
[
"MultiControlAuthorityType",
2,
@@ -28597,6 +28677,90 @@ var search_data = {
"#Value_RemoteController_Struct_RcParamChargeRemainingInfo_getBatteryPercent_inline",
"",
],
+ [
+ "RcFirmwareType",
+ 2,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_inline",
+ "Remote controller firmware type.",
+ ],
+ [
+ "Remote controller firmware type.",
+ 1,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_inline",
+ "",
+ ],
+ [
+ "M300_RTK",
+ 2,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_PM43X_inline",
+ "M300 RTK.",
+ ],
+ [
+ "M300 RTK.",
+ 1,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_PM43X_inline",
+ "",
+ ],
+ [
+ "M350_RTK",
+ 2,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_PM431_inline",
+ "M350 RTK.",
+ ],
+ [
+ "M350 RTK.",
+ 1,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_PM431_inline",
+ "",
+ ],
+ [
+ "M30_SERIES",
+ 2,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_PM320_inline",
+ "M30 Series.",
+ ],
+ [
+ "M30 Series.",
+ 1,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_PM320_inline",
+ "",
+ ],
+ [
+ "DJI_MINI_3_PRO",
+ 2,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_WM162_inline",
+ "DJI Mini 3 Pro.",
+ ],
+ [
+ "DJI Mini 3 Pro.",
+ 1,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_WM162_inline",
+ "",
+ ],
+ [
+ "DJI_MINI_3",
+ 2,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_WM163_inline",
+ "DJI Mini 3.",
+ ],
+ [
+ "DJI Mini 3.",
+ 1,
+ "/Components/IKeyManager/DJIValue.html",
+ "#Value_RemoteController_Enum_RcFirmwareType_WM163_inline",
+ "",
+ ],
[
"MultiControlChannel",
2,
@@ -28793,6 +28957,34 @@ var search_data = {
"#Value_RemoteController_Struct_RCAuthorityLostPushMsg_getValue_inline",
"",
],
+ [
+ "RcFirmwareInfo",
+ 2,
+ "/Components/IKeyManager/Value_RemoteController_Struct_RcFirmwareInfo.html",
+ "",
+ "Remote controller firmware information.",
+ ],
+ [
+ "Remote controller firmware information.",
+ 1,
+ "/Components/IKeyManager/Value_RemoteController_Struct_RcFirmwareInfo.html",
+ "",
+ "",
+ ],
+ [
+ "getCurFirmwareType",
+ 2,
+ "/Components/IKeyManager/Value_RemoteController_Struct_RcFirmwareInfo.html",
+ "#Value_RemoteController_Struct_RcFirmwareInfo_getCurFirmwareType_inline",
+ "Gets the current remote controller firmware type. @return Returns the current remote controller firmware type.",
+ ],
+ [
+ "Gets the current remote controller firmware type. @return Returns the current remote controller firmware type.",
+ 1,
+ "/Components/IKeyManager/Value_RemoteController_Struct_RcFirmwareInfo.html",
+ "#Value_RemoteController_Struct_RcFirmwareInfo_getCurFirmwareType_inline",
+ "",
+ ],
[
"ControlMode",
2,
@@ -32578,10 +32770,10 @@ var search_data = {
2,
"/Components/IWaypointMissionManager/IWaypointMissionManager.html",
"#IWaypointMissionManager_pushKMZFileToAircraft_inline",
- "Upload a waypoint mission. - The waypoint mission is defined in a KMZ file, KMZ file is defined according to the DJI standard WPML. The WPML is defined according to XML and KML. For more details, please see: DJI WPML. - Users can generate a KMZ file according to the template provided by DJI Pilot 2. You can also define custom waylines.wpml according to DJI WPML standard and upload it after compressing it into a KMZ file. - The newly uploaded KMZ file will override the previously uploaded KMZ file if they have the same mission KMZ file name. - You can call this interface multiple times to upload multiple waypoint mission KMZ files. You can set mission KMZ file name to select the mission to start`startMission` or stop`stopMission`. - One KMZ file includes one waypoint mission. One waypoint mission can contain multiple waylines. Supported since MSDK 5.0.0 @param missionFilePath The file path of the waypoint mission KMZ file. @param callback return the execution result. Return the upload status of the KMZ file including uploading progress and errors.",
+ "Upload a waypoint mission. - The waypoint mission is defined in a KMZ file, KMZ file is defined according to the DJI standard WPML. The WPML is defined according to XML and KML. For more details, please see: DJI WPML. - Users can generate a KMZ file according to the template provided by DJI Pilot 2. You can also define custom waylines.wpml according to DJI WPML standard and upload it after compressing it into a KMZ file. - The newly uploaded KMZ file will override the previously uploaded KMZ file if they have the same mission KMZ file name. - You can call this interface multiple times to upload multiple waypoint mission KMZ files. You can set mission KMZ file name to select the mission to start`startMission` or stop`stopMission`. - One KMZ file includes one waypoint mission. One waypoint mission can contain multiple waylines. Supported since MSDK 5.0.0 @param missionFilePath The file path of the waypoint mission KMZ file. @param callback return the execution result. Return the upload status of the KMZ file including uploading progress and errors.",
],
[
- "Upload a waypoint mission. - The waypoint mission is defined in a KMZ file, KMZ file is defined according to the DJI standard WPML. The WPML is defined according to XML and KML. For more details, please see: DJI WPML. - Users can generate a KMZ file according to the template provided by DJI Pilot 2. You can also define custom waylines.wpml according to DJI WPML standard and upload it after compressing it into a KMZ file. - The newly uploaded KMZ file will override the previously uploaded KMZ file if they have the same mission KMZ file name. - You can call this interface multiple times to upload multiple waypoint mission KMZ files. You can set mission KMZ file name to select the mission to start`startMission` or stop`stopMission`. - One KMZ file includes one waypoint mission. One waypoint mission can contain multiple waylines. Supported since MSDK 5.0.0 @param missionFilePath The file path of the waypoint mission KMZ file. @param callback return the execution result. Return the upload status of the KMZ file including uploading progress and errors.",
+ "Upload a waypoint mission. - The waypoint mission is defined in a KMZ file, KMZ file is defined according to the DJI standard WPML. The WPML is defined according to XML and KML. For more details, please see: DJI WPML. - Users can generate a KMZ file according to the template provided by DJI Pilot 2. You can also define custom waylines.wpml according to DJI WPML standard and upload it after compressing it into a KMZ file. - The newly uploaded KMZ file will override the previously uploaded KMZ file if they have the same mission KMZ file name. - You can call this interface multiple times to upload multiple waypoint mission KMZ files. You can set mission KMZ file name to select the mission to start`startMission` or stop`stopMission`. - One KMZ file includes one waypoint mission. One waypoint mission can contain multiple waylines. Supported since MSDK 5.0.0 @param missionFilePath The file path of the waypoint mission KMZ file. @param callback return the execution result. Return the upload status of the KMZ file including uploading progress and errors.",
1,
"/Components/IWaypointMissionManager/IWaypointMissionManager.html",
"#IWaypointMissionManager_pushKMZFileToAircraft_inline",
@@ -33208,10 +33400,10 @@ var search_data = {
2,
"/Components/IRTKCenter/IRTKCenter.html",
"#IRTKCenter_setRTKMaintainAccuracyEnabled_inline",
- "enabled or disabled maintain positioning accuracy mode. In case of an RTK module communication error, the aircraft will autonomously maintain the current RTK status with gradually decreasing accurcy. The aircraft will exit RTK if the connection is not re-established within 10 minutes. Supported since MSDK 5.0.0 @param enabled ’‘TRUE‘’ to enabled maintain positioning accuracy mode. @param callback Return the result of execution.",
+ "enabled or disabled maintain positioning accuracy mode. In case of an RTK module communication error, the aircraft will automatic maintain the current RTK status with gradually decreasing accurcy. The aircraft will exit RTK if the connection is not re-established within 10 minutes. Supported since MSDK 5.0.0 @param enabled ’‘TRUE‘’ to enabled maintain positioning accuracy mode. @param callback Return the result of execution.",
],
[
- "enabled or disabled maintain positioning accuracy mode. In case of an RTK module communication error, the aircraft will autonomously maintain the current RTK status with gradually decreasing accurcy. The aircraft will exit RTK if the connection is not re-established within 10 minutes. Supported since MSDK 5.0.0 @param enabled ’‘TRUE‘’ to enabled maintain positioning accuracy mode. @param callback Return the result of execution.",
+ "enabled or disabled maintain positioning accuracy mode. In case of an RTK module communication error, the aircraft will automatic maintain the current RTK status with gradually decreasing accurcy. The aircraft will exit RTK if the connection is not re-established within 10 minutes. Supported since MSDK 5.0.0 @param enabled ’‘TRUE‘’ to enabled maintain positioning accuracy mode. @param callback Return the result of execution.",
1,
"/Components/IRTKCenter/IRTKCenter.html",
"#IRTKCenter_setRTKMaintainAccuracyEnabled_inline",
diff --git a/Docs/Android_API/en/stylesheets/doc-app.css b/Docs/Android_API/en/stylesheets/doc-app.css
index f1296aba8..aaaa65b69 100644
--- a/Docs/Android_API/en/stylesheets/doc-app.css
+++ b/Docs/Android_API/en/stylesheets/doc-app.css
@@ -1,4 +1,4 @@
-/* mixin */
+/* mixin */
/* color */
/* $light-text-color: #a6acaa; */
/* b4b4b4 */
diff --git a/Docs/Android_API/en/stylesheets/doc-vendor.css b/Docs/Android_API/en/stylesheets/doc-vendor.css
index 8c70f1d16..3817e56d4 100644
--- a/Docs/Android_API/en/stylesheets/doc-vendor.css
+++ b/Docs/Android_API/en/stylesheets/doc-vendor.css
@@ -1,4 +1,4 @@
-@charset "UTF-8";
+@charset "UTF-8";
/*!
* Bootstrap v3.3.5 (http://getbootstrap.com)
* Copyright 2011-2015 Twitter, Inc.
diff --git a/README.md b/README.md
index d0bb1556b..3671fddf2 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-# DJI Mobile SDK for Android V5 Latest Version 5.3.0
+# DJI Mobile SDK for Android V5 Latest Version 5.4.0
[中文版](README_CN.md)
@@ -12,6 +12,8 @@ Supported Product:
* [Mavic 3 Enterprise Series](https://www.dji.com/cn/mavic-3-enterprise)
* [M30 Series](https://www.dji.com/matrice-30?site=brandsite&from=nav)
* [M300 RTK](https://www.dji.com/matrice-300?site=brandsite&from=nav)
+* [Matrice 350 RTK](https://enterprise.dji.com/cn/matrice-350-rtk)
+
## Project Directory Introduction
@@ -82,7 +84,7 @@ For further detail on how to integrate the DJI Android SDK into your Android Stu
## AAR Explanation
-> **Notice:** sdkVersion = 5.3.0
+> **Notice:** sdkVersion = 5.4.0
| SDK package | Explanation | How to use|
| :---------------: | :-----------------: | :---------------: |
diff --git a/README_CN.md b/README_CN.md
index 9c37d91c8..80db977de 100644
--- a/README_CN.md
+++ b/README_CN.md
@@ -1,4 +1,4 @@
-# DJI Mobile SDK for Android V5 最新版本 V5.3.0
+# DJI Mobile SDK for Android V5 最新版本 V5.4.0
[English Version](README.md)
@@ -13,6 +13,9 @@ DJI Mobile SDK V5拥有更加简洁易用的无人机硬件控制接口和软件
* [Mavic 3 行业系列](https://www.dji.com/cn/mavic-3-enterprise)
* [经纬 M30 系列](https://www.dji.com/cn/matrice-30?site=brandsite&from=nav)
* [经纬 M300 RTK](https://www.dji.com/cn/matrice-300?site=brandsite&from=nav)
+* [Matrice 350 RTK](https://enterprise.dji.com/cn/matrice-350-rtk)
+
+
## 工程目录介绍
@@ -84,7 +87,7 @@ App模块:
## AAR说明
-> **注意:** sdkVersion = 5.3.0
+> **注意:** sdkVersion = 5.4.0
| SDK包| 说明| 使用方式|
| :---------------: | :-----------------: | :---------------: |
diff --git a/SampleCode-V5/android-sdk-v5-as/dependencies.gradle b/SampleCode-V5/android-sdk-v5-as/dependencies.gradle
index b58f03b59..7cf6db309 100644
--- a/SampleCode-V5/android-sdk-v5-as/dependencies.gradle
+++ b/SampleCode-V5/android-sdk-v5-as/dependencies.gradle
@@ -1,9 +1,9 @@
ext {
deps = [:]
//DJI MSDK V5包
- deps.aircraft = "com.dji:dji-sdk-v5-aircraft:5.3.0"
- deps.aircraftProvided = "com.dji:dji-sdk-v5-aircraft-provided:5.3.0"
- deps.networkImp = "com.dji:dji-sdk-v5-networkImp:5.3.0"
+ deps.aircraft = "com.dji:dji-sdk-v5-aircraft:5.4.0"
+ deps.aircraftProvided = "com.dji:dji-sdk-v5-aircraft-provided:5.4.0"
+ deps.networkImp = "com.dji:dji-sdk-v5-networkImp:5.4.0"
//三方依赖库
diff --git a/SampleCode-V5/android-sdk-v5-as/gradle.properties b/SampleCode-V5/android-sdk-v5-as/gradle.properties
index 22d4a08a7..3faaba4cb 100644
--- a/SampleCode-V5/android-sdk-v5-as/gradle.properties
+++ b/SampleCode-V5/android-sdk-v5-as/gradle.properties
@@ -8,6 +8,7 @@ org.gradle.jvmargs=-Xmx4608M
android.useAndroidX=true
android.enableJetifier=true
+#去掉资源重复检查
android.disableResourceValidation=true
#build config
diff --git a/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/models/PayLoadDataVM.kt b/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/models/PayLoadDataVM.kt
index a6b2256a3..246206fc6 100644
--- a/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/models/PayLoadDataVM.kt
+++ b/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/models/PayLoadDataVM.kt
@@ -8,7 +8,6 @@ import dji.v5.common.error.IDJIError
import dji.v5.manager.aircraft.payload.PayloadCenter
import dji.v5.manager.aircraft.payload.PayloadIndexType
import dji.v5.manager.aircraft.payload.listener.PayloadDataListener
-import dji.v5.utils.common.LogUtils
import java.text.SimpleDateFormat
/**
diff --git a/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/FlySafeFragment.kt b/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/FlySafeFragment.kt
index 4152e7e62..af9875ab8 100644
--- a/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/FlySafeFragment.kt
+++ b/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/FlySafeFragment.kt
@@ -36,6 +36,12 @@ import java.util.*
* Copyright (c) 2022, DJI All Rights Reserved.
*/
class FlySafeFragment : DJIFragment() {
+ companion object {
+ private const val EVENT_TYPE = "Event type :"
+ private const val LIMIT_HEIGHT = "Limit height :"
+ private const val DESCRIPTION = "Description :"
+ private const val COUNT_DOWN = "Count Down :"
+ }
private val flySafeVm: FlySafeVM by viewModels()
private val notificationBuilder = StringBuilder()
@@ -50,30 +56,30 @@ class FlySafeFragment : DJIFragment() {
flySafeVm.initListener()
flySafeVm.flySafeWarningInformation.observe(viewLifecycleOwner) {
showFlySafeNotification { builder ->
- builder.append("Event type :").append(it.event).append("\n")
- builder.append("Limit height :").append(it.heightLimit).append("\n")
- builder.append("Description :").append(it.description).append("\n")
+ builder.append(EVENT_TYPE).append(it.event).append("\n")
+ builder.append(LIMIT_HEIGHT).append(it.heightLimit).append("\n")
+ builder.append(DESCRIPTION).append(it.description).append("\n")
}
}
flySafeVm.flySafeSeriousWarningInformation.observe(viewLifecycleOwner) {
showFlySafeNotification { builder ->
- builder.append("Event type :").append(it.event).append("\n")
- builder.append("Limit height :").append(it.heightLimit).append("\n")
- builder.append("Count Down :").append(it.countdown).append("\n")
- builder.append("Description :").append(it.description).append("\n")
+ builder.append(EVENT_TYPE).append(it.event).append("\n")
+ builder.append(LIMIT_HEIGHT).append(it.heightLimit).append("\n")
+ builder.append(COUNT_DOWN).append(it.countdown).append("\n")
+ builder.append(DESCRIPTION).append(it.description).append("\n")
}
}
flySafeVm.flySafeReturnToHomeInformation.observe(viewLifecycleOwner) {
showFlySafeNotification { builder ->
- builder.append("Event type :").append(it.event).append("\n")
- builder.append("Description :").append(it.description).append("\n")
+ builder.append(EVENT_TYPE).append(it.event).append("\n")
+ builder.append(DESCRIPTION).append(it.description).append("\n")
}
}
flySafeVm.flySafeTipInformation.observe(viewLifecycleOwner) {
showFlySafeNotification { builder ->
- builder.append("Event type :").append(it.event).append("\n")
- builder.append("Limit height :").append(it.heightLimit).append("\n")
- builder.append("Description :").append(it.description).append("\n")
+ builder.append(EVENT_TYPE).append(it.event).append("\n")
+ builder.append(LIMIT_HEIGHT).append(it.heightLimit).append("\n")
+ builder.append(DESCRIPTION).append(it.description).append("\n")
}
}
flySafeVm.flyZoneInformation.observe(viewLifecycleOwner) {
diff --git a/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/WayPointV3Fragment.kt b/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/WayPointV3Fragment.kt
index 2794a45b2..867b2871c 100644
--- a/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/WayPointV3Fragment.kt
+++ b/SampleCode-V5/android-sdk-v5-sample/module-aircraft/src/main/java/dji/sampleV5/moduleaircraft/pages/WayPointV3Fragment.kt
@@ -146,38 +146,8 @@ class WayPointV3Fragment : DJIFragment() {
private fun initView(savedInstanceState: Bundle?) {
sp_map_switch.adapter = wayPointV3VM.getMapSpinnerAdapter()
- wayPointV3VM.addMissionStateListener() {
- mission_execute_state_tv?.text = "Mission Execute State : ${it.name}"
- btn_mission_upload.isEnabled = it == WaypointMissionExecuteState.READY
- curMissionExecuteState = it
- }
- wayPointV3VM.addWaylineExecutingInfoListener(object :WaylineExecutingInfoListener {
- override fun onWaylineExecutingInfoUpdate(it: WaylineExecutingInfo) {
- wayline_execute_state_tv?.text = "Wayline Execute Info WaylineID:${it.waylineID} \n" +
- "WaypointIndex:${it.currentWaypointIndex} \n" +
- "MissionName : ${if (curMissionExecuteState == WaypointMissionExecuteState.READY) "" else it.missionFileName}"
- }
-
- override fun onWaylineExecutingInterruptReasonUpdate(error: IDJIError?) {
- if (error != null) {
- LogUtils.e(logTag , "interrupt error${error.description()}")
- }
- }
-
- });
-
-
- wayPointV3VM.addWaypointActionListener(object :WaypointActionListener{
- override fun onExecutionStart(actionId: Int) {
- waypint_action_state_tv?.text = "onExecutionStart: ${actionId} "
- }
-
- override fun onExecutionFinish(actionId: Int, error: IDJIError?) {
- waypint_action_state_tv?.text = "onExecutionFinish: ${actionId} error ${error?.toString()}"
- }
-
- })
+ addListener()
btn_mission_upload?.setOnClickListener {
val waypointFile = File(curMissionPath)
if (waypointFile.exists()) {
@@ -299,8 +269,44 @@ class WayPointV3Fragment : DJIFragment() {
}
+ private fun addListener(){
+ wayPointV3VM.addMissionStateListener() {
+ mission_execute_state_tv?.text = "Mission Execute State : ${it.name}"
+ btn_mission_upload.isEnabled = it == WaypointMissionExecuteState.READY
+ curMissionExecuteState = it
+ if (it == WaypointMissionExecuteState.FINISHED) {
+ ToastUtils.showToast("Mission Finished")
+ }
+ LogUtils.i(logTag , "State is ${it.name}")
+ }
+ wayPointV3VM.addWaylineExecutingInfoListener(object :WaylineExecutingInfoListener {
+ override fun onWaylineExecutingInfoUpdate(it: WaylineExecutingInfo) {
+ wayline_execute_state_tv?.text = "Wayline Execute Info WaylineID:${it.waylineID} \n" +
+ "WaypointIndex:${it.currentWaypointIndex} \n" +
+ "MissionName : ${if (curMissionExecuteState == WaypointMissionExecuteState.READY) "" else it.missionFileName}"
+ }
+
+ override fun onWaylineExecutingInterruptReasonUpdate(error: IDJIError?) {
+ if (error != null) {
+ LogUtils.e(logTag , "interrupt error${error.description()}")
+ }
+ }
+
+ });
+ wayPointV3VM.addWaypointActionListener(object :WaypointActionListener{
+ override fun onExecutionStart(actionId: Int) {
+ waypint_action_state_tv?.text = "onExecutionStart: ${actionId} "
+ }
+
+ override fun onExecutionFinish(actionId: Int, error: IDJIError?) {
+ waypint_action_state_tv?.text = "onExecutionFinish: ${actionId} error ${error?.toString()}"
+ }
+
+ })
+ }
+
private fun showEditDialog() {
val waypointFile = File(curMissionPath)
if (!waypointFile.exists()) {
diff --git a/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/java/dji/sampleV5/modulecommon/pages/VideoPlayFragment.kt b/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/java/dji/sampleV5/modulecommon/pages/VideoPlayFragment.kt
index eee4f9b99..04add5125 100644
--- a/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/java/dji/sampleV5/modulecommon/pages/VideoPlayFragment.kt
+++ b/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/java/dji/sampleV5/modulecommon/pages/VideoPlayFragment.kt
@@ -10,8 +10,11 @@ import dji.sampleV5.modulecommon.models.VideoPlayVM
import dji.v5.common.callback.CommonCallbacks
import dji.v5.common.error.IDJIError
import dji.v5.common.video.channel.VideoChannelType
-import dji.v5.common.video.decoder.*
-import dji.v5.common.video.interfaces.*
+import dji.v5.common.video.decoder.DecoderOutputMode
+import dji.v5.common.video.decoder.DecoderState
+import dji.v5.common.video.decoder.VideoDecoder
+import dji.v5.common.video.interfaces.IVideoDecoder
+import dji.v5.common.video.interfaces.IVideoFrame
import dji.v5.manager.datacenter.MediaDataCenter
import dji.v5.manager.datacenter.media.MediaFile
import dji.v5.manager.datacenter.media.VideoPlayState
@@ -155,7 +158,7 @@ class VideoPlayFragment : DJIFragment(), SurfaceHolder.Callback, View.OnClickLis
private fun createVideoDecoder():IVideoDecoder{
return VideoDecoder(
this@VideoPlayFragment.context,
- VideoChannelType.PRIMARY_STREAM_CHANNEL,
+ VideoChannelType.EXTENDED_STREAM_CHANNEL,
DecoderOutputMode.SURFACE_MODE,
surfaceView.holder
)
diff --git a/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/res/values-zh-rCN/strings.xml b/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/res/values-zh-rCN/strings.xml
index e1034161c..a2ce8acef 100644
--- a/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/res/values-zh-rCN/strings.xml
+++ b/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/res/values-zh-rCN/strings.xml
@@ -1,12 +1,11 @@
- MSDK 5.3.0
- "- 新增支持机型:DJI Mini 3,DJI Mini 3 Pro。
-- 支持 FlyZoneManager,限飞区解禁管理类,提供授权区和禁飞区解禁等功能。
-- 支持 PipelineManager,SDK 互联互通管理类。可通过此类建立 MSDK 和 PSDK 设备之间连接的管道,用于 MSDK 和 PSDK 设备之间传输数据。
+ MSDK 5.4.0
+ "- 新增支持机型:Matrice 350 RTK。
+- Matric 300 RTK新增支持DJI RC Plus遥控器。
更多功能查看发布日志。"
- 2023–4–7
+ 2023–5–18https://sdk-forum.dji.net/hc/zh-cn/community/topicshttps://developer.dji.com/doc/mobile-sdk-tutorial/cn/
diff --git a/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/res/values/strings.xml b/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/res/values/strings.xml
index 5d2c542ff..df4d1d1ed 100644
--- a/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/res/values/strings.xml
+++ b/SampleCode-V5/android-sdk-v5-sample/module-common/src/main/res/values/strings.xml
@@ -1,13 +1,12 @@
- MSDK 5.3.0
- "- Added supported aircraft: DJI Mini 3,DJI Mini 3 Pro.
-- Supported FlyZoneManager.Manage to unlock fly zones, providing features such as unlocking the authorization fly zone and the restricted fly zone, etc.
-- Supported PipelineManager.Manage SDK interconnection pipelines, establishing connections between MSDK and PSDK devices for data transmission.
+ MSDK 5.4.0
+ "- Added supported aircraft: Matrice 350 RTK.
+- Matrice 300 RTK added support for DJI RC Plus remote controller.
More refer to the release notes."
- 2023–4–7
+ 2023–5–18https://sdk-forum.dji.net/hc/en-us/community/topicshttps://developer.dji.com/doc/mobile-sdk-tutorial/en/https://sdk-forum.dji.net/hc/en-us/requests/new
diff --git a/SampleCode-V5/android-sdk-v5-uxsdk/src/main/java/dji/v5/ux/core/ui/hsi/config/IOmniAbility.kt b/SampleCode-V5/android-sdk-v5-uxsdk/src/main/java/dji/v5/ux/core/ui/hsi/config/IOmniAbility.kt
index 90e35a7d6..e40c04973 100644
--- a/SampleCode-V5/android-sdk-v5-uxsdk/src/main/java/dji/v5/ux/core/ui/hsi/config/IOmniAbility.kt
+++ b/SampleCode-V5/android-sdk-v5-uxsdk/src/main/java/dji/v5/ux/core/ui/hsi/config/IOmniAbility.kt
@@ -16,7 +16,7 @@ interface IOmniAbility {
/**
* 上方避障刹停距离设置范围
*/
- fun getUpAvoidanceDistanceRange(): Pair
+ fun getUpAvoidanceDistanceRange(): Pair
/**
* 视觉避障-下方探测距离
@@ -26,7 +26,7 @@ interface IOmniAbility {
/**
* 下方避障刹停距离设置范围
*/
- fun getDownAvoidanceDistanceRange(): Pair
+ fun getDownAvoidanceDistanceRange(): Pair
/**
* 视觉避障-水平探测距离
@@ -36,21 +36,21 @@ interface IOmniAbility {
/**
* 水平避障刹停距离设置范围
*/
- fun getHorizontalAvoidanceDistanceRange(): Pair
+ fun getHorizontalAvoidanceDistanceRange(): Pair
/**
* 视觉避障-每方向盲区大小
*/
- fun getPerceptionBlindAreaAngle():Int
+ fun getPerceptionBlindAreaAngle(): Int
companion object {
/**
* 当前未考虑遥控器连接不同飞机,未观察连接飞机的变化,当出现遥控支持不同飞机时,需要观察飞机状态变化。
*/
fun getCurrent(): IOmniAbility {
- val type = KeyManager.getInstance().getValue(KeyTools.createKey(ProductKey.KeyProductType),ProductType.UNKNOWN)
+ val type = KeyManager.getInstance().getValue(KeyTools.createKey(ProductKey.KeyProductType), ProductType.UNKNOWN)
return when {
- DpadProductManager.getInstance().isSmartController || type == ProductType.M300_RTK -> M300OmniAbility
+ DpadProductManager.getInstance().isSmartController || type == ProductType.M300_RTK || type == ProductType.M350_RTK -> M300OmniAbility
DpadProductManager.getInstance().isDjiRcPlus || type == ProductType.M30_SERIES -> M30OmniAbility
DpadProductManager.getInstance().isDjiRcPro || type == ProductType.DJI_MAVIC_3_ENTERPRISE_SERIES -> M3EOmniAbility
else -> M300OmniAbility
diff --git a/SampleCode-V5/android-sdk-v5-uxsdk/src/main/java/dji/v5/ux/core/ui/hsi/fpv/IFPVParams.kt b/SampleCode-V5/android-sdk-v5-uxsdk/src/main/java/dji/v5/ux/core/ui/hsi/fpv/IFPVParams.kt
index 83439f1b9..4744bcedd 100644
--- a/SampleCode-V5/android-sdk-v5-uxsdk/src/main/java/dji/v5/ux/core/ui/hsi/fpv/IFPVParams.kt
+++ b/SampleCode-V5/android-sdk-v5-uxsdk/src/main/java/dji/v5/ux/core/ui/hsi/fpv/IFPVParams.kt
@@ -38,8 +38,8 @@ interface IFPVParams {
* 当前未考虑遥控器连接不同飞机,未观察连接飞机的变化,当出现遥控支持不同飞机时,需要观察飞机状态变化。
*/
fun getCurrent(): IFPVParams {
- var type = KeyManager.getInstance().getValue(KeyTools.createKey(ProductKey.KeyProductType),ProductType.UNKNOWN)
- if (type == ProductType.M300_RTK) {
+ val type = KeyManager.getInstance().getValue(KeyTools.createKey(ProductKey.KeyProductType), ProductType.UNKNOWN)
+ if (type == ProductType.M300_RTK || type == ProductType.M350_RTK) {
return M300FpvParams
} else if (type == ProductType.M30_SERIES) {
return M30FpvParams