Created
October 27, 2012 14:58
-
-
Save csanz/3964996 to your computer and use it in GitHub Desktop.
programming flying robots with node.js is easy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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