Go to Post I hate that every year people turn this competition into whining rather than winning. - Akash Rastogi [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 08-02-2007, 15:41
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,356
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Camera offset a lot.... odd

Alan pretty much nailed it on the head. This is a "problem" many teams addressed last year as well.
Simply put, the mechanical alignment of the optics to the cmos sensor are not perfect. In addition, the optical components used have some manufacturing tolerances that can add to the "mis-alignment" as well. Just follow the advice Alan gave and you will be in good shape. What you need to be confident in is the cameras ability to reproduce it's positioning each time. If it does that, then you will be able to get accurate tracking information from it.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist
  #2   Spotlight this post!  
Unread 08-02-2007, 16:37
d.courtney's Avatar
d.courtney d.courtney is offline
Registered User
AKA: David
FRC #0781 (Kinetic Knights)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Kincardine, Ontario
Posts: 196
d.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud of
Re: Camera offset a lot.... odd

we had this problem too, it happened every time our robot was close enough to think it was two lights (because our said value for two lights weren't changed when we brought the light down for easier testing) I don't know why it did it, and am currently trying to figure it out for myself, but when I increased the maximum size for one light *magic* no shifting massively to one corner.

EDIT: my problem was because my fellow programmer made a change while I was gone the build before (and forgot to tell me). he found that the position of our camera on the robot would lose one light or the other (due to the nature of our attachment) when coming within scoring distance of a spider between two lights, his solution, focus on one light primarily as to avoid losing both (which happened one in every ten times) hence why in my case it happened for when the light size was greater then one... so in the end our identical problems were not so identical. He just told me now. on msn.
Hooray for communication, and a night spent in confusion.
__________________

Last edited by d.courtney : 08-02-2007 at 16:50.
  #3   Spotlight this post!  
Unread 08-02-2007, 19:29
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Camera offset a lot.... odd

Quote:
Originally Posted by billbo911 View Post
Alan pretty much nailed it on the head. This is a "problem" many teams addressed last year as well.
Simply put, the mechanical alignment of the optics to the cmos sensor are not perfect. In addition, the optical components used have some manufacturing tolerances that can add to the "mis-alignment" as well. Just follow the advice Alan gave and you will be in good shape. What you need to be confident in is the cameras ability to reproduce it's positioning each time. If it does that, then you will be able to get accurate tracking information from it.
Yep, this is the case. My code has the ability to track on any pixel, not just the center one. Just allow the camera to find the light and then enter the "Interactive PWM Adjustment Menu" and step the servos until it is aligned. Now unplug your servos from the RC and enter 'p' and then 'x' so that camera data will start to stream to the terminal screen again. If you managed to do this without disturbing the camera, the error values on the screen tell you where the optically-centered pixel is located relative to the center pixel in the imager array. Use those offset values to calculate the new tilt and/or pan target pixels and enter them in to tracking.h or use the interactive tracking menu to set the new values.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
spider foot offset Drew General Forum 8 14-01-2007 02:24
Servo Offset -> Angle conversion bush Programming 11 30-01-2006 13:34
extend offset gondorf General Forum 2 28-01-2006 02:09
a lot of new pictures from the championship Shlomi32 General Forum 1 22-04-2005 21:32
We left our mark on the Epcot lot archiver 2001 1 24-06-2002 03:22


All times are GMT -5. The time now is 04:50.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi