Skip to content

Instantly share code, notes, and snippets.

@juellez
juellez / nodecopter.js
Created September 4, 2013 03:56
This snippet requires both the ntwitter & ar-drone modules to be installed. "npm install ntwitter" and "npm install ar-drone" will suffice. As of this writing, it's merely a POC that one can control an AR Drone over the internet. See [http://tinyurl.com/gogonc] for more information and background.
// CONFIGURE YOUR AR DRONE'S CONNECTION TO THE INTERNET
// See http://tinyurl.com/gogonc (as in "go go node copter!")
// CREDENTIALS.JS - populate with Twitter API credentials
var credentials = {
consumer_key: 'CONSUMERKEY',
consumer_secret: 'CONSUMERSECRET',
access_token_key: 'ACCESSTOKEN',
access_token_secret: 'ACCESSTOKENSECRET'
};