Mobile-SDK-Android
Mobile-SDK-Android copied to clipboard
Not Landing even with Successful Landing Command
Hello, I am using a Mavic 2 Pro in a precision landing application. If I do a standard takeoff command followed by a land command, the drone will takeoff and land as expected. However, if I takeoff, send virtual stick commands to move the drone to a desired spot, and then try landing, the drone does not land.
Here is my landing code: flightController?.startLanding(object : CommonCallbacks.CompletionCallback<DJIError> { override fun onResult(djiError: DJIError?) { if (djiError == null) { showToast("Aircraft is landing!") } else { showToast("Landing failed: $djiError") } } })
I will get a succesful "Aircraft is landing!" message but the drone does not actually land, it just keeps continuing to hover. Am I missing any other critieria to enable landing?
Agent comment from Hummels Lei in Zendesk ticket #94761:
I hope this message finds you well. I would like to inform you that there is a possibility that the aircraft's systems have detected unsuitable ground conditions for landing. As a result, the aircraft is unable to initiate the landing process without first receiving confirmation to proceed. This confirmation, known as "confirmLanding," is necessary to ensure a safe landing on the ground.
°°°