View Single Post
  #4   Spotlight this post!  
Unread 12-01-2010, 22:43
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Camera programing

I am sure (and I think it was said at kickoff) that NI will be giving us code for sensing and tracking the targets, just like last year. And also like last year, it was pretty helpful but also open to what we could do with it. So we tried calculating the size of the target as sensed by the camera. The smaller the target is, the farther away it must be. At least last year, it was pretty easy to figure out the size of the sensed target. From there, we did some tests and figured out how big the target was compared to how far away it actually was. Once we knew that, we set up something that would convert this in our programming.
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote