View Single Post
  #4   Spotlight this post!  
Unread 26-01-2012, 02:19
enrique's Avatar
enrique enrique is offline
Registered User
FRC #1251 (Tech Tigers)
Team Role: Electrical
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Florida
Posts: 87
enrique will become famous soon enough
Send a message via Yahoo to enrique
Smile Re: Camera GetImage not getting image

The FRC Dashboard does see the image and vision was able to grab images. I assume vision uses the same api. this is a crio II and the camera is plugged into the router. as far as I can tell I am setting the settings before calling get image. I'm using the periodic style code. ("void TeleopPeriodic(void)"). I was planning to connect to the camera and set the settings in the "void TeleopInit(void)", and then do image processing from TeleopPeriodic. This should have the same affect. I guess I could do the "while (isOperatorControl())"
I will definitely do a new project just with that code to see what happens.

I guess I can try that imaqWriteBMP and write to the "harddrive" and see what happens too.

I will post the results. Thanks
Reply With Quote