103104105106107108109110111112113
crazyflie.connect(uris[0]); while (!Thread.currentThread().isInterrupted()) Thread.sleep(1000); } finally { crazyflie.disconnect(); } } public static void main(String[] args) throws Exception { CrazyflieTest usb = new CrazyflieTest();