DJI Can't Take off
285 0 2-12 07:08
Uploading and Loding Picture ...(0/1)
o(^-^)o
djiuser_VNZMX47QwkAl
lvl.1

Spain
Offline

Please, We need some solutions.


I have see another poster hving the same issue.

I have this code:

FlightControllerKey.KeyStartTakeoff.create().action({
    Log.d("takeoff","TakeOff Success")
}, { e: IDJIError ->
    Log.d( "takeoff","DJI Takeoff error: " + e.description())
})




This does not work, and the error message is null.


I also tried with this:







KeyManager.getInstance().performAction(KeyTools.createKey(FlightControllerKey.KeyStartTakeoff),


        object: CommonCallbacks.CompletionCallbackWithParam<EmptyMsg> {
            override fun onSuccess(
                    nil: EmptyMsg
            ) {
                Log.i(
                        "Monsoon Action",
                        "Taking off"
                )
            }

            override fun onFailure(
                    error: IDJIError
            ) {
                Log.i(
                        "Monsoon Action",
                        "Takeoff failed $error"
                )
            }
        }

        )




I get: Takeoff failed ErrorImp{errorType='CORE', errorCode='SYSTEM_ERROR', innerCode='', description='null', hint='error code = -7'

I also tried:



FlightControllerKey.KeyStartTakeoff.create().action({
    Log.d("Monsoon Command Execution : ", "takeoff success!")

}, { e: IDJIError ->

    val d = e.description()


   Log.d("Monsoon Command Execution : ", "takeoff error! $d")

})



I get takeoff error ! null

I am using MSDK V 5.7

#Why do I get this kind of errors?



2-12 07:08
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules