View Single Post
  #15   Spotlight this post!  
Unread 05-03-2009, 21:26
gorrilla's Avatar
gorrilla gorrilla is offline
1557 alumni, 4639 mentor
AKA: adam spears
FRC #4639 (RoboSpartans)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Houston
Posts: 958
gorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant futuregorrilla has a brilliant future
Re: Is anyone using the Camera?

Quote:
Originally Posted by slavik262 View Post
We're having some difficulties with the camera.

It's working, but response time is ridiculously slow (> 0.5 seconds). I'm not quite sure what's causing it. I'm just using the FindColor() function provided in the API, and I even tried to speed that up by allowing multiple calls to use the same image (so that you don't have to get a new image for each call). Still no luck.

The only thing thing that I can think of as the cause is that I'm using a multi-tasking system (the drive train, collector system, and shooter system all have their own tasks, using a buffering system of my design). I don't see how they would be slowing things down to that point, however, as all other tasks have very fast response times ( < 0.05 seconds).

Any ideas what may be the problem?
are you using any sensors?

we have a gyro and accelerometer and 7 motors all running and there's no delay....

is it on a rotating turret?

we had this problem, but solved it by decreasing the speed of the rotation and now it lock on in under .5 second from 6 feet....


although our camera is set to only track pink....
__________________
Adam Spears



Team 1557 2007-2011 student-Lake County FL

Current Team 4639 mentor- Houston TX

Last edited by gorrilla : 05-03-2009 at 21:41.
Reply With Quote