View Single Post
  #1   Spotlight this post!  
Unread 20-02-2010, 20:31
rath358's Avatar
rath358 rath358 is offline
Registered User
AKA: max
FRC #0093 (NEW Apple Corps)
Team Role: Programmer
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Wisconsin
Posts: 27
rath358 is on a distinguished road
vision causes mega-lag in main loop

We are experiencing some issues with our code. When vision is enabled, the entire system slows up, including all of our code. It happens in teleop and auton, and the problem still exists in the default code.

We put a function in to measure the time between repetitions of the main loop. When vision is off (but camera plugged in), the time is around 40 ms. We still get live image feed. Once we turn vision on, the lag jumps to between 200 and 400 ms.

We have tried disabling all the globals in the main loop (except enable vision), deleting the tracking chart, and running it in every mode, and on different computers. We are running LabView. We have installed the recent LabView updates, and the cRio update.

Any ideas?
Reply With Quote