View Single Post
  #5   Spotlight this post!  
Unread 20-03-2012, 21:44
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: exposure periods

Quote:
Originally Posted by wireties View Post
we do exactly that and we normally are not moving the robot - the problem is that the first capture occurs, we tell the turret to move and (we think) the turret might be moving when the next capture occurs - we can always force the sequence I guess

thanks
Ah, I see. We get around that by turning off vision altogether once we have a verified target locked in. We save the values into another global variable, then zero out the target array and turn off vision entirely.

In fact, the only time vision turns on is when the shoot button is pushed, and then only for 3 frames (the number of frames we've decided we want to check to insure we see the target in the right location).