View Single Post
  #5   Spotlight this post!  
Unread 27-01-2006, 15:06
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: Why use the RC to control Pan/Tilt

Quote:
Originally Posted by Kevin Watson
...If I just took the lazy route and used the camera to do the tracking,...
I think Joe was asking why you didn't use the camera's servo outputs, not why you didn't use the camera's automatic tracking firmware.

Your provided code has a small disadvantage: the camera cannot track while the robot is disabled. That keeps robots from finding the goal target light in advance of entering autonomous operation. Using the CMUCam "SV" command instead of the RC pwm output would let robots get a lock before they are enabled to move. We're working on modifying the camera tracking code to do it that way, and I am grateful for the well-documented code.