View Single Post
  #5   Spotlight this post!  
Unread 17-02-2012, 01:59
mikets's Avatar
mikets mikets is offline
Software Engineer
FRC #0492 (Titan Robotics)
Team Role: Mentor
 
Join Date: Jan 2010
Rookie Year: 2008
Location: Bellevue, WA
Posts: 667
mikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of lightmikets is a glorious beacon of light
Re: general image tracking commands

Yes, according to the source code of the WPILib, IsFreshImage() returns the member variable m_freshImage. This variable is set by the UpdatePublicImageFromCamera() function in the camera task and cleared when you call GetImage(). So yes, once an image is available, as long as you haven't retrieved it by calling GetImage, it will remain "fresh".
__________________
Reply With Quote