View Single Post
  #13   Spotlight this post!  
Unread 14-12-2012, 15:11
apples000's Avatar
apples000 apples000 is offline
Registered User
no team
 
Join Date: Mar 2012
Rookie Year: 2012
Location: United States
Posts: 222
apples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant futureapples000 has a brilliant future
Re: Quick Question about Threads

Quote:
Originally Posted by JesseK View Post
Why 100ms?
What happens if your image processor take 10ms to process (for a total loop time of 110ms), but the images still come in at 10Hz (every 100ms)?
Well, we chose 100ms because it is what is used in LabVIEW for the vision loop wait time. Also, when we use the AxisCamera.getInstance.getImage() method it will get the most recent image. Since the images come in faster than 100 ms, there's no way for the loop to grab the same image twice. I'm not sure that this is the best way. I'd like to know if there is a better way to do this.
Reply With Quote