View Single Post
  #8   Spotlight this post!  
Unread 17-03-2012, 14:46
dsternglass dsternglass is offline
Dan Sternglass, control sys mentor
AKA: Dan Sternglass
FRC #0639 (Code Red Robotics)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2007
Location: Ithaca, NY
Posts: 1
dsternglass is an unknown quantity at this point
Re: Kinect usage at competitions

We are using a Kinect (IR imaging) with some success. We do not use its auto-ranging feature, rather, we process the image. We have good accuracy on the practice field, but we are experimenting with software and IR illumination adjustments to get better consistency on the game field. We suspect that the field lighting and reflections from the backboards and possibly the floor, other robots, or the big projection screen are causing the Kinect system to "lose lock" on the targets at times. Our test field used plywood for the backboards. We did not get to calibrate to the lighting in Rochester, hopefully we can in DC.

We are using an Arm/Linux Beagle Board-xM and a CV image processing library, in addition to some custom image processing code developed by the students. It does take a long time to boot... The USB Kinect plugs into the Beagle Board, and the Beagle is on the local Ethernet. Code by one of our students does the trig on the vertices of the trapezoids to calculate the angle and distance to the target, which is passed to the cRIO over a UDP packet link developed by another student. When the "aim" trigger is pulled, the steering loop is closed around the error signal from the Beagle (in discrete slow steps due to current 6 frames-per-second data rate) until it reaches the "dead-band" near zero error. The students developed a LOT of software over 6-weeks.

On the test field we can range and aim at the center target with 0.5 degree accuracy with any 3 of the 4 targets visible, tested to about 20 feet. We did not have sufficient time at the Rochester regional to collect enough distance calibration data points, so the curve we are currently using is not so good, based on only 5 points. This was due to time spent fixing mechanical problems. We hope the shooting will work better on the field at the Washington DC regional, and that we'll have enough time to properly calibrate there .

We also have a device that "squeezes" the ball to identify soft balls on the way in, but we haven't tried it. If things go well, we may use a different distance-to-shooter-speed curve for soft balls, or apply some other correction, but that is asking a lot...

We'd be happy to talk with anyone using the Kinect, and offer help if we can.

--Dan Sternglass
Reply With Quote