Kinect on Ubuntu 10.10 Maverick (CPU supporting SSE3 or better)

...and here's in short how the Kinect should be working on Ubuntu 10.10 with an SSE3 enabled CPU (compare with previous post):

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git-core build-essential libusb-1.0.0-dev libglut3-dev doxygen graphviz

cd ~/kinect
git clone https://github.com/OpenNI/OpenNI.git
cd OpenNI/Platform/Linux-x86/Build
make
sudo make install

cd ~/kinect
git clone https://github.com/boilerbots/Sensor.git
cd Sensor
git checkout kinect
cd Platform/Linux-x86/Build
make
sudo make install

cd ~/kinect
wget http://www.openni.org/downloadfiles/openni-compliant-middleware-binaries/stable/54-primesense-nite-beta-build-for-for-ubuntu-10-10-x86-32-bit-v1-3-0/download -O nite_ubuntu_x86.tar.bz2
tar xvjf nite_ubuntu_x86.tar.bz2

cd ~/kinect/Nite-1.3.0.17/Data

cp Sample-User.xml Sample-User.xml.BAK && chmod u+w Sample-User.xml && sed "s/insert key here/0KOIk2JeIBYClPWVnMoRKn5cdY4=/" Sample-User.xml.BAK | sed "s%xRes="[0-9]*" yRes="[0-9]*"%xRes="640" yRes="480"%" >Sample-User.xml
cp Sample-Scene.xml Sample-Scene.xml.BAK && chmod u+w Sample-Scene.xml && sed "s/insert key here/0KOIk2JeIBYClPWVnMoRKn5cdY4=/" Sample-Scene.xml.BAK | sed "s%xRes="[0-9]*" yRes="[0-9]*"%xRes="640" yRes="480"%" >Sample-Scene.xml
cp Sample-Tracking.xml Sample-Tracking.xml.BAK && chmod u+w Sample-Tracking.xml && sed "s/insert key here/0KOIk2JeIBYClPWVnMoRKn5cdY4=/" Sample-Tracking.xml.BAK | sed "s%xRes="[0-9]*" yRes="[0-9]*"%xRes="640" yRes="480"%" >Sample-Tracking.xml

sudo niLicense PrimeSense 0KOIk2JeIBYClPWVnMoRKn5cdY4=
cd ~/kinect/Nite-1.3.0.17
sudo ./install.bash

You have to enter the key
0KOIk2JeIBYClPWVnMoRKn5cdY4=
again.

Now checkout the examples in the directory

cd /home/ubuntu/kinect/Nite-1.3.0.17/Samples/Bin/

One thought on “Kinect on Ubuntu 10.10 Maverick (CPU supporting SSE3 or better)”

Leave a Reply