Quote:
Originally Posted by JesseK
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.