Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (27 sloc) 1.12 KB

LeapDrone

To have this working, you need a LeapMotion controller (https://www.leapmotion.com/) and AR.Drone2.0 (http://ardrone2.parrot.com/)

This code represents nothing new, as it has been done before, but it is my go at having these two gadgets in my hands for less than two hours.

With nodejs (http://nodejs.org) it is super easy to get full control and a flying start with hours of coding gadgets fun!! :D

To get started

Install nodejs and npm (node package manager)

Clone the repo:

git clone https://github.com/jornare/leapdrone

cd leapdrone

Install dependencies

npm install

Run it!

node leapdrone.js

When you start

Be sure the drone is on and connected, the LeapMotion sensor is on and the Leap software running.

Keep your one hand about 10cm above the sensor.

Controls:

Tilt hand left/right to fly left/right

Tilt hand forwards/backwards to fly forwards/backwards

Move hand to the left/right to turn left/right

Move hand up/down to fly higher/lower

Klick a key on the keyboard or move the hand low to land

Have fun!! :D