View Single Post
  #1   Spotlight this post!  
Unread 20-03-2006, 21:01
Neo3One3 Neo3One3 is offline
Registered User
AKA: Nick
FRC #0175 (Buzz)
Team Role: Driver
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Enfield, CT
Posts: 21
Neo3One3 is a name known to allNeo3One3 is a name known to allNeo3One3 is a name known to allNeo3One3 is a name known to allNeo3One3 is a name known to allNeo3One3 is a name known to all
Changing the search pattern

Hey, I wanted to tell a problem that I've had with the CMU Cam, and hopefully want to hear a way to fix it, if anyone can help, thanks!

I'll try to explain it best as I can, bear with me...

When the search pattern for the camera starts, it is in the lower left position, and it goes across that level in a certain number of intervals, which can be set to whatever I'd like. However, when moving up to the next level, it goes from the bottom right position to the middle left, and the problem is, if the camera sees the light (red light turns on) in the process of moving from the bottom right to the middle left, it loses it by the time it actually sweeps all the way to the middle left position, so it then starts the search pattern from the bottom left position again.

As you can see, this is an endless loop, that can be a problem at times. Does anyone know how to change the search pattern so that instead of moving from the bottom right position to the middle left, it moves to the middle right? That would solve the problem. I've looked through the code a bit, mostly in tracking.c, but didn't really see much, though I'm still looking. Just wanted to know if anyone has already had this problem and solved it.
__________________

Go Buzz!