View Single Post
  #6   Spotlight this post!  
Unread 13-03-2012, 08:39
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,753
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: AxisCamera Question

The descriptions here are pretty accurate, but it changed this year. To go into a bit more detail, in vision processing, there is an icon to the left that retrieves the mjpg stream as the images come in and posts them to anyone that has the same notifier. 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. If you intend to enable and disable the camera during the match, you may need a version that handles that error.

Greg Mckaskle