Like a couple other teams, my team is using WindRiver C++ and are using the following code to connect to the camera:
AxisCamera &camera = AxisCamera::GetInstance("10.20.22.11");
camera.WriteResolution(AxisCamera::kResolution_640x480);
camera.WriteCompression(20);
camera.WriteBrightness(0);
However, we are getting this error at the drive station at startup:
ERROR: S_errno_ECONNREFUSED (0x0000003D): Failed to connect to the camera …in CreateCameraSocket() in C:/WindRiver/workspace/WPILib/Vision/AxisCameraParams.cpp at line 457
We can ping the camera at the IP address 10.20.22.11, but everything else can’t find it. We can’t get to a web interface, the setup axis camera utility can’t find it (because it is expecting the 192.168.0.90 address), and even a utility downloaded directly from Axis, the Axis Camera Management tool, can’t access it.
Is there any way to completely reset the Axis 260 Camera to factory settings and re-set it up?
Thanks in advance.