Code Monkey home page Code Monkey logo

kiimote's Introduction

Originally a "Sound Capstone Project", taught by Bruce Hemmingway, at the University of Washington
By Michael Sloan, Jeff Booth, Ben Ullom, Dan Gerdesmier

Cleaned up to become kiimote source by Michael Sloan

Build instructions (ubuntu):

Stable versions of some of these packages might work, but once I encountered resistance, I went for trunk versions:

# Get version control / essentials
sudo apt-get install git subversion cmake vim

# Install PCL trunk
svn co http://svn.pointclouds.org/pcl/trunk pcl
cd pcl

sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl
sudo apt-get update
sudo apt-get install libeigen3-dev libflann1.7-dev

sudo apt-get install libboost-all-dev libvtk5-qt4-dev

# Uncomment line 73
vim proctor/src/frame_hough_proposer.cpp
  73Gxx:wq

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release .. 
make -j9
sudo make install
cd ../../


# Install libfreenect trunk
sudo apt-get install freeglut3-dev libxmu-dev libxi-dev libusb-1.0-0-dev

git clone https://github.com/OpenKinect/libfreenect
cd libfreenect
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j9
sudo make install
cd ../../


# Install OpenCV
sudo add-apt-repository ppa:gijzelaar/cuda
sudo add-apt-repository ppa:gijzelaar/opencv2.3
sudo apt-get update
sudo apt-get install libopencv-dev


# Try building RGBDemo trunk
sudo apt-get install libqhull-dev

git clone https://github.com/nburrus/rgbdemo
cd rgbdemo
git submodule update --init nestk

# fix opencv paths
cd nestk/ntk
find ./ -type f -exec sed -i โ€˜s|opencv/highgui.h|opencv2/highgui/highgui.hpp|โ€™ {} \;
cd ../

# I had some problems with the OpenNI drivers (< 1 FPS, but work)
# so I disabled their usage in the build configuration.

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DNESTK_USE_OPENNI:BOOL=OFF -DNESTK_USE_FREENECT:BOOL=ON ..
make -j9


# Install wiiuse
sudo apt-get install libbluetooth-dev
git clone https://github.com/godbyk/wiiuse.git
cd wiiuse
mkdir build
cd build
cmake ..
make -j9
sudo make install

# Install liblo
sudo apt-get install liblo-dev

# Once that works and tests, build kiimote:
git clone https://github.com/mgsloan/kiimote
cd kiimote/src
cp -r ../../rgbdemo/nestk .
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DNESTK_USE_OPENNI:BOOL=OFF -DNESTK_USE_FREENECT:BOOL=ON ..
make -j9


Under ubuntu 11.11, gphoto drivers take over the device.  This might cause
libfreenect to not be able to access it.  To see if this is the case, try the
following command after plugging the Kinect in (it's loaded on demand).

rmmod gspca_kinect

If this fixes the problem, add "blacklist gspca_kinect" to 
/etc/modprobe.de/blacklist.conf in order to make the fix permanent


## This will happen ##

# "libusb couldn't open USB device /dev/bus/usb/00n/0nn: Permission denied."
# This error is normal, and means you need to run:

# sudo chmod 666 /dev/bus/usb/00n/0nn
# sudo chmod 666 /dev/bus/usb/00n/0nn+1
# sudo chmod 666 /dev/bus/usb/00n/0nn+2

# where 0nn+1 and 0nn+2 means to actually increment the number.

kiimote's People

Contributors

mgsloan avatar

Stargazers

Pantelis Koukousoulas avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.