View Single Post
  #2   Spotlight this post!  
Unread 20-01-2012, 19:00
CodeYeti's Avatar
CodeYeti CodeYeti is offline
FRC Addict
AKA: Matt Coffin
FRC #0662 (Rocky Mountain Robotics)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Colorado
Posts: 81
CodeYeti is an unknown quantity at this point
Re: Programming the kinect with java.

Take a look at the documentation for the classes "Kinect" and "KinectStick". The classes are pretty straight forward, and KinectStick actually implements the GenericHID interface, so it can literally be passed to things like RobotDrive in place of a joystick. There's a fairly simple example project that comes with the NetBeans plugins called KinectStickExample that you might want to take a look at. IIRC, it has a couple simple drive commands in there as examples. You can also check out http://www.usfirst.org/sites/default...o r%20FRC.pdf for some platform-independent information on the topic.
Reply With Quote