We recommend familiarising yourself with the AR-Drone and general information about these types of events first. See http://nodecopter.com/hack for some good tips, and a bunch of inspiring modules that others have made.
- Make sure you have node and npm installed
- npm (Node Package Manager) comes with node, see nodejs.org or the package manager instructions for installation instructions relevant to your operating system.
- clone this repo from github:
git clone git@github.com:mediasuitenz/node-flight-school.git
cd node-flight-school
npm install
- Connect to an AR-Drone's wifi near you
node basic.js
will make the drone takeoff, turn around a bit, and land.node repl.js
will give you a interactive commandline interface to control the drone with.
See ar-drone docs for info on the commands that are available.
NOTE: The ar-drone library has built in animation routines for flips. PLEASE USE THIS WISELY. The drones need a reasonable amount of space around them to perform a flip.