I'm trying to make a simple Takeoff
command.
Here is the code below:
ControlApi.getApi(this.drone).takeoff(10, new AbstractCommandListener() {
@Override
public void onSuccess() {
}
@Override
public void onError(int executionError) {
alertUser("Error: " + executionError);
}
@Override
public void onTimeout() {
alertUser("timeout");
}
});
Although I am managing to ARM the copter, the takeoff command always returns error, with executionError
3 or 4
and I don't know what it means?
Any one have the executionError
codes meanings?
Or maybe know what is the issue?