View Single Post
  #15   Spotlight this post!  
Unread 01-27-2016, 11:05 AM
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: More Vision questions

I have a general algorithm for you. Mind you, it requires an encoder or gyro, depending on what you're moving (turret or robot).

Step 1: Use camera to acquire angle relative to shooter.
Step 2: Use Encoder/Gyro to turn that angle (or close to it).
Step 3: Use camera to check new angle relative to shooter.
If angle requires more adjustment, GOTO Step 2. Else, continue to Step 4.
Step 4: FIRE!
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.