View Single Post
  #2   Spotlight this post!  
Unread 20-01-2013, 00:34
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Axis Camera Speed Control

Use the Rectangular Target - 2013 vision example project. It contains step-by-step directions for adding it to an existing robot project. When you set it up appropriately, it tells you where the center of the target is, right or left of and above or below the center of the video image.

Then you can use the left-right information to decide how much to rotate the robot, and the up-down information to compute how far away the target is.
Reply With Quote