Skip to content

Instantly share code, notes, and snippets.

@jaukia
Forked from csanz/flyingrobots.js
Created March 13, 2013 16:03
Show Gist options
  • Save jaukia/5153542 to your computer and use it in GitHub Desktop.
Save jaukia/5153542 to your computer and use it in GitHub Desktop.
var 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