View Single Post
  #1   Spotlight this post!  
Unread 13-02-2007, 14:48
Zero_Cool Zero_Cool is offline
Registered User
FRC #1208
 
Join Date: Feb 2007
Location: Illinois
Posts: 3
Zero_Cool is an unknown quantity at this point
Question Tracking_state confusion

I have already written a working autonomous code with my team's robot, but I have a small problem that keeps occuring. Our robot will see the light and then a leg of the spider will obstruct the view of the camera, completely eclipsing the light. And if the camera is searching and can not find the light it will use those values and go into destroy mode killing everything around it. How can I use the tracking_state to stop the robot from moving if it doesn't see the light or if it has lost the light? I honestly do not understand the many states of this camera.

Last edited by Zero_Cool : 13-02-2007 at 14:50.