View Single Post
  #6   Spotlight this post!  
Unread 22-01-2011, 18:03
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: CAMERA CODE HELP!!

Also, note that when you call "getInstance" of the AxisCamera, it initializes and returns a class the first time you do this. If you don't capture this class in a variable and keep it "alive" during the whole of your robot's run, it will get garbage collected and the thread it creates to relay information will be killed.

Last edited by sjspry : 22-01-2011 at 18:16.
Reply With Quote