Kinect Parrot AR.Drone 2.0 Demo Now With Code!
A couple weeks ago we highlighted a video from Sebastian Brandes where he shows off controlling a Parrot AR.Drone with a Kinect, Kinect Parrot AR.Drone 2.0 Demo
Seems there's a good deal of interest in the project, and people bugging him for the code, so he's wrapped it all up and released it!
If you're thinking about doing the same thing, these posts might come in handy
- Kinect Parrot AR.Drone 2.0 Demo
- Oculus Rift, Parrot Ar.Drone, a Kinect and you...
- Flying the AR.Drone 2.0 with Windows Store Applications
- Kinect to a Quad... Kinecting AR Drone series start
Back in October I went to an internal Microsoft hackathon in Lisbon and together with an awesome team I built a Kinect controller for the Parrot AR.Drone 2.0. Check out the blog post I wrote about it. We named it Firefly and during the past 6 or 7 weeks I have received quite a lot emails about how it works and if I could publish the source code.
In this post I will explain how it all works and share the source code so you can start hacking on it yourself. In order to follow the steps in this post you will need:
- Kinect for Windows (version 1)
- Parrot AR.Drone 2.0
- A PC with Windows 7 or 8/8.1
- Kinect for Windows SDK v1.8 — free download here
Also, you will need the WPF application my team and I made in Lisbon. You can either download the compiled application or the raw source code:
How To Make It Work
First of all you need to fully charge the battery to your Parrot AR.Drone 2.0 and, then, place it in the drone. Once the drone has completed its small startup routine you will have to connect to its WiFi access point.
You will also have to connect your Kinect for Windows v1 to an available USB port on your PC and plug the power cable into a wall outlet. Once it’s properly connected you can see a green LED lighting up on the face of the Kinect.
Assuming that you have already downloaded and installed the Kinect for Windows SDK v1.8 you are now ready to fire up the Firefly application. Either unzip the pre-compiled WPF application or clone the Git repository, open up Visual Studio and compile the application from there. Start up the application and you will see the following window popping up.
Project Information URL: http://sebastianbrandes.com/2014/12/tutorial-parrot-ar-drone-kinect/
Project Download URL: Firefly.zip
Project Source URL: https://github.com/sebastianbk/Firefly