These are chat archives for dronekit/dronekit-android

27th
Jun 2018
e-mendes
@e-mendes
Jun 27 2018 10:38
@SeanBarber , I am doing like this:
VehicleApi.getApi(drone).setVehicleMode(VehicleMode.COPTER_GUIDED, new AbstractCommandListener() {
@Override
public void onSuccess() {
Log.d("ChangeVehicleMode", "Vehicle mode change successful.");
}
        @Override
        public void onError(int executionError) {
            Log.d("ChangeVehicleMode", "Vehicle mode change fail.");
        }

        @Override
        public void onTimeout() {
            Log.d("ChangeVehicleMode", "Vehicle mode change timed out.");
        }
    });
You are experiencing an odd behavior. Are you sure you do not have an parallel code changing it to Auto again?
Sean Barber
@SeanBarber
Jun 27 2018 14:46
@e-mendes Interesting, I think the problem I am having is the mission is being sent to the drone multiple times. I will check into it. Thanks so much.