Skip to content

KeyStartTakeoff leads to Take off failed: null error #552

Closed
@SteliosPapamichail

Description

@SteliosPapamichail

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions