|
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
I would not want the task of devising a system that 50,000 very smart people try to outwit.
|
|