View Single Post
  #2   Spotlight this post!  
Unread 23-01-2010, 17:49
Steve Warner Steve Warner is offline
Controls / Programming
FRC #0234 (Cyber Blue)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Indiana
Posts: 41
Steve Warner is an unknown quantity at this point
Re: Camera using IterativeRobot class

I think I have an answer to my own question if anyone is interested. The line

AxisCamera &camera = AxisCamera::getInstance

can be put into a function and called repeatedly. The first time it's called it creates a pointer to the camera object and starts the camera app. After that it just returns the same pointer. Seems to works okay.
Reply With Quote