Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var arDrone = require('ar-drone');
var client = arDrone.createClient();
client.takeoff();
client.after(2000, function() {
this.up(0.4);
client.after(3000, function() {
this.animate('wave',3000);
console.log('flip', client);
});
client.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