I've been watching the Kinect hacks online for the past several months and really enjoyed them. I started thinking recently that I would kind of like to work with it myself, see what kinds of things I might be able to make and do, and decided to get a Kinect to play with.
The first thing I found was that there are a lot of different development platforms that all connect the Kinect to the computer in different ways. I also found out that all of these platforms were in different stages of development, and I don't think any of them are finished.
In the end, I found a lot of information about Kinect 1.2 running under Ubuntu, and felt that this platform gave me the most initial options for immediate enjoyment.
Trying to install, I found that the instructions that are given on the webpage (which are incredibly difficult to find), aren't really helpful in installing them on a computer, so after spending two weeks with google and three computers, I finally feel I've figured out the best way to install the working application. This instructable will be my attempt to convey that information I learned to you!
Remove these ads by
Signing UpStep 1An Operating System
For the purpose of this instructable, I installed all of my applications on the current version of the Ubuntu Operating system. So If you head over to ubuntu.com, and download the desktop version of Ubuntu 10.10 either 32 or 64 bit depending on your system hardware and you'll be ready to begin!
[Note: I have not tried this with Ubuntu 11.04 and can therefor not guarantee any of this will work within that OS]
Follow the directions on their page for installing either via a usb thumb drive or a cd (or your own preferred method). Once Ubuntu is installed on your computer, you're ready to move on to step two!
| « Previous Step | Download PDFView All Steps | Next Step » |

























































After I followed the instruction above, when I type in inside of folder Kinect 2.0 like
sudo ./bin/RawKinectViewer > CalibrationData.scv
It said :"error while loading shared libraries: libKinect.g++-3.so.2: cannot open shared object file: No such file or directory"
So, what should I do ? Do I have to install another library ? If yes, how?
Thanks
Click the links to processing for something that is super easy to install and get working straight away. OpenKinect has it's own installation instructions, but they're a little more in depth then I remember the Processing plugin being.
Best of luck!
every thing was working fine before i reached the step to MAKE the Kinect 1.2 and got the following error...
Compiling USBContext.cpp...
USBContext.cpp:25: fatal error: libusb-1.0/libusb.h: No such file or directory
compilation terminated.
make: *** [o/USBContext.o] Error 1
i can't understand where it looks for 'libusb' file....
waiting for ur reply
thanks in advance
Please ensure that you download the exact items I mentioned (most of them have been updated since I wrote this), and follow the steps exactly. I know this works, because I've had to use it several times to reinstall Kinect software on my computer.
Since everything has been updated though, I'm not sure if someone changed their code or not. I'm really sorry I can't be of more help.
one more thing i would like to ask is that what is the purpose of Vrui while using Kinect????
regards
I only linked to the download page of Vrui in my instructable. Here's the main page which tells you all about it.
I was slightly frustrated for a bit there. I reckon the problem is disorganization on my part. I have been able to get point cloud and ir camera data out of the kinect after 15 minutes of playing around. For the last two weeks have read sooo many tutorials. and followed like five of them. ROS file system, openNI, etc. I want to do finger/gesture tracking. I confused myself pretty well on what talks to what and by what mechanism. i wiped the box and started from scratch. Found an Engineers checklist, and started over again. Documenting my steps...
Here is the manual: http://www.guymacon.com/ENGINEER/PLANNING/INDEX.HTM
On to tracking environmental variables!
Thanks Bud!
That's pretty much the exact same problem I had when I first started trying to work with the Kinect. Every guide I found was useless, or left out a ton of information that I needed.
After trying and failing quite a few times, I finally decided that when I eventually got it working, I'd document my progress so other people could replicate it.
It's really annoying when you find directions online that leave out really important details.
Happy hacking!
I re-read your instructions, decided to follow them directly, with the same versions of Vrui and everything else. Yeah! I at least have a different error. I feel like its some kind of dependency , as it refers to a file that is missing.
I found the ValueSource.h file. My problem is that I do not have a proper education in Xnix. I am on Ubuntu, Natty. for the last ten months. I know windows systems throughly. Does not appear to help much, hehe.
me@Computer:~/src/Kinect-1.2b$ make
Compiling KinectCamera.cpp...
KinectCamera.cpp:32:28: fatal error: IO/ValueSource.h: No such file or directory
compilation terminated.
make: *** [o/KinectCamera.o] Error 1
Again, thanks for your time.
I'd be nice to be able to see your computer, sorry I'm not incredibly helpful from this side.
me@ocmputer:~/src/Kinect-1.2a$ make
Compiling KinectCamera.cpp...
KinectCamera.cpp: In static member function ‘static void KinectCamera::StreamingState::transferCallback(libusb_transfer*)’:
KinectCamera.cpp:233:53: error: no matching function for call to ‘Threads::MutexCond::signal(Threads::MutexCond::Lock&)’
/home/me/Vrui-2.2/include/Threads/MutexCond.h:97:7: note: candidate is: void Threads::MutexCond::signal()
make: *** [o/KinectCamera.o] Error 1
Hopefully I have some time this weekend. I'm not sure I'll know what's causing this problem exactly though.
I really like your guide.
I am stuck at make on "Go to src, then Kinect-1.2 folder".
I am sure it is because I am new to linux. I guess I just don't fully get it yet.
Here is my terminal output: me@Computer:~/src/Kinect-1.2b$ make
makefile:49: /home/me/Vrui-2.1/share/Vrui.makeinclude: No such file or directory
make: *** No rule to make target `/home/me/Vrui-2.1/share/Vrui.makeinclude'. Stop.
I have Vrui-2.2-001 installed, I know some of the packages changed, nevertheless I am not sure how to handle this. Any help would be greatly appreciated.
Thanks again,
Microbot
I've been using one distro or another for the better part of a decade and finally decided that Ubuntu was the most comfortable fit for me. Which is why I was so irritated when they completely revamped their desktop environment. After swapping distro's again for gnome 3, I realized that it was just the way desktops are going and got used to it. I finally put Ubuntu back on and it seems pretty confortable. There are still a few things that bug the hell out of me (like not being able to control certain aspects of your sidebar)...but I'm willing to look past that for now.
Thanks for the heads up though, that Look Changer program would have been handy about 10 years ago!
I hope to eventually build a similar system to the kinect +++ in order to control kites by computer... eventually for power generation.
Once I nail it I'll get you the instructable back. Hopefully as clear as this one.
https://sites.google.com/site/kitepowerresearch/
OMG - time is moving so quickly. my mother still refuses to have one and his grandmother is throwing her old one out. LOL