Every time we upload the basic camera code to display the camera image on the driver station, we get a “No Robot Code” error. Here is our code:
AxisCamera &camera = AxisCamera::GetInstance();
camera.WriteResolution(AxisCamera::kResolution_640x480);
while (IsOperatorControl()) {
camera.GetImage(image.GetImaqImage());
}
The camera is plugged in correctly. We ran the latest WPILib update (from Feb 17, v4.3) and it worked perfectly. Then, the next day we started getting the “No Robot Code” error again. Nothing was changed. The cRIO is imaged to v19. We’ve redone the update and tried everything else we can think of, but we’re completely stumped. :ahh:
Does anyone have any ideas? Thanks!
Team 102