These are chat archives for dronekit/dronekit-android

Sep 2016
Sep 19 2016 13:15

hello guys, i have some problems, how to test change mode in guided in java while in phyton programs like this :

while"GUIDED": #Stop action if we are no longer in guided mode.

but i confuse using it in java
PS: newbie in java , sry for my bad english

Sep 19 2016 19:37
@NbagusW If you want to change the mode of the drone, do it like this: VehicleApi.getApi(this.drone).setVehicleMode(VehicleMode.COPTER_GUIDED,new SimpleCommandListener() { @Override public void onSuccess() { } }); Changing the setting in Vehicle Mode you have all? the possible modes of the vehicle.