Closed
Description
We seem to be getting the following error when calling KeyStartTakeoff
: Take off failed: null error
where null is the error's description:
fun takeOff(successCallback: () -> Unit = {}, errorCallback: () -> Unit = {}) {
FlightControllerKey.KeyStartTakeoff.create().action(
{
successCallback()
Timber.d("DJI/DroneControl:: Started take off")
}, { e: IDJIError ->
errorCallback()
Timber.i("DJI/DroneControl:: Take off failed: ${e.description()}, ${e.errorCode()}")
}
)
}
What could be the cause of this? In the docs I see that the motors should be off for this action to run? Could this mean that the motors are on?
Metadata
Metadata
Assignees
Labels
No labels