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
|