Hey guys-
We have updated our cRIO and Windriver to the latest versions, but we can’t get the Axis M1011 camera to display. We have tried using the Default 2010 Vision code, hoping it would work, but it doesn’t.
We have configured the camera correctly, to no avail.
Any ideas?
The words “latest” and “correctly” carry no useful meaning. We can’t know that you have the right version or that you got the configuration right.
What version of the Driver Station and cRIO image are you running? They’re displayed for diagnostic purposes on the Driver Station screen.
What instructions did you follow to set up your camera?
Where do you have the camera connected, and with what cable?
We used this Windriver Update and this cRIO image-
http://firstforge.wpi.edu/sf/frs/do/viewRelease/projects.wpilib/frs.wpilib_c_version_11_0_for_2011_f.frc_c_wpilib_update_for_2011_f_0
We followed these instructions for setting up the camera-
http://www.usfirst.org/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info/2011_Assets/Kit_of_Parts/How_to_Configure_Your_Camera.pdf
We are using the 2010 classmate for our DS, using this update-
http://joule.ni.com/nidu/cds/view/p/id/2263
And we are directly connecting the camera to the cRIO, on port 2, with the provided crossover cable.
We know that both the cable and the camera work, as we can view the stream from the live view.
What IP address did you use to connect to the camera in order to view the stream?
Any answer to your question?
We are looking for that too.
Our camera was working before we reimaged the cRIO with the update (mandatory, in Team Update # 7, the same one the OP used). Now, it’s not working (no image on the driver station).
As far as we can tell neither the code nor the hardware has changed since we last used the camera successfully, so I am inclined to point the finger at the update. I would like to hear from any other teams who had the camera working before the update, but now have trouble.
Nighterfighter, did your camera work before you updated to the latest cRIO image?
By the way, our camera’s ethernet is plugged into port 2 and all that jazz…the green and orange light are both solid, however. The radio ethernet port’s orange light is blinking and I’m wondering if the camera port’s orange light is supposed to be doing likewise: does anyone know? We didn’t think to check the lights when the camera was actually working.
Edit: nevermind, apparently something went wrong the first time I reimaged the cRIO [although it subsequently said it was running the proper image, v. 27…]. I reimaged it again and now the camera works.
We were having problems with our M1011 camera. Our programming environment is C++ and the robot code would crash almost everytime we’d try something with the camera. There is a good description of our problem in this thread:
Our solution was to get the Vision.zip from WPIForge (link provide in that thread) and rebuild the rev2259 library. There is a good step by step of how to do this in the thread. This worked for us. No more code crashes. I sure hope those patches go into a new update of WPILib.