View Single Post
  #12   Spotlight this post!  
Unread 15-02-2012, 12:56
VelocityofGear's Avatar
VelocityofGear VelocityofGear is offline
Registered User
FRC #4347 (Mechanical End)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Paterson
Posts: 5
VelocityofGear is an unknown quantity at this point
Re: Extrapolating Direction From Images

Quote:
Originally Posted by juchong View Post
Our solution: use CAN and encoders on the transmission, tune motor PID on the carpet, and tweak autoaim code.
And what auto-aim code are you referring to? There is a rectangular processing sample code? I do not see a auto-aim code... There is one however for tracking using a servo.

The camera is mounted about a axle moved by a drive motor. It is a turret that just rotates in the x direction. By limiting the speed I can not see the motor over-shooting the target.

I am hoping the approach documented by plnyyanks will work as mentioned. It seems like a simpler approach. But I would love to take a look at a screen cap of your code so I can see what you are referring to more precisely.
Reply With Quote