From c0aa4105c7de41cd29f8752ccdad0b7f2e5d9684 Mon Sep 17 00:00:00 2001 From: Christopher Pereira Date: Sat, 7 Dec 2024 17:56:32 -0300 Subject: [PATCH] Fix landed detetion --- app/src/main/java/sq/rogue/rosettadrone/DroneModel.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/sq/rogue/rosettadrone/DroneModel.java b/app/src/main/java/sq/rogue/rosettadrone/DroneModel.java index 5e72f568..75c0a80e 100644 --- a/app/src/main/java/sq/rogue/rosettadrone/DroneModel.java +++ b/app/src/main/java/sq/rogue/rosettadrone/DroneModel.java @@ -1970,11 +1970,7 @@ void doLand() { //setMavFlightMode(ArduCopterFlightModes.LAND); mFlightController.startLanding(djiError -> { if (djiError == null) { - if(!useMissionManager) { - // TODO: Wait until landed - // Keeping old version - landed(); - } + landed(); } else { Log.e(TAG, "do_land(): " + djiError.toString());