View Single Post
  #7   Spotlight this post!  
Unread 25-01-2010, 14:07
TheDominis TheDominis is offline
Registered User
FRC #2152
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Port Orange, Florida
Posts: 88
TheDominis has a spectacular aura aboutTheDominis has a spectacular aura about
Re: Some Camera Benchmarks

Quote:
Originally Posted by Doug Norman View Post
Just to give some comparison benchmarks, I did some testing In LabVIEW. With compression set to 5, here are the loop rates I got:
640x480 image: loop rate = 8 per second avg
320x240 image: loop rate = 10 per second avg
160x120 image: loop rate = 13 per second avg
This might at least give you an idea of what you should be able to shoot for. A couple of other observations. With compression set to 0, loop rates suffered (expected). Increasing the compression above 5, didn't seem to improve loop rates, but it did affect the ability to find the target.
Does LabView use TCP like C++? This could be one of the issues in C++ as the entire image buffer is written in one write and fragmented into chunks regulated by the MTU. Any missing packets would cause at least some lag.
Reply With Quote