I was trying to know how to use the kinect for the robots
There will be software libraries given to you in the 2012 KOP. I’m afraid you’ll have to wait until then to use Kinect with your robot.
You can see if one of the Beta Test teams is nearby and ask them what they know about it. The list of those teams was published on Bill’s Blog a few months ago:
Only a few of them will have received a Kinect to evaluate. You might want to check the Kinect subforum of the FRC 2012 Beta Test forum for more detailed information: