Skip to content

Instantly share code, notes, and snippets.

@lukas
Created July 15, 2016 00:35
Show Gist options
  • Save lukas/d1a47dd22de8cccedf81b42ffc9c5de5 to your computer and use it in GitHub Desktop.
Save lukas/d1a47dd22de8cccedf81b42ffc9c5de5 to your computer and use it in GitHub Desktop.
ar arDrone = require('ar-drone');
var client = arDrone.createClient();
client.takeoff();
client.after(5000, function() {
this.clockwise(0.5);
}).after(3000, function() {
this.stop();
this.land();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment