Our team is attempting to use the Axis 206 camera, hopefully for tracking targets this year. We had issues last year with the camera repeatedly causing the robot to freeze up after a few seconds. At competition, the camera suddenly started working, so long as we called getInstance() ONCE only. We did not have time for vision tracking but were able to view the dashboard image. This year, even with the same code, the camera does not respond whatsoever. The robot overloads with error messages such as the following:
Code:
[cRIO] >>>>ERROR: S_errno_EHOSTDOWN (0x00000043): Failed to connect to the camera ...in CreateCameraSocket() in C:/WindRiver/workspace/WPILib/Vision/AxisCameraParams.cpp at line 457
The error code is sometimes 0x00000044.
We are using 2012 utilities, 2012 cRIO firmware, the camera was configured with the 2012 utility to connect through cRIO port 2 (on the 8-slot cRIO), the camera is receiving appropriate voltage, and the camera works just fine when connected directly to the Classmate.
Using example code from 2010 for tracking, the program supposedly gets "100 images in x seconds", without errors until running for a few seconds. Nothing ever appears on the dashboard.
Google found one or two teams that had similar errors (difference being "EHOSTDOWN"/error-code), but no solutions.
Any ideas?