View Single Post
  #4   Spotlight this post!  
Unread 19-03-2010, 12:08
Mentor007's Avatar
Mentor007 Mentor007 is offline
Registered User
AKA: Paul Fleming
FRC #2228 (Cougar Tech)
Team Role: Mentor
 
Join Date: Mar 2008
Rookie Year: 2007
Location: Lima, NY USA
Posts: 15
Mentor007 is an unknown quantity at this point
Re: Code Inefficient?

We had a similar problem at FLR. The solution for us was to add a delay/wait (5 or 50 mS) in our camera code. The system was repeatedly calling the camera routine and without the delay it hogged the processing resources to the point that our teleop controls were not getting attention quickly enough, resulting in troublesome delay in robot response for the drive team. A mentor from Team 1511 was instrumental in helping us solve the problem (Thanks Larry). We are Labview based. Hope this is it !
Reply With Quote