|
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 !
|