AR.Drone WebFlight

Flying robots in your browser!

Fork me on GitHub

Pilot the AR.Drone 2.0 directly from your browser. Extend the application with plugins to add features such as video recording, autonomous flight, face recognition, and more. It makes it a very friendly environment to quickly build and experiment with your drone (e.g. during a nodecopter event).

Built-in plugins

Additional plugins

If you have written your own webflight plugins, please add them to this list by editing this page.

Install

WebFlight requires a recent nodejs (built and tested with node > 0.10) as well as npm and bower for dependency management.

git clone git@github.com:eschnou/ardrone-webflight
cd ardrone-webflight
npm install
bower install

Usage

  1. Copy the config.js.sample to config.js and edit to select your plugins
  2. Connect to the drone's wifi
  3. Run node app.js
  4. Point your browser to http://localhost:3000/

Remote control

If you have enabled the pilot plugin, you can fly the drone with the following keys. Yes, these are azerty bindings :-) If you need qwerty ones, just hack the plugin. I'll need to find a way to provide custome configuration etc.

Use Z, S, Q, D to move front, back and sideways. Use your cursors to go up/down or turn clockwise/counter clockwise. Use t to takeoff and l for landing.

Adding your own plugin

There is no tutorial yet, in the meanwhile, just have a look at the built in plugins, it is faily straightforward.

Support

If you encounter issues, please add them to the issue tracker. You can find me on twitter (@eschnou) or on the #nodecopter IRC channel on #freenode.

Thanks

This work is based on the integration of nodecopter-cockpit and drone-browser, refactored in a plugin architecture. Thanks to @bkw and @functino for sharing!

Also a big thank you to @felixge for his node-ar-drone library which pushed me into buying a drone and become crazy about these little flying robots!

Donate

If you like this project, please consider donating. The less time I need to work, the more I can spend on open source projects :-)

Please Donate To Bitcoin Address: [[address]]

Donation of [[value]] BTC Received. Thank You.
[[error]]

License

The MIT License

Copyright (c) 2013 by the AUTHORS

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.