Skip to content

Instantly share code, notes, and snippets.

Avatar

jewel mlnarik juellez

View GitHub Profile
@juellez
juellez / nodecopter.js
Created Sep 4, 2013
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.
View nodecopter.js
// 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'
};