2425262728293031323334
// Wait until drone is ready drone.waitForReady(CONNECT_TIMEOUT); // do TRIM operation drone.trim(); // Take off System.err.println("Taking off"); drone.takeOff();