View Single Post
  #7   Spotlight this post!  
Unread 13-03-2012, 09:52
Jay Meldrum's Avatar
Jay Meldrum Jay Meldrum is offline
Registered User
FRC #0067 (H.O.T.)
Team Role: Engineer
 
Join Date: Jan 2012
Rookie Year: 2003
Location: Michigan
Posts: 42
Jay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud ofJay Meldrum has much to be proud of
Re: AxisCamera Question

Quote:
Originally Posted by Greg McKaskle View Post
The big loop will call Get Image and process the latest -- notifiers don't queue. If you set the vision enable global to false, not only will you not call get image, but the refcount system in the Get MJPG will also stop retrieving images. After about fifteen second seconds, the camera will stop sending them entirely.

At that point, simply enabling will result in an error 66 inside the mjpg code.
Greg, I'm not sure if I completely follow you. In the C++ world, the above would only happen if you were to run the deconstructor ~AxisCamera, correct?

If you do not run GetImage() for 15 seconds, you can run it again and still get a new image; at least that's what I've seen from experience.