Skip to content

Instantly share code, notes, and snippets.

@bjartwolf
Created March 20, 2013 20:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjartwolf/5208148 to your computer and use it in GitHub Desktop.
Save bjartwolf/5208148 to your computer and use it in GitHub Desktop.
var arDrone = require('ar-drone');
var drone = arDrone.createClient();
drone.takeoff();
var takeoffTid = 5000;
drone
.after(takeoffTid, function() {
this.clockwise(0.5);
})
.after(1000, function() {
this.stop();
this.land();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment