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.