View Single Post
  #14   Spotlight this post!  
Unread 15-02-2012, 16:40
Pirate programe's Avatar
Pirate programe Pirate programe is offline
Registered User
FRC #0354
 
Join Date: Jan 2012
Location: Queens,NY
Posts: 53
Pirate programe is an unknown quantity at this point
Re: Extrapolating Direction From Images

Quote:
Originally Posted by juchong View Post
The overshoot that everyone is noticing with the example above is due to the camera being slightly off and the robot trying to precisely correct. This can be improved by using more case structures which vary the motors' power, instead of having a single power at which the robot will track, but it won't solve the problem.
See, I though this too, but then I noticed that after a while, with the teleop code (in thumbnail)we have can aim rather precisely with the right range, and that the offset was actually coming from, and that the overshoot/wobbling we noticed was actually coming from the targets swapping places in the Target info array.

Granted, it could turn out that we might need to center the camera better to ensure that the center of the camera corresponds to the center of the target, but that seems easy enough to do...
Attached Thumbnails
Click image for larger version

Name:	scrncap.png
Views:	28
Size:	8.3 KB
ID:	11916  
Reply With Quote