Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Nodecopter - Cheltenham Geek Nights

Nodecopter - Cheltenham Geek Nights

Andrew Nesbitt

April 22, 2013
Tweet

More Decks by Andrew Nesbitt

Other Decks in Technology

Transcript

  1. Node.js is a platform built on Chrome's JavaScript runtime for

    easily building fast, scalable network applications. Node.js uses an event-driven, non- blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
  2. var arDrone = require('ar-drone'); var client = arDrone.createClient(); client.takeoff(); client

    .after(5000, function() { this.clockwise(0.5); }) .after(3000, function() { this.animate('flipLeft', 15); }) .after(1000, function() { this.stop(); this.land(); });
  3. require 'artoo' connection :ardrone, adaptor: :ardrone device :drone, driver: :ardrone

    work do drone.start drone.take_off after(25.seconds) { drone.hover.land } after(30.seconds) { drone.stop } end