http://github.com/johnboiles/KinectWings
Quadcopter controller using Kinect.
Watch the Video. Watch the SXSWi 2012 live demo. Read the Blog Post.
To build using the xcode project, you must symlink /usr/include/ni and /usr/lib/libOpenNI.dylib to the appropriate places in your developer install. AFAIK there's not an elegant way to get xcode to use the standard /usr/include and /usr/lib paths. For my installation I ran the following commands:
sudo ln -s /usr/lib/libOpenNI.dylib /Developer/SDKs/MacOSX10.7.sdk/usr/lib/libOpenNI.dylib
sudo ln -s /usr/include/ni /Developer/SDKs/MacOSX10.7.sdk/usr/include/ni
-
Get OpenNI
git clone git://github.com/OpenNI/OpenNI.git
-
Switch to unstable branch
git checkout unstable
-
Follow the installation instructions in the OpenNI Readme (they're pretty good)
-
Install forked binaries for PrimeSense/Sensor https://github.com/avin2/SensorKinect/tree/unstable/Bin
-
Get the PrimeSense NITE binaries here: http://www.openni.org/component/search/?searchword=nite&ordering=&searchphrase=all
-
Run the install script included with the NITE binaries
sudo ./install.sh
-
Use License code
0KOIk2JeIBYClPWVnMoRKn5cdY4=
In The future it might make sense to use the C bindings for OpenNI and make Cocoa wrappers around those. Currently this uses the C++ bindings which is a little roundabout. But it was generally easier to port over existing C++ sample code that I had available.