View Single Post
  #25   Spotlight this post!  
Unread 18-03-2007, 12:30
PhilBot's Avatar
PhilBot PhilBot is offline
Get a life? This IS my life!
AKA: Phil Malone
FRC #1629 (GaCo: The Garrett Coalition)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2006
Location: Maryland
Posts: 747
PhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond reputePhilBot has a reputation beyond repute
Re: Autonomous Target Tracking at Regionals

As the starter of this thread, I'm happy to report that I finally managed to get the camera working on Saturday, and managed to score twice in Autonomous mode. Once in the seed matches and once in eliminations.

Both times were 100% camera directed as the bot started out-off target, stopped, turned towards the light, ran forward, overshot by about 4 inches, backed up and dropped the tube. It was a joy to watch.... I need to post video

Unfortunately, I had changed two things prior to the match.... so no definiative answer as to the cause/solution.

1) Yes we did change the camera, because once we got the GUI hooked up, we were unable to re-focus the picture. It was focussed prior to shipping, but i couldn't get it to re-focus, so I don't know if there is any way to permanently miss-align the optics. The poorly focussed camera was able to deal with the light in a benign environment, but not on the high intensity field.

2) The other factor that caused me concern is that the target.cfg file that the labview GUI is using has a bunch more parameters than are being set by the default camera.c/h code. It occured to me that it may be a requirement to FIRST load the target parameters using the Labview GUI, and then the Kevin Watson code jsu loads a subset of the commands required for color tuning. Since the last thing we did with the camera before shipping was focus it, we had would have loaded the default "human viewing" camera configurations. It occured to me that these settings may had left some parameters set badly for tracking....

Anyway, we made both of these changes in a vain hope that one or both would make the difference.....

Clearly, having a well focussed camera is important, but I KNOW that it was focussed in Pittsburg & we still had the problem on the field, so maybe the trick is ALSO loading the 2006target.cfg once, to set the "other" parameters.

Phil.

edit: Ha Ha... I see our programmer also just posted the same informnation... Hi Sarah
__________________
Phil Malone
Garrett Engineering And Robotics Society (GEARS) founder.
http://www.GEARSinc.org

FRC1629 Mentor, FTC2818 Coach, FTC4240 Mentor, FLL NeXTGEN Mentor

Last edited by PhilBot : 18-03-2007 at 12:33.