View Single Post
  #1   Spotlight this post!  
Unread 06-02-2010, 14:05
boya3706 boya3706 is offline
Registered User
FRC #0020
 
Join Date: Feb 2010
Location: Cohoes NY
Posts: 5
boya3706 is an unknown quantity at this point
freshImage() routine anomaly

We need an asynchronous method of checking (from Java) to see that a new a new image is available from the camera. The documentation implies that the method freshImage() serves that purpose. However, it does NOT.

The documentation for the freshImage() method in the AxisCamera class says that its return value should be "true if the latest image from the camera has not been retrieved yet". The implication is that the return value will sometimes be false. However, our observation is that freshImage() always returns a value of true -- evidently because it actually waits for AxisCamera to have a new image.

Is there an asynchronous method (from Java) of checking that a new image is available from the camera?