public boolean landing() { endLog(); try { System.out.println("Land the Drone."); drone.getCommandManager().landing(); if (gyro.getPitch() < 20 && gyro.getRoll() < 20) return true; else return false; } catch (Exception e) { e.printStackTrace(); return false; } }