We are working on trying to get the Camera to work in Windriver C++ I have gone through and it seems our problem is different then others.
DS Version: 2010.01.06.00 (which is update 2 I can see the Gyro Dial on dashboard)
cRIO Image: C-2010_v19
I have included #include "Vision/AxisCamera.h" at the beginning of code.
Followed the instructions on page 58 of 2-2010FRCControl%20System-Getting%20Started-Rev-0.7.pdf
Our problem is when we make an instance of AxisCamera using the following code we get communication to the driver station but says "No Robot Code". If I comment out the GetInstance() line it everything runs perfect.
Code:
//printf("Getting camera instance\n");
AxisCamera &camera = AxisCamera::GetInstance();
//printf("Setting camera parameters\n");
//camera.WriteResolution(AxisCamera::kResolution_320x240);
//camera.WriteCompression(20);
//camera.WriteBrightness(0);
GetWatchdog().SetEnabled(true);
while (IsOperatorControl())
{
GetWatchdog().Feed();
Note: I have no other vision code in the code except for what is shown and the include statement at beginning.
We have updated Windriver to "C/C++ Team Update 4.2 2/8/2010"