|
Re: freshImage() routine anomaly
JHersh, thanks for the reply. We finally figured it out. freshImage() is indeed working correctly.
At first, the problem was that our processing loop was running very long compared to the camera refresh rate. In that circumstance, of course, freshImage() would always return true.
Then, we commented out all the processing code -- including getImage(). We didn't realize that it was the call to getImage() had a side-effect that impacts freshImage(). Once we put the call to getImage() back into the code, a subsequent call to freshImage() indeed returned false.
Our apologies if we confused anyone. freshImage() has NO anomoalous behavior.
|