I figured a discussion has occurred with using a camera (depth or not) to assist the driver for autonomous object detection.
Here is what a search found:
http://www.chiefdelphi.com/forums/sh...d.php?t=118444
Keep in mind this was back in 2013. It doesn't look like anything came of this, sadly. I was hoping there would be source code, but there isn't.
Keep in mind that dealing with so many points (640x480) can get very computaionally intensive very quickly depending on what you are doing. I would imagine the best game for collision detection would be in 2014, a big open flat field where every object is a game piece or another robot.
1. Seems like libfreenect is the way to go.
2. Through a google search it that there are only 2048 possible pixel values for the kinect v1, meaning that there are only 2048 possible depth values. The master equation according so some website is:
(float)(1.0 / ((double)(depthValue) * -0.0030711016 + 3.3309495161));
Then from that you have the vector magnitude from your lens to this point in space. You need to figure out the heading of said vector (think of the math to line up with the high goal), then decompose it into x, y, and z.
3. ???
4. profit.
I don't know what stage you are at or what knowledge you have on the matter. If you have anymore questions don't hesitate to ask.