Skip to content

Instantly share code, notes, and snippets.

@nickleefly
Forked from csanz/flyingrobots.js
Created October 31, 2012 01:16
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 nickleefly/3984231 to your computer and use it in GitHub Desktop.
Save nickleefly/3984231 to your computer and use it in GitHub Desktop.
programming flying robots with node.js is easy
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